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.
- is related to
-
SERVER-52253 Enable feature flag for Improved change stream handling of cluster topology changes
- Closed