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

Deletions during chunk movement can cause migrations to fail

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 2.2.1, 2.3.0
    • Affects Version/s: 2.2.0
    • Component/s: Sharding
    • None
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      If, while a chunk migration is in progress, objects inside of the chunk that's being moved are deleted on the donor shard, then the receiver shard can prematurely abort the migration, giving errors that look like:

      Assertion: 16333:field names of bound { _id: ObjectId('5139739ec9b413112c01414b') } do not match those of keyPattern { a : 1.0 }
      

      This does not compromise data, but prevents migrations from finishing, and impacts performance.

        1. delete_during_migrate.js
          1 kB
          Kevin Matulef

            Assignee:
            matulef Kevin Matulef (Inactive)
            Reporter:
            matulef Kevin Matulef (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              None
              None
              None
              None