summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-02-09 19:46:28 -0500
committerGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-02-09 19:56:09 -0500
commitb158ba464eeafb2d6b34df20cbd75020c3e62045 (patch)
tree78904e40396ace1c8f06941fdb6134d83e89a684
parenteb1e30426a83b276f5bbdb89ac21d7b7571a6293 (diff)
downloadmongo-b158ba464eeafb2d6b34df20cbd75020c3e62045.tar.gz
SERVER-37979 Remove prepareIndexBuild from IndexBuildEntry
-rw-r--r--src/mongo/db/catalog/index_build_entry.idl8
-rw-r--r--src/mongo/db/repl_index_build_state.h4
2 files changed, 0 insertions, 12 deletions
diff --git a/src/mongo/db/catalog/index_build_entry.idl b/src/mongo/db/catalog/index_build_entry.idl
index 9e54b3a1cb9..00b5b0ed9b6 100644
--- a/src/mongo/db/catalog/index_build_entry.idl
+++ b/src/mongo/db/catalog/index_build_entry.idl
@@ -62,14 +62,6 @@ structs:
type: array<string>
description: "An array of index names associated with this particular cross replica
set index build."
- prepareIndexBuild:
- optional: false
- type: bool
- default: false
- description: "Indicates that the primary has entered the commit phase, and
- secondaries are allowed to proceed with the index constraint
- violations resolution phase when ready and then send
- voteCommitIndexBuild."
commitReadyMembers:
optional: true
type: array<HostAndPort>
diff --git a/src/mongo/db/repl_index_build_state.h b/src/mongo/db/repl_index_build_state.h
index 57f4a4c1d92..d21c2916a07 100644
--- a/src/mongo/db/repl_index_build_state.h
+++ b/src/mongo/db/repl_index_build_state.h
@@ -100,10 +100,6 @@ struct ReplIndexBuildState {
// allowed to commit.
WriteConcernOptions commitQuorum;
- // Whether or not the primary replica set member has signaled that it is okay to go ahead and
- // verify index constraint violations have gone away.
- bool prepareIndexBuild = false;
-
// Tracks the members of the replica set that have finished building the index(es) and are ready
// to commit the index(es).
std::vector<HostAndPort> commitReadyMembers;