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

autosplit_heuristics.js should insert documents one by one and wait for chunk splitting

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • 12

      autosplit_heuristics.js uses bulk insert and then checks the count of chunks. Since autosplitting happens asynchronously on the shard, this could lead to non-deterministic chunk counts. Instead we will wait for chunk splitting to finish after each insert.

            Assignee:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Reporter:
            matthew.saltz@mongodb.com Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: