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

Race condition in migrateBig.js between last migration cleanup and no-predicate count

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.11
    • Affects Version/s: 3.3.10
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 18 (08/05/16)
    • 0

      The migrateBig.js test ensures that the count and itcount values for a collection match after all migrations have completed. However, there is a race condition in that the chunks may have been balanced, but the last chunk's migration might not have been cleaned up yet in which case the count command would find more documents that itcount.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: