diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2020-04-09 20:27:15 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-20 22:53:33 +0000 |
commit | b957b68205fbf672867cf68e30c0744ac5abfb9f (patch) | |
tree | 3cfc9b7cb90f2082b905f87701ab92d87d5297cc /src/mongo/db/repl_index_build_state.h | |
parent | 41bec612516c3258984deaa022453d6721bcd542 (diff) | |
download | mongo-b957b68205fbf672867cf68e30c0744ac5abfb9f.tar.gz |
SERVER-46659 Initial sync will startup two phase index builds during the collection cloning phase to prevent a scenario where the commit quorum cannot be satisfied due to the primary node needing the initial syncing nodes vote
Diffstat (limited to 'src/mongo/db/repl_index_build_state.h')
-rw-r--r-- | src/mongo/db/repl_index_build_state.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/repl_index_build_state.h b/src/mongo/db/repl_index_build_state.h index 7b1fd07bf7f..f0becd468a8 100644 --- a/src/mongo/db/repl_index_build_state.h +++ b/src/mongo/db/repl_index_build_state.h @@ -81,6 +81,10 @@ enum class IndexBuildAction { */ kRollbackAbort, /** + * Abort signal set on initial sync. + */ + kInitialSyncAbort, + /** * Abort signal set by createIndexes cmd or by drop databases/collections/indexes cmds */ kPrimaryAbort, |