[SERVER-77593] Properly shut down executors in these files owned by Replication Created: 30/May/23  Updated: 27/Oct/23  Resolved: 05/Jun/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Blake Oler Assignee: Xuerui Fa
Resolution: Works as Designed Votes: 0
Labels: repl-shortlist
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Assigned Teams:
Replication
Operating System: ALL
Backport Requested:
v7.0
Sprint: Repl 2023-06-12
Participants:
Linked BF Score: 113

 Description   

In the following files, there exist executors that may not be properly shutdown by calling both join and shutdown.

  • db/repl/replication_coordinator_external_state_impl.cpp
    • 360,19:     _writerPool = makeReplWriterPool();
  • db/repl/replication_recovery.cpp
    • 715,23:     auto writerPool = makeReplWriterPool();
  • db/repl/replication_coordinator_external_state_impl.cpp
    • 355,30:     _oplogApplierTaskExecutor->startup();
  • db/read_write_concern_defaults.cpp
    • 335,16:     _threadPool.startup();

To reference the full list of files/executors combed, please refer to the linked BF ticket.


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