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

Implement proper start/stop timestamp for configureQueryAnalyzer command

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sharding NYC
    • Fully Compatible
    • Sharding NYC 2023-04-17

      Currently, lastStartDate and lastStopDate of query analyzer settings document are updated only based on the mode ("full" or "off) of the command. If we really need these timestamps, the timestamps should only be updated if the actual state is changed by executing the command (i.e. no update if the mode is already "full" when the command specifies "full" mode).

      See `ConfigureQueryAnalyzerCmd::typedRun()`

            Assignee:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Reporter:
            israel.hsu@mongodb.com Israel Hsu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: