[SERVER-71179] Update the ShardSplitCommands to use the TenantId class Created: 08/Nov/22  Updated: 29/Oct/23  Resolved: 28/Nov/22

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

Type: Task Priority: Major - P3
Reporter: Mathis Bessa Assignee: Mathis Bessa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes SERVER-71517 Coverity analysis defect 134186: AUTO... Closed
Related
related to SERVER-70913 Investigate changes needed to ShardSp... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-11-14, Server Serverless 2022-11-28
Participants:

 Description   

Change the Shard Split Commands (commitShardSplit) to use a vector<tenant_id> instead of vector<string>. Part of the change could include a couple helper methods to convert a vector<tenant_id> to a vector<string> (StringData) and vector<string> to a vector<tenant_id>. We should also change the javascript code to support the change in the parameter. Also making necessary changes at the shard_split_test api. We should also make changes to the shard split passthrough to also support the proper object if necessary.



 Comments   
Comment by Githook User [ 18/Nov/22 ]

Author:

{'name': 'mathisbessamdb', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-71179 Update the ShardSplitCommands to use the TenantId class
Branch: master
https://github.com/mongodb/mongo/commit/4fd85ab061c1b31af3d641d743420d66ce25cf5c

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