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

dbhash does not invalidate cache for collection or DB level operations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • 3.3.0
    • 3.3.1
    • Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • TIG F (01/29/16)
    • 0

    Description

      The dbhash cache stores an entry for each namespace.

      Collection or DB level operations pass in the namespace "[DB_NAME].$cmd". So only the entry for [DB_NAME].$cmd is invalidated when one of these operations is called.

      When we run dbhash on a collection that has been dropped and recreated (e.g. [DB_NAME].abcd), the old and incorrect value of the dbhash is used.

      Attachments

        Issue Links

          Activity

            People

              robert.guo@mongodb.com Robert Guo (Inactive)
              robert.guo@mongodb.com Robert Guo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: