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

Make sure query sampling works correctly after DDL operations

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v7.0
    • Sharding NYC 2023-05-01

      If a collection with query sampling enabled is dropped via dropCollection, dropDatabase or renamed via renameCollection, query sampling should stop even if the collection is later recreated with the same name (in the drop case) or if the config.queryAnalyzers document has not been deleted (see SERVER-70479). Also, if the client later runs a configureQueryAnalyzer command enable query sampling again, the sampling should follow the new configuration. 

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

              Created:
              Updated:
              Resolved: