[SERVER-11997] User cache is invalidated too often and too crudely Created: 06/Dec/13  Updated: 11/Nov/14  Resolved: 05/May/14

Status: Closed
Project: Core Server
Component/s: Performance, Security, Sharding
Affects Version/s: None
Fix Version/s: 2.7.1

Type: Improvement Priority: Major - P3
Reporter: Andreas Nilsson Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-11980 Improve user cache invalidation enfor... Closed
is related to DOCS-3453 2.8 - change to userCacheInvalidation... Closed
Tested
Backwards Compatibility: Fully Compatible
Participants:

 Description   

On mongod the entire internal user cache is invalidated every time a user or role is updated.

On mongos the internal user cache is invalidated every ten minutes whether it's necessary or not.

In an ideal world:

  • The cache should only be updated when an actual relevant change is made.
  • Only the portion of the cache that was changed should be updated.


 Comments   
Comment by Githook User [ 05/May/14 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-11997 Make user cache invalidation finer grained
Branch: master
https://github.com/mongodb/mongo/commit/9aeb3d4c5a70f8fb3616c5aea22c15db86b0d6e1

Comment by Andreas Nilsson [ 06/Dec/13 ]

It's actually a separate issue even though they both relate to the user cache.

This one deals with performance, SERVER-11980 with security.

Comment by Alvin Richards (Inactive) [ 06/Dec/13 ]

andreas.nilsson@10gen.com Did you add this ticket so that we would validate the fix to SERVER-11980? If so then I'll move it to a task, add the template etc.

Generated at Thu Feb 08 03:27:19 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.