mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 21:28:00 +08:00
fix comment error (#1446)
This commit is contained in:
parent
a1ded5ee04
commit
9a3a6f5a3d
@ -101,7 +101,7 @@ public class MasterSchedulerThread implements Runnable {
|
||||
if(OSUtils.checkResource(masterConfig.getMasterMaxCpuloadAvg(), masterConfig.getMasterReservedMemory())){
|
||||
if (zkMasterClient.getZkClient().getState() == CuratorFrameworkState.STARTED) {
|
||||
|
||||
// create distributed lock with the root node path of the lock space as /dolphinscheduler/lock/failover/master
|
||||
// create distributed lock with the root node path of the lock space as /dolphinscheduler/lock/masters
|
||||
String znodeLock = zkMasterClient.getMasterLockPath();
|
||||
|
||||
mutex = new InterProcessMutex(zkMasterClient.getZkClient(), znodeLock);
|
||||
|
Loading…
Reference in New Issue
Block a user