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

Make sure query sampling works correctly after DDL operations

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc1
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Sharding NYC 2023-05-01

    Description

      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. 

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: