[SERVER-76410] Make CappedInsertListener::waitUntil() interruptible Created: 21/Apr/23  Updated: 29/Oct/23  Resolved: 08/May/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0, 7.0.0-rc1

Type: Improvement Priority: Major - P3
Reporter: Denis Grebennicov Assignee: Denis Grebennicov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
Backwards Compatibility: Fully Compatible
Backport Requested:
v7.0
Sprint: Execution Team 2023-05-01
Participants:
Linked BF Score: 15

 Description   

BF-28269 detected an issue that ServiceExecutor could not gracefully shut down, because capped insert listeners are not interruptible.

This ticket fixes this by making CappedInsertListener call OperationContext::waitForConditionOrInterruptUntil() instead

 



 Comments   
Comment by Githook User [ 08/May/23 ]

Author:

{'name': 'Denis Grebennicov', 'email': 'denis.grebennicov@mongodb.com', 'username': 'denis631'}

Message: SERVER-76410 Make CappedInsertListener::waitUntil() interruptible
Branch: v7.0
https://github.com/mongodb/mongo/commit/133593ef57a6d06a4fb351cc4589c4a2528d4db2

Comment by Githook User [ 05/May/23 ]

Author:

{'name': 'Denis Grebennicov', 'email': 'denis.grebennicov@mongodb.com', 'username': 'denis631'}

Message: SERVER-76410 Make CappedInsertListener::waitUntil() interruptible
Branch: master
https://github.com/mongodb/mongo/commit/95c5d79e277b76bfbdf8601b3fafbd86c7a3557d

Generated at Thu Feb 08 06:32:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.