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

Fix test cases for snapshot reads without atClusterTime and for aborted migrations in tenant_migration_concurrent_reads_on_recipient.js

    • Fully Compatible
    • ALL
    • Sharding 2021-03-22
    • 24

      • Make sure that snapshot reads with atClusterTime in testDoNotRejectReadsAfterMigrationAbortedAfterReachingBlockTimestamp and testDoNotRejectReadsAfterMigrationAbortedAfterReachingBlockTimestamp get assigned read timestamp >= blockTimestamp.
      • Make testDoNotRejectReadsAfterMigrationAbortedAfterReachingBlockTimestamp test that if the migration aborts after returnAfterReachingTimestamp (blockTimestamp) is reached, the recipient keeps rejecting reads with atClusterTime < returnAfterReachingTimestamp (blockTimestamp) until the state doc is garbage collected. Currently, it tests that the recipient stops rejecting reads after the migration aborts.

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: