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

Prevent insertions on all_shard_and_config_hosts_brought_down_one_by_one from timing out on slow variants

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0, 8.1.0-rc0
    • Affects Version/s: 7.0.0, 7.3.0-rc0, 8.0.0-rc0, 8.1.0-rc0
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0, v7.0
    • CAR Team 2024-09-16, 2024-09-03
    • 0

      The all_shard_and_config_hosts_brought_down_one_by_one.js runs multiple forced elections. Once a new primary is elected, a sync-up phase is needed in order to catch up from the old primary which could still have un-replicated changes. 
      On slow variant, that phase can take over 30s as it requires a round of heart beat on any node.

      Considering writes are blocked, an insertion might time out and fail. 
      The goal of the ticket is to either increase the insertion timeout or lowering the catchupTimeoutMillis for the config server replica set.

            Assignee:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Reporter:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: