[SERVER-37079] snapshot_read_kill_operations.js does not handle Interrupted errors due to killSessions Created: 11/Sep/18  Updated: 29/Oct/23  Resolved: 14/Sep/18

Status: Closed
Project: Core Server
Component/s: Concurrency, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.1.4

Type: Bug Priority: Major - P3
Reporter: Maria van Keulen Assignee: Maria van Keulen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-37009 Handle missing sessionDocToKill in sn... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0
Sprint: Storage NYC 2018-09-24
Participants:
Linked BF Score: 30

 Description   

The snapshot_read_kill_operations.js test uses a killSessions state function to test the behavior of snapshot reads when a session gets killed. However, the individual states of the test do not handle Interrupted as an acceptable error in their asserts. For example, the call to doSnapshotFind does not pass this code to its assert. This test should handle this error appropriately.



 Comments   
Comment by Githook User [ 14/Sep/18 ]

Author:

{'name': 'Maria van Keulen', 'email': 'maria@mongodb.com', 'username': 'mvankeulen94'}

Message: SERVER-37079 Handle Interrupted errors in state functions using sessions
Branch: master
https://github.com/mongodb/mongo/commit/913f15287664b8513876735f6f6198e212ad4e17

Generated at Thu Feb 08 04:44:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.