[SERVER-65645] IDL-ify all commands on the chunk migration path Created: 14/Apr/22  Updated: 27/Jun/22  Resolved: 22/Jun/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Enrico Golfieri
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes SERVER-67511 MoveChunkCmd should runCommand withou... Closed
Related
is related to SERVER-20742 Stop sending epoch to mongod on move ... Closed
Sprint: Sharding EMEA 2022-05-02, Sharding EMEA 2022-05-16, Sharding EMEA 2022-05-30, Sharding EMEA 2022-06-13, Sharding EMEA 2022-06-27
Participants:

 Description   

This ticket is to convert all commands on the chunk migrations path into IDL rather than using custom parsing and to introduce timestamps wherever they are missing.

The chunk migrations path is:

  1. moveChunk on MongoS
  2. _configsvrMoveChunk on the CSRS
  3. _shardsvrMoveChunk on the donor shard
  4. _configsvrCommitChunkMigration on the CSRS

Commands which are on the Router only should be put under cluster_commands.idl so they only link on MongoS

Commands which are exchanged between Router and CSRS or Shards should be under sharded_ddl_commands.idl so they are linked both on MongoS and MongoD

Commands which are exchanged between Shards/CSRS only should be in an IDL under https://github.com/mongodb/mongo/tree/master/src/mongo/db/s so that they link on MongoD only.



 Comments   
Comment by Githook User [ 23/Jun/22 ]

Author:

{'name': 'Enrico Golfieri', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}

Message: SERVER-65645 IDL-ify all commands on the chunk migration path
Branch: davish/SERVER-63099
https://github.com/mongodb/mongo/commit/ad2b9ae23ad19f871f2033dc338c96ad9aa8d161

Comment by Githook User [ 22/Jun/22 ]

Author:

{'name': 'Enrico Golfieri', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}

Message: SERVER-65645 IDL-ify all commands on the chunk migration path
Branch: master
https://github.com/mongodb/mongo/commit/ad2b9ae23ad19f871f2033dc338c96ad9aa8d161

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