Namespace记录重复
#3838
-
|
Beta Was this translation helpful? Give feedback.
Answered by
Anilople
Jul 23, 2021
Replies: 1 comment 1 reply
-
从admin-service的源码来看 并发场景下,确实有可能创建出2个同名的namespace,因为只是单机的如果不存在才添加 分布式场景或者并发场景下,是可能会出现这个问题的 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Anilople
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
从admin-service的源码来看
https://github.com/ctripcorp/apollo/blob/f9c69dbb181e9cb6c5cb0ee08ae915a52430c23a/apollo-adminservice/src/main/java/com/ctrip/framework/apollo/adminservice/controller/NamespaceController.java#L47-L56
并发场景下,确实有可能创建出2个同名的namespace,因为只是单机的如果不存在才添加
分布式场景或者并发场景下,是可能会出现这个问题的