g0715158 opened a new pull request #321: URL: https://github.com/apache/pulsar-manager/pull/321
… bundle will have a primary key conflict error *(If this PR fixes a github issue, please add `Fixes #<xyz>`.)* Fixes #<xyz> *(or if this PR is one task of a github issue, please add `Master Issue: #<xyz>` to link to the master issue.)* Master Issue: #<xyz> ### Motivation *Explain here the context, and why you're making that change. What is the problem you're trying to solve.* ### Modifications 每次插入namespace是都先通过租户和namespace做一次存在校验 ### Verifying this change - [ ] Make sure that the change passes the `./gradlew build` checks. NamespaceEntity entity = namespacesMapper.findByTenantNamespace(namespacesEntity.getTenant(),namespacesEntity.getNamespace()); if (entity!=null){ return 0; } ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org