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

jumbo flag in chunk can be cleared when the shard that owns it donates a chunk

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Requested:
      v4.2, v4.0, v3.6
    • Sprint:
      Sharding 2019-07-01
    • Case:

      Description

      During the commit phase of the migration, the moveChunk command will set the chunk being migrated with a new major version and selects a random chunk of the current shard to have the same major version. This is done using replacement update so if a chunk that gets selected is a jumbo chunk, the flag will get cleared inadvertently.

      Also uncomment this line in test after fixing:
      https://github.com/mongodb/mongo/blob/27b771a1805871c1a87fab70d38e44b072b22c7f/jstests/sharding/jumbo1.js#L51

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kaloian.manassiev Kaloian Manassiev
              Reporter:
              renctan Randolph Tan
              Participants:
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: