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

Mongos retargeting logic in stepdown hooks should skip views

    XMLWordPrintableJSON

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: