diff options
author | Vesselina Ratcheva <31660559+vessy-mongodb@users.noreply.github.com> | 2022-04-21 19:08:23 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-04-21 19:45:34 +0000 |
commit | 14e04b0acc27f7d7092eb93bf1b2666c50226d06 (patch) | |
tree | d40cda1e2cb6859e28899646e5e05acd38a22087 /src/mongo/db/s/user_writes_recoverable_critical_section_service.cpp | |
parent | 8f8616c7deca0d2c12539fbaab4fddf757b006ad (diff) | |
download | mongo-14e04b0acc27f7d7092eb93bf1b2666c50226d06.tar.gz |
SERVER-64627 Refactor onInitialSyncComplete and onStartupRecoveryComplete into new sharding hook that also works with FCBIS
Diffstat (limited to 'src/mongo/db/s/user_writes_recoverable_critical_section_service.cpp')
-rw-r--r-- | src/mongo/db/s/user_writes_recoverable_critical_section_service.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/s/user_writes_recoverable_critical_section_service.cpp b/src/mongo/db/s/user_writes_recoverable_critical_section_service.cpp index 5aec4a6521f..6e15c008f19 100644 --- a/src/mongo/db/s/user_writes_recoverable_critical_section_service.cpp +++ b/src/mongo/db/s/user_writes_recoverable_critical_section_service.cpp @@ -53,7 +53,7 @@ bool inRecoveryMode(OperationContext* opCtx) { } const auto memberState = replCoord->getMemberState(); - return memberState.startup() || memberState.startup2() || memberState.rollback(); + return memberState.startup2() || memberState.rollback(); } } // namespace user_writes_recoverable_critical_section_util |