Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-61665

Ensure read is directed to hanging secondary node in secondary_reads_waitForShardingInit.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • 36

      In secondary_reads_waitForShardingInit.js, we should ensure read is directed to hanging secondary node instead of any other secondary node. 

      Currently, we do it by hiding another secondary node by reconfiguring the replica set. But, we did not wait for the node becoming hidden. So, the secondary preference read still get chance to be directed to another secondary node instead of the hanging secondary node.

            Assignee:
            sophia.tan@mongodb.com Sophia Tan
            Reporter:
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: