[SERVER-34923] Replace PeriodicRunnerASIO Created: 09/May/18  Updated: 29/Oct/23  Resolved: 10/May/18

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.6.8, 4.0.0-rc0

Type: New Feature Priority: Major - P3
Reporter: Mira Carey Assignee: Mira Carey
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-35123 The periodic_runner_impl starts jobs ... Closed
is related to SERVER-34917 Move the expired transaction aborter ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6
Sprint: Platforms 2018-05-21
Participants:

 Description   

From SERVER-34917, it appears that the periodic runner can hang if two jobs attempt to run simultaneously and asio queues the work on one thread.  Rather than attempting to pick that type apart, let's write a simpler one that doesn't rely on asio implementation details for forward progress



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

Author:

{'name': 'Jason Carey', 'email': 'jcarey@argv.me', 'username': 'hanumantmk'}

Message: SERVER-34923 PeriodicRunnerASIO -> Impl

Replace PeriodicRunnerASIO with PeriodicRunnerImpl, a simpler interface
that runs jobs on dedicated threads.

(cherry picked from commit 714b97ba9c7dd8de3351eb811befce6c4b6efd63)
Branch: v3.6
https://github.com/mongodb/mongo/commit/f1193a0eff320fc8b5b8c54db455af0077ad9855

Comment by Githook User [ 10/May/18 ]

Author:

{'name': 'Jason Carey', 'email': 'jcarey@argv.me', 'username': 'hanumantmk'}

Message: SERVER-34923 PeriodicRunnerASIO -> Impl

Replace PeriodicRunnerASIO with PeriodicRunnerImpl, a simpler interface
that runs jobs on dedicated threads.
Branch: master
https://github.com/mongodb/mongo/commit/714b97ba9c7dd8de3351eb811befce6c4b6efd63

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