[SERVER-73163] shard_split_shutdown_while_blocking_reads should handle exception in readThread Created: 20/Jan/23 Updated: 29/Oct/23 Resolved: 27/Feb/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0, 6.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mathis Bessa | Assignee: | Mathis Bessa |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v6.3
|
||||||||
| Sprint: | Server Serverless 2023-01-23, Server Serverless 2023-02-06, Server Serverless 2023-02-20, Server Serverless 2023-03-06 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 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`.
|
| Comments |
| Comment by Githook User [ 11/Apr/23 ] |
|
Author: {'name': 'mathisbessamdb', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}Message: (cherry picked from commit b9907665d7edbaab8a4c5e904bfa0cd9f55496bd) |
| Comment by Githook User [ 27/Feb/23 ] |
|
Author: {'name': 'mathisbessamdb', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}Message: |