Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-77247

Allow users to retry a configureQueryAnalyzer command to disable query sampling

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Cheahuychou Mao
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: