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

User acquisition shouldn't increment cache generation

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.2.3, 4.3.3
    • Security
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • Security 2019-12-30
    • 126

    Description

      The cache generation is used to decide whether user documents obtained during two separate calls are still "fresh". The generation is incremented whenever an "invalidating" event occurs, such as a user update, or a role deletion, etc. However, we're currently incrementing on user acquisition, which doesn't affect persisted state. This is probably harming our cache use, and causing mongos to frequently re-acquire user data.

      Attachments

        Activity

          People

            spencer.jackson@mongodb.com Spencer Jackson
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: