mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-16 04:54:47 +00:00
The behaviour of Caffeine cache invalidation calls is "undefined for an entry that is being loaded (or reloaded)" - this causes a nasty race condition in CachedDataManager, because we rely on the call to #invalidate to completely clear the cache and prevent old/outdated data from sticking around & being used for permission queries. This is an unfortunate characteristic of Caffeine, because other than that, it is perfect for our use-case.