diff options
author | Allison Easton <allison.easton@mongodb.com> | 2023-03-03 11:04:38 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-03-03 13:42:16 +0000 |
commit | 91f1168d42b88244463ec344395446d3a6e42522 (patch) | |
tree | 2e2f086336c6fd225cccf597702fab0243ea37a3 /src/mongo/s/chunk_version.h | |
parent | 3baa95b8fc71d1c8b62e678463d5dbfc169e7fab (diff) | |
download | mongo-91f1168d42b88244463ec344395446d3a6e42522.tar.gz |
SERVER-70383 Rename shard version functions and parameters that are actually placement versions
Diffstat (limited to 'src/mongo/s/chunk_version.h')
-rw-r--r-- | src/mongo/s/chunk_version.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/chunk_version.h b/src/mongo/s/chunk_version.h index a4fcb619f61..158caea2699 100644 --- a/src/mongo/s/chunk_version.h +++ b/src/mongo/s/chunk_version.h @@ -118,9 +118,9 @@ protected: * Version configurations (format: major version, epoch): * * 1. (0, 0) - collection is dropped. - * 2. (0, n), n > 0 - applicable only to shardVersion; shard has no chunk. + * 2. (0, n), n > 0 - applicable only to shard placement version; shard has no chunk. * 3. (n, 0), n > 0 - invalid configuration. - * 4. (n, m), n > 0, m > 0 - normal sharded collection version. + * 4. (n, m), n > 0, m > 0 - normal sharded collection placement version. */ class ChunkVersion : public CollectionGeneration, public CollectionPlacement { public: @@ -143,7 +143,7 @@ public: } /** - * Indicates that the shard version checking must be skipped. + * Indicates that placement version checking must be skipped. */ static ChunkVersion IGNORED() { return ChunkVersion(CollectionGeneration::IGNORED(), {0, 0}); |