diff options
author | Eric Milkie <milkie@10gen.com> | 2015-08-17 10:00:46 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2015-08-17 10:00:46 -0400 |
commit | e4cecb7d0dcf61cf16cba96414f99fc5ca097727 (patch) | |
tree | d06b50c77dc27cf9c8169d30c580a7cc10a0f044 /src/mongo/s/chunk_manager.h | |
parent | 01f2a40e331d519e4875ce6be2d1416994ca0e18 (diff) | |
download | mongo-e4cecb7d0dcf61cf16cba96414f99fc5ca097727.tar.gz |
Revert "SERVER-19736 Add opTime invariant checks when updating cached config server data"
This reverts commit 2a0c88b48eb28231b6bfe81b6b717ceafdece0a6.
Diffstat (limited to 'src/mongo/s/chunk_manager.h')
-rw-r--r-- | src/mongo/s/chunk_manager.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/mongo/s/chunk_manager.h b/src/mongo/s/chunk_manager.h index c640bf26ed9..0ca94237920 100644 --- a/src/mongo/s/chunk_manager.h +++ b/src/mongo/s/chunk_manager.h @@ -32,10 +32,9 @@ #include <string> #include <vector> -#include "mongo/db/repl/optime.h" +#include "mongo/util/concurrency/ticketholder.h" #include "mongo/s/chunk.h" #include "mongo/s/shard_key_pattern.h" -#include "mongo/util/concurrency/ticketholder.h" namespace mongo { @@ -244,11 +243,6 @@ public: std::shared_ptr<ChunkManager> reload(OperationContext* txn, bool force = true) const; // doesn't modify self! - /** - * Returns the opTime of config server the last time chunks were loaded. - */ - repl::OpTime getConfigOpTime() const; - private: // returns true if load was consistent bool _load(OperationContext* txn, @@ -279,9 +273,6 @@ private: // Max version across all chunks ChunkVersion _version; - // OpTime of config server the last time chunks were loaded. - repl::OpTime _configOpTime; - // // Split Heuristic info // |