[SERVER-54098] [cleanup] Make TenantMigrationDonorService's checkIfOptionsConflict take in TenantMigrationDonorDocument instead of BSONObj Created: 28/Jan/21  Updated: 29/Oct/23  Resolved: 28/Jan/21

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

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: pm-1791_polish
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2021-02-08
Participants:

 Description   

TenantMigrationDonorService::Instance::checkIfOptionsConflict currently takes in BSONObj and reparses the BSONObj into TenantMigrationDonorDocument. We should just pass the TenantMigrationDonorDocument
constructed here similar to what the recipient side does.



 Comments   
Comment by Githook User [ 28/Jan/21 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-54098 Make TenantMigrationDonorService's checkIfOptionsConflict take in TenantMigrationDonorDocument instead of BSONObj
Branch: master
https://github.com/mongodb/mongo/commit/da30ce1eb1884dd54bcb005da128b43ef4038bbf

Generated at Thu Feb 08 05:32:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.