[SERVER-75639] Remove dedicated executor for moveChunk/moveRange commands Created: 04/Apr/23  Updated: 29/Oct/23  Resolved: 05/Apr/23

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

Type: Bug Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: Pierlauro Sciarelli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.3, v6.0, v5.0, v4.4
Sprint: Sharding EMEA 2023-04-17
Participants:
Linked BF Score: 135

 Description   

SERVER-45338 added a dedicated mono-threaded executor to be used for moveChunk commands (then moved to manage moveRange commands starting from v6.0) but there seems to be no reason to keep on using a separate executor rather than picking a thread from the fixed executor.

The reason behind this comment seems to be that the idea was having a one-threaded executor to guarantee that only one migration at a time could run, however the same guarantee is already provided by the ActiveMigrationsRegistry.



 Comments   
Comment by Githook User [ 13/Apr/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-75639 Remove dedicated executor for moveChunk/moveRange commands
Branch: v6.3
https://github.com/mongodb/mongo/commit/613ec33b04f046be90c457d0226e8f154e1b285d

Comment by Githook User [ 12/Apr/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-75639 Remove dedicated executor for moveChunk/moveRange commands
Branch: v6.0
https://github.com/mongodb/mongo/commit/dbd86279b761c4c9709d663f74b09330d394fda3

Comment by Githook User [ 05/Apr/23 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-75639 Remove dedicated executor for moveChunk/moveRange commands
Branch: master
https://github.com/mongodb/mongo/commit/74641e01217dfcae9a7d14fd4dcc329af2d489c7

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