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

Make tenant_migration_concurrent_reads_on_donor.js only send read with maxTimeMS if it is expected to block

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2021-03-08, Sharding 2021-03-22
    • 21

      We shouldn't attach maxTimeMS to the linearizable read in the blocking state since it's not expected to block. Also, if the noop write for the linearizable read takes a long time to complete, the read could end up failing with MaxTimeMSExpired (see BF-20362). 

            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: