-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Querying
-
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.
- duplicates
-
SERVER-2454 Queries that are killed during a yield should return error to user instead of partial result set
- Closed