-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2024-12-23, CAR Team 2025-01-06, CAR Team 2025-01-20, CAR Team 2025-02-03
-
200
The purpose of this ticket is to enable the CreateDatabase DDL to create and insert an entry for a shard-local replicated collection.
The implementation aims for the CreateDatabase coordinator to send an update with the "upsert" option set to true to the new collection `config.shard.databases` from the primary shard of the database. This update will insert the database metadata locally while simultaneously inserting it into the `config.databases` collection from the config server. It is not necessary for these operations to be performed transactionally; we only need to ensure that they occur within the critical section.
- is depended on by
-
SERVER-99799 Consider adding `config.shard.databases` to the magic restore procedure
- Backlog
-
SERVER-99805 checkMetadataConsistency to check against durable shard metadata
- In Code Review
- is related to
-
SERVER-99932 Add logging traces for DDLs that commit db metadata to the shard-local catalog
- Backlog