Make configureQueryAnalyzer command fail with a more user-friendly message when a user runs it directly against a shard

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0, 7.0.0-rc5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v7.0
    • Sharding NYC 2023-06-26
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Today If a user runs configureQueryAnalyzer directly against a shard, it would fail with an IllegalOperation error with the message "Received request without the version for the database <databaseName>". We should make it fail a message explaining that it is illegal to run it against a shard. 

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

                Created:
                Updated:
                Resolved: