Allow users to retry a configureQueryAnalyzer command to disable query sampling

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Sharding NYC 2023-05-29
    • 35
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The configureQueryAnalyzer command currently has a uassert that would throw if a user tries to disable query sampling while query is not active. While such warning can be useful, it has caused the command to be non-retryable across failover or network errors. For this reason, uassert should be replaced with a warning log message instead.

              Assignee:
              Cheahuychou Mao
              Reporter:
              Cheahuychou Mao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: