[SERVER-57710] Ignore "can't connect to new replica set primary" in tenant dbhash check hook Created: 15/Jun/21  Updated: 29/Oct/23  Resolved: 16/Jun/21

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

Type: Bug Priority: Major - P3
Reporter: Jason Zhang Assignee: Jason Zhang
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Sharding 2021-06-28
Participants:

 Description   

Similar to the issue in SERVER-51893, we should ignore errors related to connecting to the new primary because in the kill and terminate passthroughs we could encounter the case where there's a failover while we're doing a tenant dbhash check. In that scenario we should retry the dbhash check work on the new primary instead of throwing.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 17/Jun/21 ]

Author:

{'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}

Message: SERVER-57710 Ignore "can't connect to new replica set primary" in tenant dbhash check hook

(cherry picked from commit 02e789a65916d2ec180a6d49a6114f92cd9ff36f)
Branch: v5.0
https://github.com/mongodb/mongo/commit/5a67dc658789cb394bd76dae0b9bf07985943a62

Comment by Githook User [ 16/Jun/21 ]

Author:

{'name': 'Jason Zhang', 'email': 'jason.zhang@mongodb.com', 'username': 'jz1242'}

Message: SERVER-57710 Ignore "can't connect to new replica set primary" in tenant dbhash check hook
Branch: master
https://github.com/mongodb/mongo/commit/02e789a65916d2ec180a6d49a6114f92cd9ff36f

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