[SERVER-47047] Add tests that mongos does not mark a node as down when reads fail Created: 23/Mar/20  Updated: 29/Oct/23  Resolved: 13/Apr/20

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.4.0-rc2, 4.7.0

Type: Task Priority: Major - P3
Reporter: Janna Golden Assignee: Cheahuychou Mao
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
Backport Requested:
v4.4
Sprint: Service arch 2020-04-20
Participants:

 Description   

MongoS should not mark a node as down when a read fails. In order to test this, create a test where a primary node fails all "find" commands and check that mongos does not mark this node as down. Do the same for a secondary when readPref is secondary.



 Comments   
Comment by Githook User [ 14/Apr/20 ]

Author:

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

Message: SERVER-47047 Add tests that mongos does not mark a node as down when reads fail

(cherry picked from commit b4f1c5ed8af0ed6340c1795071ed061ae7facf14)
Branch: v4.4
https://github.com/mongodb/mongo/commit/8b81217b65fa99c2391d248a879a43749e2f16b4

Comment by Githook User [ 13/Apr/20 ]

Author:

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

Message: SERVER-47047 Add tests that mongos does not mark a node as down when reads fail
Branch: master
https://github.com/mongodb/mongo/commit/b4f1c5ed8af0ed6340c1795071ed061ae7facf14

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