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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: