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

Deletions during chunk movement can cause migrations to fail

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.1, 2.3.0
    • Component/s: Sharding
    • Labels:
      None
    • Operating System:
      ALL

      Description

      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.

        Issue Links

          Activity

          Hide
          auto auto (Inactive) added a comment -

          Author:

          {u'date': u'2012-09-11T20:53:13-07:00', u'email': u'matulef@gmail.com', u'name': u'Kevin Matulef'}

          Message: SERVER-7003 fix migrations in the presence of active deletions
          Branch: master
          https://github.com/mongodb/mongo/commit/64429ff8c5f485b138f01fb05f2b78cb144d90ff

          Show
          auto auto (Inactive) added a comment - Author: {u'date': u'2012-09-11T20:53:13-07:00', u'email': u'matulef@gmail.com', u'name': u'Kevin Matulef'} Message: SERVER-7003 fix migrations in the presence of active deletions Branch: master https://github.com/mongodb/mongo/commit/64429ff8c5f485b138f01fb05f2b78cb144d90ff
          Hide
          auto auto (Inactive) added a comment -

          Author:

          {u'date': u'2012-09-11T20:53:13-07:00', u'email': u'matulef@gmail.com', u'name': u'Kevin Matulef'}

          Message: SERVER-7003 fix migrations in the presence of active deletions
          Branch: v2.2
          https://github.com/mongodb/mongo/commit/01f04c8f1369eb51558637d8bda1315a475446e4

          Show
          auto auto (Inactive) added a comment - Author: {u'date': u'2012-09-11T20:53:13-07:00', u'email': u'matulef@gmail.com', u'name': u'Kevin Matulef'} Message: SERVER-7003 fix migrations in the presence of active deletions Branch: v2.2 https://github.com/mongodb/mongo/commit/01f04c8f1369eb51558637d8bda1315a475446e4

            People

            • Assignee:
              matulef Kevin Matulef
              Reporter:
              matulef Kevin Matulef
              Participants:
              Last commenter:
              Ramon Fernandez
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                2 years, 50 weeks, 2 days ago
                Date of 1st Reply: