[SERVER-59662] Create a concurrency test with time-series inserts and interrupt generating commands Created: 30/Aug/21  Updated: 29/Oct/23  Resolved: 27/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0, 5.1.0-rc3, 5.0.5

Type: Bug Priority: Major - P3
Reporter: Arun Banala Assignee: Gregory Noma
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.1, v5.0
Sprint: Execution Team 2021-10-18, Execution Team 2021-11-01
Participants:
Linked BF Score: 137

 Description   

During the implementation of SERVER-59164 we've noticed that we are hitting certain invariants when errors like StaleConfig errors were thrown. This led to a suspicion that we might hit the same invariant if a concurrent operations kills the write operation (throw killOp or killSessions).



 Comments   
Comment by Githook User [ 03/Nov/21 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-59662 Test killing time-series inserts

(cherry picked from commit 9e931d09ba9a1269bf11a689e06e56f61dab7e21)
Branch: v5.0
https://github.com/mongodb/mongo/commit/0cd8f77eb2c26625de9995de25d2f78fe962a87a

Comment by Githook User [ 28/Oct/21 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-59662 Test killing time-series inserts

(cherry picked from commit 9e931d09ba9a1269bf11a689e06e56f61dab7e21)
Branch: v5.1
https://github.com/mongodb/mongo/commit/20cd16546812fbd513b36a36bf8618e9f3f2d077

Comment by Githook User [ 27/Oct/21 ]

Author:

{'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}

Message: SERVER-59662 Test killing time-series inserts
Branch: master
https://github.com/mongodb/mongo/commit/9e931d09ba9a1269bf11a689e06e56f61dab7e21

Comment by Louis Williams [ 07/Sep/21 ]

We have a jstestfuzz suite that enables a randomized interrupt failpoint: https://github.com/mongodb/mongo/blob/master/buildscripts/resmokeconfig/suites/jstestfuzz_interrupt.yml

This is dependent on the fuzzer being able to successfully construct a time-series collection and insert conforming data into this collection. Expecting the fuzzer to do something this specific across multiple statements is a bit optimistic. It's hard to say whether this test coverage is sufficient, but if we really want confidence, we should write a targeted concurrency suite with interrupts.

Generated at Thu Feb 08 05:47:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.