The config server must return a NotAvailable response to targeting requests from V2 change stream readers when the supporting feature flag is disabled

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2026-02-02
    • 🟥 DDL
    • None
    • None
    • None
    • None
    • None
    • None

      V2 Change stream readers rely on a distributed protocol that shard and config server nodes conditionally honor based on the value of the FCV gated featureFlagChangeStreamPreciseShardTargeting - and are expected to fall back to the previous behavior as soon as they can detect that the cluster has entered a downgrade process.

      Such a transition can be easily observed from mongos when (re)targeting requests are sent to the config server (the first replica set to switch its FCV state when a cluster downgrade is initiated): these requests are expexted be replied with a  NotAvailable state when the feature flag is disabled.

            Assignee:
            Paolo Polato
            Reporter:
            Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: