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

Add and use a fail point to wait for user cache invalidation

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Security 2021-03-22
    • 14

      Currently, if we want to wait for a cached user to be invalidated, we have to set the authLocalGetUser fail point. This in of itself does not guarantee that we experience cache invalidation because external delays may be greater than the delay associated with that fail point. We should have a separate fail point that explicitly waits for cache invalidation. Then we can use that fail point with user-cache-invalidation.js.

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: