Clean-up orphan chunk entries left from a failed shardCollection with initial split

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Sharding
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      If a shardCollection command with initial chunk split fails, it will leave orphaned chunk entries, which will then prevent the shardCollection call from being retried.

      Instead, if during a shardCollection call we discover that the collection is not marked as sharded, but there are existing chunks for it, these chunks should be cleaned up so the call can be retried.

            Assignee:
            [DO NOT USE] Backlog - Sharding Team
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: