mirror of
https://github.com/XTXMarkets/ternfs.git
synced 2026-05-03 16:29:34 -05:00
logsdb: temporarily disable leader election
This commit is contained in:
+2
-1
@@ -710,7 +710,8 @@ public:
|
||||
_electionState->lastReleased = _metadata.getLastReleased();
|
||||
_leaderLastActive = now;
|
||||
|
||||
if (unlikely(_noReplication)) {
|
||||
//if (unlikely(_noReplication)) {
|
||||
{
|
||||
LOG_INFO(_env,"ForceLeader set, skipping to confirming leader phase");
|
||||
_electionState->requestIds.fill(ReqResp::CONFIRMED_REQ_ID);
|
||||
_tryBecomeLeader();
|
||||
|
||||
Reference in New Issue
Block a user