alei1206 opened a new issue, #15460: URL: https://github.com/apache/dolphinscheduler/issues/15460
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues. ### What happened I think, In the `org.apache.dolphinscheduler.server.master.registry.ServerNodeManager#updateWorkerNodes()` method, updating the work information should use the `workerNodeInfoWriteLock` lock, not the `workerGroupWriteLock`. In this method, we not update `workerGroupNodes` cache.  ### What you expected to happen Update `workerNodeInfo` cache with `workerNodeInfoWriteLock` instead of the `workerGroupWriteLock` ### How to reproduce Code location: `org.apache.dolphinscheduler.server.master.registry.ServerNodeManager#updateWorkerNodes()` ### Anything else _No response_ ### Version 3.2.x ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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]
