You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions.
描述bug
properties类型文件,在自定义监听器ConfigChangeListener#onChange中调用ConfigFile.getContent获取的内容是上一次修改的旧值。
调试源码发现顺序是先调用监听器ConfigChangeListener#onChange,然后在调用AbstractConfigFile#onRepositoryChange来实现newProperties的赋值,所以会有这个问题,如果顺序调转下就没问题了,不清楚apollo就是这样设计的还是bug
复现
通过如下步骤可以复现:
期望
获取到最新的值
截图
额外的细节和日志
The text was updated successfully, but these errors were encountered: