[SERVER-41910] Make RSM::getMatchingHosts return multiple hosts in the presence of tags Created: 25/Jun/19  Updated: 29/Oct/23  Resolved: 01/Jul/19

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Improvement Priority: Major - P3
Reporter: Shaileja Jain (Inactive) Assignee: Shaileja Jain (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-51835 Mongos readPreferenceTags are not wor... Closed
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2019-07-01, Service Arch 2019-07-15
Participants:

 Description   

Currently, calling RSM::getMatchingHosts with SecondaryOnly and multiple tags, will iterate through each tag, and if exactly one host matches a particular tag, it will return immediately. Instead, it should return all secondaries that match any specified tag. 



 Comments   
Comment by Githook User [ 01/Jul/19 ]

Author:

{'name': 'Shaileja Jain', 'email': 'shaileja.jain@gmail.com', 'username': 'shailejajain'}

Message: SERVER-41910 Make RSM return mulitple hosts in the presence of tags
Branch: master
https://github.com/mongodb/mongo/commit/171fe8052de7705247e24f33ec5cf19c05bad193

Generated at Thu Feb 08 04:59:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.