-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
-
ALL
-
v5.2
-
Sharding 2021-12-13, Sharding 2021-12-27
-
148
jstests/sharding/retryable_internal_transaction_test.js runs several test cases with a transaction larger than 16MB and loads the oplog entries generated by those tests for its assertions. If the oplog is truncated while the test is reading from it, the query will fail with CappedPositionLost and fail the test. Each test case only needs the oplog entries from the most recent large transaction, so it should be safe to retry on this error since the necessary oplog entries were likely not truncated.