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

refactor getChunkManager() and sharding code to better handle parallel queries.

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

      This ticket has turned into a more general refactoring of the parallel cursor code, minimizing the use of getChunkManager(), but also includes the original issue:

      getChunkManager()'s failure mode is to throw masserts, which is incorrect as changes in sharding are not generally exception cases - this leads to very ugly logs and confusing codepaths. Also, there are various configurable levels of reloading for getChunkManager(), these should be clearer and encapsulated.

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

              Created:
              Updated:
              Resolved: