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

Fix possible race in tenant_migration_fetch_committed_transactions_retry.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.4, 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Repl 2021-08-23, Repl 2021-09-06

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: