summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk_version.idl
diff options
context:
space:
mode:
authorSimon Graetzer <simon.gratzer@mongodb.com>2021-06-15 10:39:32 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-06-15 11:25:45 +0000
commit335f39070b2dbb16f25aebea96d365ecebcb5a10 (patch)
tree1f0e1454f1d820d80bca524350c475d66f48c303 /src/mongo/s/chunk_version.idl
parentd7ea9eaf3cf9195f6f9e102fca4cb9967279d9c8 (diff)
downloadmongo-335f39070b2dbb16f25aebea96d365ecebcb5a10.tar.gz
SERVER-56840 IDLify _configsvrCommitChunkMerge command
Diffstat (limited to 'src/mongo/s/chunk_version.idl')
-rw-r--r--src/mongo/s/chunk_version.idl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/chunk_version.idl b/src/mongo/s/chunk_version.idl
index ee33893468b..82ea4f5333c 100644
--- a/src/mongo/s/chunk_version.idl
+++ b/src/mongo/s/chunk_version.idl
@@ -34,6 +34,8 @@ global:
- "mongo/s/chunk_version.h"
types:
+ # serializes as { 0: <major/minor>, 1: <epoch>, 2: <timestamp> }
+ # equivalent to using ChunkVersion::toBSON / ChunkVersion::fromBSON
ChunkVersion:
bson_serialization_type: object
description: An object representing a chunk version for a collection.