-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Execution Team 2021-10-04
When performing writes using performUpdates there is internal error handling via handleError that may indicate that no further writes may be performed. One such class of errors is the stale sharding version error. If more write operations are performed an invariant in the sharding subsystem is triggered because the error may only be set once.
performUpdates does not return if it is allowed to continue with further write operations, just an error code that is not easy to interpret the severity of.
In our time-series write code path we sometimes perform writes in loops without checking for error. If this sharding error is encountered we would trigger the invariant in the second iteration.
- duplicates
-
SERVER-60231 Unordered batched time-series inserts should abort upon stale config expections
- Closed