No chunk splits when using findAndModify() to upsert

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.1.1
    • Affects Version/s: 1.8.4, 2.0.1, 2.0.2, 2.0.3
    • Component/s: Sharding
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Doing upserts on a sharded collection via a findAndModify will not initiate chunk splits (and subsequent balancing).

      I've attached a javascript file that shows the correct behavior for a regular upsert and reproduces the bug behavior for a findAndModify upsert.

      Before running, please start a sharded cluster using the mongo snippet with chunksize=1 or increase n.

            Assignee:
            Brandon Diamond (Inactive)
            Reporter:
            Tyler Brock (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: