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

Optimize range deletions handling in rename participants

    • Catalog and Routing
    • 12
    • 2

      Rename participants are snapshotting range deletions by namespace before restoring them. This results in:

      • Not using an index while scanning config.rangeDeletions that only has a {collectionUUID, min, max} secondary index
      • Snapshotting multiple times the same ranges when several renames are executed back and forth between the same namespaces (as in some FSMs) (solved by SERVER-83454)
        • This means exponentially incrementing the number of range deletion documents, making subsequent renames on the same collection slower over time (solved by SERVER-83454)

            Assignee:
            Unassigned Unassigned
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: