shard_split_shutdown_while_blocking_reads should handle exception in readThread

XMLWordPrintableJSON

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

      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 (Inactive)
            Reporter:
            Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: