Skip to content

Derby 和 MySQL 数据库在部分配置发布场景下表现不一致 #13810

@Sunrisea

Description

@Sunrisea

Describe the bug
当配置已经存在时,调用ConfigInfoPersistService.addConfigInfo方法时 MySQL 和 Derby 数据库表现不一致, Derby 数据库数据库插入失败后不会抛出异常,导致方法调用方认为配置发布成功

Image

Expected behavior
A clear and concise description of what you expected to happen.

Actually behavior
A clear and concise description of what you actually to happen.

How to Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See errors

Desktop (please complete the following information):

  • OS: [e.g. Centos]
  • Version [e.g. nacos-server 1.3.1, nacos-client 1.3.1]
  • Module [e.g. naming/config]
  • SDK [e.g. original, spring-cloud-alibaba-nacos, dubbo]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions