Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-61870

Retry loading oplog entries on CappedPositionLost in retryable_internal_transaction_test.js

    • 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.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: