-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework
-
Fully Compatible
-
v4.2
-
Query 2020-02-24
Driver tests designed to exercise the ResumableChangeStreamError label introduced in SERVER-45505 will need to use a failpoint to induce the desired exceptions. However, for getMore commands, the existing generic failCommand failpoint runs too early in the command path, long before the getMore has checked out its cursor and set CurOp::_originatingCommand. The error label code therefore cannot determine that this cursor is a change stream, and will not attach the error label.
We should add a new failGetMoreAfterCursorCheckout failpoint to support these tests.
- is related to
-
SERVER-45505 Add ResumableChangeStreamError error label
- Closed