Merge branch 'dev' into dev
This commit is contained in:
commit
8e0dbe2a3e
|
|
@ -245,7 +245,7 @@ public class ServerNodeManager implements InitializingBean {
|
|||
}
|
||||
|
||||
private void updateWorkerNodes() {
|
||||
workerGroupWriteLock.lock();
|
||||
workerNodeInfoWriteLock.lock();
|
||||
try {
|
||||
Map<String, String> workerNodeMaps = registryClient.getServerMaps(RegistryNodeType.WORKER);
|
||||
for (Map.Entry<String, String> entry : workerNodeMaps.entrySet()) {
|
||||
|
|
@ -254,7 +254,7 @@ public class ServerNodeManager implements InitializingBean {
|
|||
workerNodeInfo.put(nodeAddress, workerHeartBeat);
|
||||
}
|
||||
} finally {
|
||||
workerGroupWriteLock.unlock();
|
||||
workerNodeInfoWriteLock.unlock();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue