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

MR: errors that happen during sharded post processing are ignored

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

      If output collection is not sharded it properly errors, but if sharded then it returns with empty results.
      it is easy to reproduce issue if using "replace" in conjunction with "nonAtomic" which errors.

      Source of issue seems to be that MR code used to spawn Future objects and then check on status,
      but now that code has been buried into a call like:
      SHARDED->commandOp( dbName, shardedCommand, 0, fullns, q, results );
      That call seems to not properly report the exception.

            Assignee:
            antoine Antoine Girbal
            Reporter:
            antoine Antoine Girbal
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: