diff options
author | Sergi Mateo Bellido <sergi.mateo-bellido@mongodb.com> | 2020-12-15 10:42:56 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-12-17 16:08:39 +0000 |
commit | 615e6e2f2c878277441e353c84f4d17d17205018 (patch) | |
tree | e05acbf580d70300524bc130150734377926adfe /src/mongo/s/chunk_version.h | |
parent | 42dae28cbff75e5e71199bdb6946673fc61b3436 (diff) | |
download | mongo-615e6e2f2c878277441e353c84f4d17d17205018.tar.gz |
SERVER-53093 Add timestamp to ChunkVersion
PART 4: Adding persistence to the Timestamp of a ChunkVersion
Diffstat (limited to 'src/mongo/s/chunk_version.h')
-rw-r--r-- | src/mongo/s/chunk_version.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/chunk_version.h b/src/mongo/s/chunk_version.h index fe09645e9b8..68f430ef026 100644 --- a/src/mongo/s/chunk_version.h +++ b/src/mongo/s/chunk_version.h @@ -239,13 +239,13 @@ public: private: uint64_t _combined; OID _epoch; - boost::optional<Timestamp> _timestamp; - // Temporary flag to indicate shards that a router is able to process and retry multi-write // operations // // TODO (SERVER-53099): Once 5.0 is last stable, get rid of this field bool _canThrowSSVOnIgnored{false}; + + boost::optional<Timestamp> _timestamp; }; inline std::ostream& operator<<(std::ostream& s, const ChunkVersion& v) { |