Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-82235

Make logical initial sync use $listCatalog instead of listDatabases/Collections/Indexes

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication

      Today, logical initial sync's cloning uses listDatabases, 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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            josef.ahmad@mongodb.com Josef Ahmad
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: