[SERVER-82235] Make logical initial sync use $listCatalog instead of listCollections/listIndexes Created: 16/Oct/23  Updated: 12/Dec/23

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

Type: Improvement Priority: Major - P3
Reporter: Josef Ahmad Assignee: Backlog - Cluster Scalability
Resolution: Unresolved Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-81037 Cluster the local durable catalog or ... Backlog
Related
related to SERVER-82221 listCollections and listIndexes shoul... Closed
Assigned Teams:
Cluster Scalability
Participants:

 Description   

Today, logical initial sync's cloning uses listCollections and listIndexes. These commands are not designed with consistency in mind in the presence of catalog changes that are pending commit. This can result in subtle consistency issues, like the one described in SERVER-82221.
 
This ticket is to replace listCollections and listIndexes with $listCatalog, which guarantees a consistent snapshot. Note that this depends on the project represented by SERVER-81037, which will enable efficient namespace range lookups on $listCatalog.


Generated at Thu Feb 08 06:48:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.