[SERVER-40785] Improve transaction coordinator startup Created: 23/Apr/19  Updated: 29/Oct/23  Resolved: 16/Jul/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.2.0-rc3, 4.3.1

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

Issue Links:
Backports
Related
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Sharding 2019-07-01, Sharding 2019-07-15, Sharding 2019-07-29
Participants:
Linked BF Score: 22

 Description   

Coordinator step-up spawns a thread to initialize for each of the coordinator stored on disk and when there are thousands of them, preliminary tests suggests that majority of the time is spent creating new threads.



 Comments   
Comment by Githook User [ 17/Jul/19 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-40785 Create WaitForMajorityService to allow waiting for write concern asynchronously

(cherry picked from commit 2dfbaadb85f32869c75f87117d9f6e98b4e948ea)
Branch: v4.2
https://github.com/mongodb/mongo/commit/31016beb5503c9ecf783826fb3b761ea92bfff7f

Comment by Githook User [ 17/Jul/19 ]

Author:

{'name': 'Randolph Tan', 'email': 'randolph@10gen.com', 'username': 'renctan'}

Message: SERVER-40785 Change sharding fixed and arbitrary executors from unique_ptr to shared_ptr

(cherry picked from commit d15b1f2e036e262f8ea976e04780aa366fa20ad4)
Branch: v4.2
https://github.com/mongodb/mongo/commit/ed935ffffae8dd373063da350e4cb61547e20688

Comment by Githook User [ 16/Jul/19 ]

Author:

{'name': 'Randolph Tan', 'username': 'renctan', 'email': 'randolph@10gen.com'}

Message: SERVER-40785 Create WaitForMajorityService to allow waiting for write concern asynchronously
Branch: master
https://github.com/mongodb/mongo/commit/2dfbaadb85f32869c75f87117d9f6e98b4e948ea

Comment by Githook User [ 09/Jul/19 ]

Author:

{'name': 'Randolph Tan', 'username': 'renctan', 'email': 'randolph@10gen.com'}

Message: SERVER-40785 Change sharding fixed and arbitrary executors from unique_ptr to shared_ptr
Branch: master
https://github.com/mongodb/mongo/commit/d15b1f2e036e262f8ea976e04780aa366fa20ad4

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