summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk_version.h
diff options
context:
space:
mode:
authorSergi Mateo Bellido <sergi.mateo-bellido@mongodb.com>2020-12-15 10:42:56 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-12-17 16:08:39 +0000
commit615e6e2f2c878277441e353c84f4d17d17205018 (patch)
treee05acbf580d70300524bc130150734377926adfe /src/mongo/s/chunk_version.h
parent42dae28cbff75e5e71199bdb6946673fc61b3436 (diff)
downloadmongo-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.h4
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) {