Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
qifanwang committed Sep 18, 2024
1 parent 49d6106 commit cd180a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ public void sync() {
needProcess.addAll(dcs);
needProcess.add(currentDc);
} else {
if(consoleLeaderElector.amILeader()) {
if(consoleLeaderElector.amILeader() && !consoleConfig.disableDb()) {
needProcess.add(currentDc);
}
}
Expand Down

0 comments on commit cd180a6

Please sign in to comment.