diff options
author | A. Jesse Jiryu Davis <jesse@mongodb.com> | 2020-11-02 17:05:22 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-11-02 22:30:45 +0000 |
commit | 72aacd4ffaf6500777a8a51f87b0797f8ea8ad0b (patch) | |
tree | 5de4d7a82905d9d0fe9961b52b768d5bb86de5c3 /src/mongo/db/repl/replication_coordinator_impl.h | |
parent | 12646ec5380bcc0dc10c66069a6583c653683922 (diff) | |
download | mongo-72aacd4ffaf6500777a8a51f87b0797f8ea8ad0b.tar.gz |
SERVER-33747 Fix crash when arbiter restarts and enters REMOVED
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_impl.h')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl.h b/src/mongo/db/repl/replication_coordinator_impl.h index e73f0516de0..8fc2ff35480 100644 --- a/src/mongo/db/repl/replication_coordinator_impl.h +++ b/src/mongo/db/repl/replication_coordinator_impl.h @@ -1658,6 +1658,8 @@ private: // here so we can update our term to match as part of finishing stepdown. boost::optional<long long> _pendingTermUpdateDuringStepDown; // (M) + AtomicWord<bool> _startedSteadyStateReplication{false}; + // If we're in terminal shutdown. If true, we'll refuse to vote in elections. bool _inTerminalShutdown = false; // (M) |