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

Mongos retargeting logic in stepdown hooks should skip views

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.15, 6.3.0-rc0, 6.0.5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v6.2, v6.0, v5.0
    • Sharding EMEA 2023-01-23

      In the python stepdown hook, as part of pausing the stepdown thread we currently wait for mongos to retarget all shards.

      In order to ensure that the mongos can target all the primaries nodes of all the replicasets in the cluster we call collStats for every existing collection/view. This logic is wrong because collStats can't be executed in views.

            Assignee:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: