[SERVER-55172] Add and use a fail point to wait for user cache invalidation Created: 11/Mar/21  Updated: 29/Oct/23  Resolved: 22/Mar/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Improvement Priority: Major - P3
Reporter: Benjamin Caimano (Inactive) Assignee: Benjamin Caimano (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Security 2021-03-22
Participants:
Linked BF Score: 14

 Description   

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.



 Comments   
Comment by Githook User [ 22/Mar/21 ]

Author:

{'name': 'Ben Caimano', 'email': 'ben.caimano@10gen.com'}

Message: SERVER-55172 Add and use a fail point to wait for user cache invalidation
Branch: master
https://github.com/mongodb/mongo/commit/bab0267533bdcd0f6c82d43c52b43b5e9cdf0f3f

Generated at Thu Feb 08 05:35:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.