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

Ordered write commands in mongos do not correctly break batches

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc1
    • Affects Version/s: 2.6.0-rc0
    • Component/s: Sharding
    • Labels:
      None
    • ALL
    • 0

      There is a batch per-op, which is very slow for large number of ops. Correct behavior is to figure out how many of the next ops can go to the same shard, then send all those in a batch. (Ops that go to multiple shards must be sent on their own in ordered mode.)

      Current workaround is to use unordered batches for performance testing.

            Assignee:
            greg_10gen Greg Studer
            Reporter:
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: