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

    • Fully Compatible
    • ALL
    • v4.2, v4.0, v3.6
    • Sharding 2019-07-01

    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

              kaloian.manassiev@mongodb.com Kaloian Manassiev
              randolph@mongodb.com Randolph Tan
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: