apolloconfig / agollo

🚀Go client for ctrip/apollo (https://github.com/apolloconfig/apollo)
https://www.apolloconfig.com
Apache License 2.0
708 stars 189 forks source link

创建一个新的 namesapce,但是不在 namespace 下添加任何配置文件,该 Config 的 isInit 会一直是 false #288

Closed qdsordinarydream closed 9 months ago

qdsordinarydream commented 1 year ago

请简单描述bug的场景 创建一个新的 namesapce,但是不在 namespace 下添加任何配置文件,该 Config 的 isInit 会一直是 false,但其实 apollo 已经回调触发过了,这个时候程序去用 GetIsInit 方法监听会永久阻塞

如何重现 image 如上,创建命名空间,不新增任何配置文件

再现行为的步骤:

期望 既然 apollo service 已经回调过了,那么代表该 namespace 已经 init,即使其是空的

截图 image

Agollo 版本 :

日志信息

其他上下文

stale[bot] commented 10 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.