[SERVER-35095] snapshot_read_kill_operations.js should consider Interrupted as an acceptable getMore error Created: 18/May/18  Updated: 29/Oct/23  Resolved: 06/Jun/18

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.0.0-rc5, 4.1.1

Type: Bug Priority: Minor - P4
Reporter: William Schultz (Inactive) Assignee: Audrey Fang (Inactive)
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.0
Sprint: Storage NYC 2018-06-18
Participants:
Linked BF Score: 11

 Description   

The killOp phase of the snapshot_read_kill_operations.js workload targets any running getMore, not only one started by that thread. This means that it is possible for any thread's snapshot getMore to get killed while it is running, leading to a getMore returning an "operation was interrupted" error message. Presumably, we do want to test snapshot getMore operations getting concurrently killed, but we don't want the test to fail in this case. We should likely add a new acceptable error (Interrupted) to the doSnapshotGetMore call, so that the test does not fail in this case.



 Comments   
Comment by Githook User [ 08/Jun/18 ]

Author:

{'username': 'audreyfang', 'name': 'Audrey Fang', 'email': 'audrey.fang@10gen.com'}

Message: SERVER-35095 snapshot_read_kill_operations.js should consider Interrupted as an acceptable getMore error

(cherry picked from commit 1d056ffa9a765a7db6082b1597d656b3e51ae1be)
Branch: v4.0
https://github.com/mongodb/mongo/commit/d42c9ded55e1fe7fc19b47c9bf86fb1949aa6010

Comment by Githook User [ 06/Jun/18 ]

Author:

{'username': 'audreyfang', 'name': 'Audrey Fang', 'email': 'audrey.fang@10gen.com'}

Message: SERVER-35095 snapshot_read_kill_operations.js should consider Interrupted as an acceptable getMore error
Branch: master
https://github.com/mongodb/mongo/commit/1d056ffa9a765a7db6082b1597d656b3e51ae1be

Comment by William Schultz (Inactive) [ 18/May/18 ]

Assigning this to Storage backlog since it was introduced as part of Local Snapshot Reads testing.

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