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

split command issued from shell should be more robust

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.5.5
    • Affects Version/s: None
    • Component/s: Sharding, Shell
    • Labels:
      None
    • ALL

      In general, it would be nice if the "split" (and also the "moveChunk") command, when issued with a "middle" or "find" parameter (so not specifying exact chunk bounds) would recover and retry instead of throwing an error if the shard version is stale at that point (b/c of an autosplit, for example).

      This is generally helpful, but mostly for tests, where autosplitting can get triggered semi-randomly and makes tests using split / moveChunk much harder to design.

            Assignee:
            Unassigned Unassigned
            Reporter:
            greg_10gen Greg Studer
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: