Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

热更新配置触发listener阻塞 #12306

Closed
knowyi opened this issue Jul 3, 2024 · 3 comments
Closed

热更新配置触发listener阻塞 #12306

knowyi opened this issue Jul 3, 2024 · 3 comments
Labels
status/invalid This doesn't seem right

Comments

@knowyi
Copy link

knowyi commented Jul 3, 2024

Yesterday at 16:13, the production team made modifications to the Nacos configuration. At that time, during peak business hours, they kept prompting that the listener was not finished yet, will try next time, And afterwards, the service instance survived but was not available, and the final restart did not prompt the listener to be not finished yet, will try next time。 I'm not sure if the unavailability of the service was caused by this error. Today, in a pressure test scenario, I returned to modify the nacos configuration and finally reproduced this error. However, the service can still request normally

场景描述:
昨天16:13生产修改nacos配置,当时业务高峰期修改后一直提示listener is not finish yet,will try next time,并且之后服务实例存活,但是不可用,最终重启不在提示listener is not finish yet,will try next time。不确定服务不可用是否是这个错误导致。今天在压测场景下,不停修改nacos配置,触发热更新,最终重现这个报错,服务目前还是可以正常请求。
image

压测场景 jstack打出了线程堆栈
thread_dump.txt

How to Reproduce
Steps to reproduce the behavior:
Simulate high concurrency scenarios during pressure testing and continuously modify the nacos configuration to generate heat updates

Desktop (please complete the following information):

  • OS: Centos
  • Version [ nacos-server 2.2.3]
  • Module config
  • SDK spring-cloud-alibaba-nacos 2.2.9.RELEASE
@knowyi
Copy link
Author

knowyi commented Jul 3, 2024

我在这个issue #10033 也看到了相同的问题 不知道是否已经解决?

@KomachiSion KomachiSion added the status/invalid This doesn't seem right label Jul 8, 2024
@KomachiSion
Copy link
Collaborator

listener是由您自行实现的, 如果listener内部有阻塞操作,需要您自行进行阻塞的异步化处理或消除阻塞。此问题非Nacos的问题。

如果您的listener是由应用框架实现的, 请提交issue到应用框架中询问是否修复。

@KomachiSion KomachiSion closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2024
@knowyi
Copy link
Author

knowyi commented Jul 8, 2024

listener是由您自行实现的, 如果listener内部有阻塞操作,需要您自行进行阻塞的异步化处理或消除阻塞。此问题非Nacos的问题。

如果您的listener是由应用框架实现的, 请提交issue到应用框架中询问是否修复。

我没有明白这个问题,我用的是spring-cloud-alibaba-nacos 你的意思是@RefreshScope的问题吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants