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

Fix possible race in tenant_migration_fetch_committed_transactions_retry.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.4, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v5.0
    • Repl 2021-08-23, Repl 2021-09-06

      Currently, tenant_migration_fetch_committed_transactions_retry.js intends to test the case where a sync source failure triggers a restart of the recipient future chain at the time of fetching committed transactions before the startOpTime. In particular, we want to fail in this block here while fetching committed transactions in the middle of a batch. However, it's possible that in the test, we restart the primary and then release the failpoint and the recipient moves on and fetches the next entry before restarting the future chain. In this case, we don't actually end up executing the retry logic that we want to test.

            Assignee:
            jason.chan@mongodb.com Jason Chan
            Reporter:
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: