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

Make sure that dropDatabase, dropCollection and renameCollection on replica set delete the config.queryAnalyzers doc for the collection being dropped or renamed

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • Cluster Scalability

    Description

      Currently, the config.queryAnalyzers document is only deleted upon dropCollection, dropDatabase or renameCollection on a sharded cluster since there isn't a way to atomically delete associated metadata for a collection atomically with the dropCollection, dropDatabase or renameCollection command (in the sharded cluster case, the deletion of config.queryAnalyzers document is performed by the sharding DDL coordinators along with other config metadata documents). 

      Attachments

        Activity

          People

            backlog-server-cluster-scalability Backlog - Cluster Scalability
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: