Tolerate v2 change stream explain failures in query shape hash stability override

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0
    • Affects Version/s: None
    • Component/s: Stability
    • None
    • Query Optimization
    • Fully Compatible
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Fixes BF-44945. Since SERVER-52253 enabled featureFlagChangeStreamPreciseShardTargeting, a v2 change stream on a view or timeseries collection returns ok on the initial aggregate and only fails on the first getMore. The query_shape_hash_stability override takes the ok response as a signal to rerun the command as explain on every node, and that explain fails with CommandNotSupportedOnView or CommandNotSupported, which the override did not tolerate. This made ban_from_views.js and timeseries.js fail in the change_streams_sharded_collections_query_shape_hash_stability_last_continuous_new_old suite.

            Assignee:
            Henri Nikku
            Reporter:
            Henri Nikku
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: