[SERVER-38931] Apply relevant changes to snapshot_read_kill_operations.js to 4.0 branch Created: 10/Jan/19  Updated: 06/Dec/22  Resolved: 05/Mar/20

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

Type: Task Priority: Major - P3
Reporter: Maria van Keulen Assignee: Backlog - Storage Execution Team
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-37009 Handle missing sessionDocToKill in sn... Closed
is related to SERVER-37427 KillSessions should ignore CursorNotF... Closed
is related to SERVER-40757 Fix snapshot_read_kill_operations.js ... Closed
Assigned Teams:
Storage Execution
Sprint: Storage NYC 2019-04-08, Storage NYC 2019-05-06
Participants:
Story Points: 3

 Description   

SERVER-37009 fixed an error in the snapshot_read_kill_operations.js test that caused the killSessions portion of the test to silently fail to kill the session if the corresponding session document did not exist. This fix uncovered other issues with the test that have been fixed in master but not backported to 4.0. All relevant fixes to this test, including the fix in SERVER-37009, should be applied to the 4.0 version of this test.

One possible way to do this would be to replace the 4.0 version of the test with the corresponding version in master, being mindful of any changes made to the test that are specific to master.



 Comments   
Comment by Maria van Keulen [ 09/May/19 ]

Upon applying the changes to the test as of this commit in a patch build, the test fails with a similar failure to the failure that is described in SERVER-37427, which is closed as Won't Fix. Additionally, the snapshot_read_kill_operations.js test has been in flux in master of late, since it is failing frequently in various scenarios. I believe it would be safer to revisit this ticket when the test has quieted down in master and/or another solution is proposed for the issue in SERVER-37427.

Comment by Maria van Keulen [ 29/Apr/19 ]

It looks like SERVER-40757 is a fix to snapshot_read_kill_operations.js that is specific to cross-shard transactions, so this fix should not be included in the changes to the 4.0 version of this test.

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