[SERVER-50837] Make sure that donorForgetMigration command can be retried Created: 09/Sep/20  Updated: 29/Oct/23  Resolved: 09/Sep/20

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

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding 2020-09-21
Participants:

 Description   

The donorForgetMigration command calls onReceiveDonorForgetMigration which currently always emplaces the promise so this causes the command to fail on retry since a promise can only be emplaced once.



 Comments   
Comment by Githook User [ 11/Sep/20 ]

Author:

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

Message: SERVER-50837 Make sure that donorForgetMigration command can be retried
Branch: svilen-optimizer-poc
https://github.com/mongodb/mongo/commit/ee106b978c7466bdd325cfb9f3f029d3769b1c1b

Comment by Githook User [ 09/Sep/20 ]

Author:

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

Message: SERVER-50837 Make sure that donorForgetMigration command can be retried
Branch: master
https://github.com/mongodb/mongo/commit/ee106b978c7466bdd325cfb9f3f029d3769b1c1b

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