ExportXMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.1.0-rc0, 9.0.4
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • v9.0
    • QE 2026-07-20
    • 200
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      query_settings_knob_validation_pbt.js lowers stage memory-limit query knobs (e.g. documentSourceGroupMaxMemoryBytes) via setParameter. The AnalyzeShardKeysInBackground hook runs analyzeShardKey against the test collection in the background; analyzeShardKey's internal calculateCollStats aggregation runs a $group that does not set allowDiskUse, so under the lowered limit it fails with QueryExceededMemoryLimitNoDiskUseAllowed (code 292).

      Fix: exclude the test from the analyze_shard_key_jscore_passthrough suite via exclude_files, mirroring the existing handling in CheckMetadataConsistencyInBackground's SKIP_TESTS.

            Assignee:
            Catalin Sumanaru
            Reporter:
            Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: