Long running index builds may create temporary unavailability upon rename in sharded clusters

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • ALL
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      The rename DDL coordinator retries indefinitely whenever errors happen during the commit phase (SERVER-61416) . While this ensures that the rename operation eventually completes, it may pose a temporary unavailability risk.

      After acquiring the critical section (blocking CRUDs), if an index build is ongoing on the source collection on one or more shards, the operation will fail and get retried, eventually succeeding once the index build finishes on all shards.

            Assignee:
            Unassigned
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: