diff options
author | Matthew Saltz <matthew.saltz@mongodb.com> | 2018-06-26 11:35:03 -0400 |
---|---|---|
committer | Matthew Saltz <matthew.saltz@mongodb.com> | 2018-06-28 12:33:50 -0400 |
commit | 7dbed352edc78f63f423dc08ae9ff860197146ab (patch) | |
tree | 1407503c350e6f4d6abc460736266d3aa63f96db /src/mongo/db/s/chunk_split_state_driver.h | |
parent | 5b961ed875f51c6f2f26556ffe08e2d2bfce7dc0 (diff) | |
download | mongo-7dbed352edc78f63f423dc08ae9ff860197146ab.tar.gz |
SERVER-35796 Change invariant in ChunkSplitStateDriver::_getWritesTracker to uassert
Diffstat (limited to 'src/mongo/db/s/chunk_split_state_driver.h')
-rw-r--r-- | src/mongo/db/s/chunk_split_state_driver.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mongo/db/s/chunk_split_state_driver.h b/src/mongo/db/s/chunk_split_state_driver.h index 427f3cda056..b1954a7f9c9 100644 --- a/src/mongo/db/s/chunk_split_state_driver.h +++ b/src/mongo/db/s/chunk_split_state_driver.h @@ -86,13 +86,6 @@ public: */ void commitSplit(); - /** - * Marks the split state of an in-progress split back to kNotSplitting. - * If a split has already been prepared, resets the byte counter to what it - * was prior to prepare plus any new bytes that have been written. - */ - void cancelSplit(); - private: /** * Should only be used by tryInitiateSplit @@ -119,13 +112,6 @@ private: kSplitPrepared, kSplitCommitted, } _splitState{SplitState::kNotSplitting}; - - - /** - * Returns the ChunkWritesTracker whose state this driver is controlling, - * checking to make sure it has not yet been destroyed. - */ - std::shared_ptr<ChunkWritesTracker> _getWritesTracker(); }; } // namespace mongo |