summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk_version.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-67400 Create ShardVersion typeAllison Easton2022-07-291-2/+2
|
* SERVER-67824 Rename IDLParserErrorContext to IDLParserContextHugh Tong2022-07-261-1/+1
|
* SERVER-67400 Introduce a CollectionPlacement component of the collection versionKaloian Manassiev2022-06-211-4/+2
|
* SERVER-65530 Get rid of ChunkVersion::parse/serialiseMajorMinorVersionOnlyKaloian Manassiev2022-06-171-17/+0
|
* SERVER-65530 Get rid of the old ChunkVersion serialization formatsKaloian Manassiev2022-06-161-166/+0
|
* SERVER-65530 Get rid of more usages of the legacy ChunkVersion formatKaloian Manassiev2022-05-201-49/+1
|
* SERVER-65530 Get rid of ChunkVersionArrayWronglyEncodedAsBSONObjFormatKaloian Manassiev2022-05-171-12/+20
|
* SERVER-66472 Pull the collection generation out of ChunkVersionKaloian Manassiev2022-05-171-12/+36
|
* SERVER-65491 Use the new ChunkVersion format in the positional pathsKaloian Manassiev2022-04-131-12/+26
|
* SERVER-65438 Use the new ChunkVersion format in appendLegacyWithFieldKaloian Manassiev2022-04-131-3/+10
|
* SERVER-65204 Add Timestamp (in addition to Epoch) on the complete split pathKaloian Manassiev2022-04-111-3/+1
|
* Revert "SERVER-63363 Fixing parsing of ChunkVersion"Sergi Mateo Bellido2022-03-311-12/+4
| | | | | | This reverts commit e98dc4a89c55c0c391b1a6d1ef6a4be92328cfe9. Looking for a different way of fixing this problem!
* SERVER-63363 Fixing parsing of ChunkVersionSergi Mateo Bellido2022-03-231-4/+12
|
* SERVER-63088 Change chunk version persistance formatMarcos José Grillo Ramirez2022-02-181-0/+13
|
* SERVER-62915 Unify ChunkVersion parsing into a single functionMarcos José Grillo Ramirez2022-02-111-3/+35
|
* SERVER-62783 Use the 'any' form for the wrongly encoded positional formatKaloian Manassiev2022-01-261-8/+12
| | | | This allows one more method to be thrown out.
* SERVER-62783 Get rid of ChunkVersion::toBSONKaloian Manassiev2022-01-251-22/+20
| | | | Special-case the generation of the {0:minor|major, 1:epoch, ...} format
* SERVER-62783 Get rid of ChunkVersion::appendWithField/parseWithFieldKaloian Manassiev2022-01-241-16/+2
|
* SERVER-62783 Make parsing of new and legacy formats more explicitKaloian Manassiev2022-01-241-38/+57
|
* SERVER-62783 Move the version parsing for ShardCollectionType out of ↵Kaloian Manassiev2022-01-241-4/+17
| | | | ChunkVersion
* SERVER-52847 Make timestamp required in CollectionType and ↵Allison Easton2021-09-211-29/+35
| | | | ShardCollectionType IDL
* SERVER-53099 Remove canThrowSSVOnIgnored for ChunkVersionsMarcos José Grillo Ramirez2021-08-091-10/+5
|
* SERVER-53093 Add timestamp to ChunkVersionSergi Mateo Bellido2020-12-171-19/+59
| | | | PART 4: Adding persistence to the Timestamp of a ChunkVersion
* SERVER-53099 Change the TODO number for SERVER-53053 in the codeKaloian Manassiev2020-12-011-1/+0
|
* SERVER-53053 Get rid of the 'canThrowSSVOnIgnored' conditioning in ChunkVersionKaloian Manassiev2020-11-261-2/+2
|
* SERVER-44598 Shards do not treat the IGNORED version as "intended sharded"Marcos José Grillo Ramírez2020-01-081-1/+15
|
* SERVER-41658 Convert ShardCollectionType into an IDL typeJamie Heppenstall2019-07-121-0/+4
|
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-091-1/+1
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-1/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-37871 Enforce agreement on shard key across cluster for $outCharlie Swanson2018-11-211-1/+5
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-35691 Cleanup the ChunkVersion serialization/deserialization codeKaloian Manassiev2018-06-221-59/+43
|
* SERVER-29437 update shard config.collections schema to use ↵Dianna Hohensee2017-06-201-3/+4
| | | | lastRefreshedChunkVersion instead of refreshSequenceNumber
* SERVER-27804 add additional parsers to ChunkType for shard's ↵Dianna Hohensee2017-01-301-0/+10
| | | | config.chunks.uuid collections
* SERVER-22659 Adding CommitChunkMigration command on the config server.Dianna Hohensee2016-06-221-2/+11
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-1/+1
|
* SERVER-24071 Introduce ChunkVersion legacy format parserKaloian Manassiev2016-05-101-0/+14
| | | | | | | | | This change goes towards cleaning up the ChunkVersion class so it has clearly specified methods for the three variants of parsing, which it supports. Also it moves all the catalog types to be under the s/common library so they can be used not only from the catalog.
* SERVER-22359 Rename OperationShardVersion to OperationShardingStateKaloian Manassiev2016-03-091-3/+4
| | | | | | This name is more appropriate now, because we will be attaching more metadata to it such as the critical section wait handle, which is necessary for parallel migrations.
* SERVER-21186 Fix chunk version handling in ChunkTypeKaloian Manassiev2015-10-301-0/+7
| | | | | | | | On read, the parsing code was preferring the old 'version' field, which is not being written since version 2.4 and on write it was writing both the old 'version' field and the somewhat newer 'lastmod'. Made it to only look for 'lastmod' and to never write 'version'.
* SERVER-20498 Send config server optime to shards automatically on all ↵Spencer T Brody2015-09-241-54/+4
| | | | commands via the OP_COMMAND metadata
* SERVER-19855 Change ShardingRequestMetadata to ConfigServerRequestMetadata ↵Spencer T Brody2015-09-181-11/+11
| | | | to parallel ConfigServerResponseMetadata
* SERVER-19905 SERVER-19855 Put config server optime into its own subobject ↵Spencer T Brody2015-09-171-16/+19
| | | | when sending with commands
* SERVER-19905 consistently use t as the field name for the term portion of an ↵matt dannenberg2015-09-171-4/+6
| | | | OpTime
* SERVER-19855 Include min OpTime with shard versionKaloian Manassiev2015-08-171-0/+152
| | | | | | | | | This change adds the OpTime of the chunk manager as of the time its cached metadata was loaded along with each versioned request sent from MongoS. This includes write commands and the setShardVersion command. The OpTime is only sent as part of this change. There will be a follow-up change to add code to interpret this information on the MongoD side.
* Revert "SERVER-19855 Include min OpTime with shard version"Kaloian Manassiev2015-08-141-152/+0
| | | | This reverts commit cec89b290906adb7d36507d20d619aaa5a6f6c16.
* SERVER-19855 Include min OpTime with shard versionKaloian Manassiev2015-08-141-0/+152
| | | | | | | | | This change adds the OpTime of the chunk manager as of the time its cached metadata was loaded along with each versioned request sent from MongoS. This includes write commands and the setShardVersion command. The OpTime is only sent as part of this change. There will be a follow-up change to add code to interpret this information on the MongoD side.
* SERVER-10532 add sentinel values for ChunkVersionGreg Studer2013-09-241-34/+0
|
* SERVER-10766 Always write lastmodEpoch field on config.collectionsRandolph Tan2013-09-131-0/+34
Introduce the dropped version constants for ChunkVersion.