summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/shard_metadata_util.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-63988 Remove reduntant ShardDatabaseTypeTommaso Tocci2022-02-281-10/+6
|
* SERVER-62915 Unify ChunkVersion parsing into a single functionMarcos José Grillo Ramirez2022-02-111-1/+1
|
* SERVER-62905 Remove all the code related to the long collection names projectAntonio Fuschetto2022-01-281-82/+14
|
* SERVER-61385 Migrate callers of 'DBClientBase::query()' legacy API to the ↵David Storch2021-12-211-12/+15
| | | | | | | | | modern 'find()' API There are a handful of remaining callers of the legacy API, either using the exhaust option or which are involved in a code path which still relies on the OP_QUERY-inspired BSON format. These should be cleaned up as follow-up work.
* SERVER-60443 Fix status of "refreshing" collection flag when metadata is purgedAntonio Fuschetto2021-10-051-1/+1
|
* SERVER-60301 Remove the update metadata format machinery from the SSCCLSergi Mateo Bellido2021-09-301-20/+0
|
* SERVER-59904 The ShardServerCatalogCacheLoader ended up having two different ↵Antonio Fuschetto2021-09-271-13/+37
| | | | chunks cache
* SERVER-52847 Make timestamp required in CollectionType and ↵Allison Easton2021-09-211-1/+1
| | | | ShardCollectionType IDL
* SERVER-59663 Refactor SSCCL's code that cleans up persisted metadataAntonio Fuschetto2021-08-311-29/+35
|
* SERVER-59661 Refactor construction of persisted chunks collection namespaceAntonio Fuschetto2021-08-301-15/+18
|
* SERVER-58670 Tighten up what kind of BSON the 'Query' type can be wrapped aroundIrina Yatsenko2021-08-231-10/+9
| | | | | | | | | This refactor includes: Remove dead code from 'Query' type and reduce it public interface. Split query argument in query/update/removed methods into filter BSON and settings (which are still passed around as 'Query' type). Remove Query(string) constructors. Remove most callers of 'Query(const BSONObj&)'. Replace public 'Query(const BSON&)' and 'Query.obj' with an explicit factory method and a getter.
* SERVER-58575 Replace the logic that decides whether the SSCCL should use ↵Antonio Fuschetto2021-08-181-25/+54
| | | | namespaces or uuids for config.cache.chunks collections
* Revert "SERVER-58575 Replace the logic that decides whether the SSCCL should ↵Daniel Gottlieb2021-08-171-33/+25
| | | | | | use namespaces or uuids for config.cache.chunks collections" This reverts commit 0d9c8e78185156a008f5c4557188fa9ecbbdc36b.
* SERVER-58575 Replace the logic that decides whether the SSCCL should use ↵Antonio Fuschetto2021-08-161-25/+33
| | | | namespaces or uuids for config.cache.chunks collections
* SERVER-58792 Disable the UUID-based logic that handles config.cache.chunks.* ↵Sergi Mateo Bellido2021-07-231-10/+5
| | | | collections on the ShardServerCatalogCacheLoader
* SERVER-34632 config.chunks change to config.cache.chunks creates a ↵Antonio Fuschetto2021-07-091-37/+46
| | | | collection long name after upgrade
* SERVER-56469 The shard server catalog cache loader should replace the ↵Sergi Mateo Bellido2021-05-031-15/+2
| | | | entries on config.cache.collections and not just update them
* SERVER-56063 Consolidate the FCV 4.4 <-> 5.0 upgrade checksKaloian Manassiev2021-04-131-2/+0
| | | | | This change is just a cleanup in preparation for adding the FCV serialisation for database and collection/chunk entries.
* SERVER-54975 Rename IDL parser classes to use CommandRequest and ↵Bernard Gorman2021-04-021-15/+20
| | | | CommandReply suffixes
* SERVER-54790 Remove the 'allowMigrations' flag from config.collections when ↵Sergi Mateo Bellido2021-03-021-2/+1
| | | | | | | | | | | downgrading - Making the allowMigrations field on config.collections optional - Since DDL operations cannot overlap with a setFCV, we can assume that allowMigrations is true when running the setFCV command. I added an invariant to verify that. - No reason to remove this field since it will never be present when downgrading.
* SERVER-53104 Ensure all shard-local cache collections of config.collections ↵Sergi Mateo Bellido2021-02-091-60/+20
| | | | | | | contain timestamps after upgrade - Modifying the loader to properly handle metadata format changes in Collections & Databases
* SERVER-53772 Create feature flag for timestamp based collection/database UUIDSergi Mateo Bellido2021-01-191-2/+2
| | | | | | | | Changelog: - Adding a new feature flag that is going to guard all the changes related to the timestamped versions - Replacing the project-related feature guard to the new one - Enabling the new feature guard in the all-features variants
* SERVER-53093 Add timestamp to ChunkVersionSergi Mateo Bellido2020-12-101-3/+4
| | | | | PART 1: Adding the timestamp to the ChunkVersion class and to the places where we construct a ChunkVersion
* SERVER-52588 Making the upgrade/downgrade process work for the Epoch to ↵Jordi Serra Torrens2020-12-031-0/+28
| | | | ClusterTime migration (PART-2)
* SERVER-52588 Making the upgrade/downgrade process work for the Epoch to ↵Jordi Serra Torrens2020-12-011-8/+15
| | | | ClusterTime migration
* SERVER-53052 Review some recent changes introduced in setFCV commandSergi Mateo Bellido2020-11-251-1/+1
| | | | We forgot to support the transitions from LastContinuous <-> Latest
* SERVER-51891 Make ShardCollectionType not use strict parsingSergi Mateo Bellido2020-11-181-0/+27
| | | | | | - Properly handling the allowMigrations field on config.cache.collections entries when downgrading to 4.4 - Removing unused failpoints
* SERVER-50027 Make CollectionType use IDL (Part 1)Kaloian Manassiev2020-10-221-3/+3
| | | | | | | This change just starts the basis so that the CollectionType can be built on IDL in order to avoid conflicts with any changes to the format. The remaining fields will be moved to IDL in a subsequent commit and the custom parsing will be removed.
* SERVER-50217 change auth op observer to handle $v:1 and $v:2 updatesIan Boros2020-08-271-2/+2
| | | | This commit also removes an implicit constructor for write_ops::UpdateModification.
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-261-1/+1
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-46799 Update sharding log lines to adhere to LOGV2 style guideJack Mulrow2020-03-231-8/+12
|
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-211-1/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-45869 automatically converted structured loggingGabriel Russell2020-02-131-3/+13
|
* SERVER-42152 Delete existing chunks on new epoch in persisted routing table ↵Jamie Heppenstall2019-08-011-0/+15
| | | | cache
* SERVER-41658 Convert ShardCollectionType into an IDL typeJamie Heppenstall2019-07-121-18/+13
|
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-1/+2
|
* 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-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-36094 Make DBClientBase::query() take an NamespaceStringOrUUIDMatthew Russotto2018-08-141-3/+3
|
* SERVER-35115 Separate dbclientinterface.h into several parts, one per class.Henrik Edin2018-06-291-1/+0
|
* SERVER-35691 Cleanup the ChunkVersion serialization/deserialization codeKaloian Manassiev2018-06-221-1/+1
|
* SERVER-32198 Change the namespaces stored as StringData to NamespaceStringKaloian Manassiev2018-04-261-10/+8
| | | | | This avoids having to cast them to NamespaceString for passing to functions or to std::string for comparisons.
* SERVER-33766 Ensure that secondaries always invalidate the in-memory routing ↵jannaerin2018-04-201-8/+0
| | | | | | table when new metadata arrives
* SERVER-34145 Persist database version on shardjannaerin2018-04-051-0/+102
|
* SERVER-18137 Use NamespaceString for fully-qualified ns in shardingKevin Pulo2018-02-011-2/+2
|
* SERVER-32617 Fix code that reconstructs status with just code and stringMathias Stearn2018-01-171-8/+4
|
* SERVER-31275 Ensure causal consistency guarantees on secondaries during ↵Dianna Hohensee2017-11-081-6/+19
| | | | chunk migration commits, and fully invalidate metadata.
* SERVER-31191 Plumb Collection UUIDs through catalog cacheNathan Myers2017-10-171-7/+5
|
* SERVER-30437 Stop the shard chunk loader from scheduling persistence tasks ↵Dianna Hohensee2017-08-101-11/+1
| | | | with mixed version chunks
* SERVER-30147 Remove some unused calls around ShardServerCatalogCacheLoaderKaloian Manassiev2017-07-261-0/+4
| | | | | * Makes logging on drop consistent * Gets rid of unnecessary boolean parameter