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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2021-03-08, Sharding 2021-03-22
    • 21

    Description

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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: