diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2022-05-20 06:20:06 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-20 07:08:31 +0000 |
commit | 0aac74df39ccdca0f74a8706d362afc7484f867d (patch) | |
tree | e620b0fe144f63c72de3c63af22e00240725b802 /src/mongo/db | |
parent | c5262e4afae7943510bd5d0be80fa11eb0208916 (diff) | |
download | mongo-0aac74df39ccdca0f74a8706d362afc7484f867d.tar.gz |
SERVER-65530 Get rid of more usages of the legacy ChunkVersion format
Diffstat (limited to 'src/mongo/db')
-rw-r--r-- | src/mongo/db/s/migration_coordinator_document.idl | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/mongo/db/s/migration_coordinator_document.idl b/src/mongo/db/s/migration_coordinator_document.idl index 29c629ca0eb..028cb194582 100644 --- a/src/mongo/db/s/migration_coordinator_document.idl +++ b/src/mongo/db/s/migration_coordinator_document.idl @@ -58,19 +58,6 @@ types: cpp_type: "mongo::MigrationSessionId" deserializer: "mongo::MigrationSessionId::fromString" serializer: "mongo::MigrationSessionId::toString" - # DO NOT add any usages of this format. - # - # Type used to transition from wrongly encoded chunk version to new format in disk - # In pre 6.0 versions will serialize chunk version as: - # { 0: <major/minor>, 1: <epoch>, 2: <timestamp> } (note the array encoded as a BSON object) - # From 6.0 on the chunk version serialized will be: - # { v: <major/version>, e: <epoch>, t: <timestamp>} - ChunkVersionArrayWronglyEncodedOr60Format: - bson_serialization_type: any - description: An object representing a chunk version for a collection. - cpp_type: ChunkVersion - serializer: ChunkVersion::serializeToPositionalWronlyEcondedOr60AsBSON - deserializer: ChunkVersion::fromBSONPositionalOrNewerFormat structs: migrationCoordinatorDocument: @@ -107,7 +94,7 @@ structs: type: chunk_range description: "The range being migrated." preMigrationChunkVersion: - type: ChunkVersionArrayWronglyEncodedOr60Format + type: ChunkVersion description: "The version, at the start of the migration, of the chunk being moved." decision: type: Decision |