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

Ordered write commands in mongos do not correctly break batches

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.6.0-rc0
    • 2.6.0-rc1
    • Sharding
    • None
    • ALL
    • 0

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: