Gitesg commented on issue #3819: URL: https://github.com/apache/dubbo-go/issues/3819#issuecomment-6908368006
Hi @Alanxtl, I'd like to work on this issue. I've reproduced the race locally using go test -race -count=5 -run TestListener ./config_center/apollo/. From what I've investigated so far, OnNewestChange iterates over the listeners map while AddListener and RemoveListener modify it concurrently. I plan to investigate the listener map's synchronization and callback lifecycle, then address the test-side races as well. Let me know if you have any concerns with this approach. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
