diff options
Diffstat (limited to 'src/mongo/s/chunk_version.h')
-rw-r--r-- | src/mongo/s/chunk_version.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/s/chunk_version.h b/src/mongo/s/chunk_version.h index cdc266fd613..669ee812c44 100644 --- a/src/mongo/s/chunk_version.h +++ b/src/mongo/s/chunk_version.h @@ -51,6 +51,12 @@ class StatusWith; */ struct ChunkVersion { public: + /** + * The name for the shard version information field, which shard-aware commands should include + * if they want to convey shard version. + */ + static const char kShardVersionField[]; + ChunkVersion() : _combined(0), _epoch(OID()) {} ChunkVersion(int major, int minor, const OID& epoch) |