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

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • 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

        Issue Links

          Activity

            People

              backlog-server-sharding 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: