summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk_version.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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.