fallintoplace opened a new issue, #3332: URL: https://github.com/apache/dubbo-go/issues/3332
### What happened BaseConfigurationListener keeps configurators in a plain slice. Config center callbacks can call Process and replace that slice while protocol or directory override paths call Configurators or OverrideUrl and read or iterate the same slice. ### Impact Concurrent dynamic config updates and provider or consumer override handling can trigger a data race on the configurator slice. This is a remaining focused race case related to #3247. ### Expected behavior BaseConfigurationListener should guard configurator updates and expose read-only snapshots to callers, so override paths never iterate a slice while it is being replaced. ### Reproduction idea Run a race test that concurrently calls Process with update/delete events while other goroutines call Configurators and OverrideUrl. -- 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]
