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

shard_split_shutdown_while_blocking_reads should handle exception in readThread

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 6.3.1
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v6.3
    • Server Serverless 2023-01-23, Server Serverless 2023-02-06, Server Serverless 2023-02-20, Server Serverless 2023-03-06
    • 20

    Description

      The current shard_split_shutdown_while_blocking_reads.js test doesn't handle properly when the readThread expects to fail due to the primary shutting down.

      We should handle the error within the thread in order to properly fix this behavior in our ASAN builds.

      We should add handling the `HostUnreachable` error code since in ASAN builds we might not get `InterruptedAtShutdown` on time and instead get `HostUnreachable`.

       

      Attachments

        Activity

          People

            mathis.bessa@mongodb.com Mathis Bessa
            mathis.bessa@mongodb.com Mathis Bessa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: