partial result set rather than assertion in some cases when a cursor is overtaken by a cap point overrun on yield

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

                  if ( c->capped() ) {
                      /* note we cannot advance here. if this condition occurs, writes to the oplog
                         have "caught" the reader.  skipping ahead, the reader would miss postentially
                         important data.
                         */
                      delete cc;
                      continue;
                  }
      

      Previously query would assert if this occurs during a yield, while get more would return a partial result.

      After recent SERVER-4150 work, query may assert or return partial result depending on code path. Get more behavior (partial result) is unchanged.

              Assignee:
              Unassigned
              Reporter:
              Aaron Staple (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: