Remove unused internalQueryStatsRateLimit setParameter from query stats jstests for updates

XMLWordPrintableJSON

    • Query Integration
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Existing query-stats jstests for updates set both internalQueryStatsRateLimit: -1 and internalQueryStatsWriteCmdSampleRate: 1. For read commands only internalQueryStatsRateLimit is meaningful; for write commands only internalQueryStatsWriteCmdSampleRate is meaningful. Audit the existing query-stats read-only test files and prune the unneeded parameter.

      Affected files

      All under jstests/noPassthrough/query/queryStats/:

      • query_stats_modifier_update_key.js
      • query_stats_pipeline_update_key.js
      • query_stats_replacement_update_key.js
      • query_stats_timeseries_updates.js
      • query_stats_update_cmd_metrics.js
      • query_stats_update_num_ops.js
      • update_cmd_mongod_slow_query_log.js
      • update_cmd_mongos_slow_query_log.js
      • update_cmd_one_way_tokenization.js
      • update_cmd_query_shape_hash_consistency.js

      Excluded: query_stats_server_parameters.js — the parameters themselves are the subject under test, not redundant setup.

            Assignee:
            Unassigned
            Reporter:
            Chi-I Huang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: