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

dbhash does not invalidate cache for collection or DB level operations

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.1
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      TIG F (01/29/16)
    • Linked BF Score:
      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

              Assignee:
              robert.guo Robert Guo
              Reporter:
              robert.guo Robert Guo
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: