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

shard_split_shutdown_while_blocking_reads should handle exception in readThread

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0, 6.3.1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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

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

       

            Assignee:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: