[SERVER-54125] Make sure the recipient can fetch keys from the donor if it syncs data from a secondary Created: 28/Jan/21  Updated: 29/Oct/23  Resolved: 29/Jan/21

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

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

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

 Description   

The fetcher method currently specifies an empty query and since the default readPreference is {mode: primary}, this causes the recipient to fail to fetch the keys if it's syncing from a secondary node. That query should be created based on the readPreference in the recipientSyncData command. 



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

Author:

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

Message: SERVER-54125 Make sure the recipient can fetch keys from the donor if it syncs data from a secondary
Branch: master
https://github.com/mongodb/mongo/commit/0e97abfe3ee47cb11a6f5908e9d13d86ed0267b6

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