Account for the time mongos takes to update config server

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding NYC
    • Fully Compatible
    • ALL
    • Sharding NYC 2023-10-16
    • 35
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In repl_monitor_refresh.js, we start a sharding test with 1 shard that specifies 3 nodes. With auto-bootstrap, there is an auto initialization in the beginning which makes it necessary to be a reconfig when there are particular setting specified(like number of nodes). Mongos needs to update the config server on a topology state change so change the assert here to be an assert.soon in the case that mongos is a bit slow triggering the update. 

            Assignee:
            Kruti Shah
            Reporter:
            Kruti Shah
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: