[SERVER-62796] Add a new command to the config server to commit an index to the sharding catalog Created: 20/Jan/22  Updated: 06/Dec/22  Resolved: 24/Oct/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: [DO NOT USE] Backlog - Sharding EMEA
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-67119 Add create/drop global indexes API Closed
Assigned Teams:
Sharding EMEA
Participants:

 Description   

A new command to commit a new index is necessary, the command must be idempotent, retriable and needs to support recovery.

Additionally a new IDL must be created that will contain the persistence scheme for the new indexes collection to be stored on the config server and the caches, the scheme will be the following:

{
    "keyPattern": <BSONOBJ>,
    "name": <String>,
    "options": <BSONOBJ>,
    "lastmod": <IndexVersion>,
    "collectionUUID": <UUID>,
    "global": <optional<bool>>
}

The commit must also bump the index version.



 Comments   
Comment by Marcos José Grillo Ramirez [ 24/Oct/22 ]

This was added as part of SERVER-67119

Generated at Thu Feb 08 05:56:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.