diff options
author | Suganthi Mani <suganthi.mani@mongodb.com> | 2020-03-09 17:11:01 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-03-09 22:56:34 +0000 |
commit | 83b4367daba1395aaf09f157db7edff3b2fd7431 (patch) | |
tree | 9944fa24dd37eb9c05789dd9c8c1f671dc689e37 /src/mongo/db/repl_index_build_state.h | |
parent | 62c56c44fb107c2ff34a0752e8f254b263e4f630 (diff) | |
download | mongo-83b4367daba1395aaf09f157db7edff3b2fd7431.tar.gz |
SERVER-46734 Disable the index state transition check.
Diffstat (limited to 'src/mongo/db/repl_index_build_state.h')
-rw-r--r-- | src/mongo/db/repl_index_build_state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/repl_index_build_state.h b/src/mongo/db/repl_index_build_state.h index f5f7023b660..816eb4a7c11 100644 --- a/src/mongo/db/repl_index_build_state.h +++ b/src/mongo/db/repl_index_build_state.h @@ -138,6 +138,8 @@ public: bool skipCheck, boost::optional<Timestamp> timestamp = boost::none, boost::optional<std::string> abortReason = boost::none) { + // TODO SERVER-46560: Should remove the hard-coded value skipCheck 'true'. + skipCheck = true; if (!skipCheck) { invariant(checkIfValidTransition(state), str::stream() << "current state :" << toString(_state) |