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

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Matthew Saltz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: