grpc-java icon indicating copy to clipboard operation
grpc-java copied to clipboard

rls: Make LinkedHashLruCache non-threadsafe

Open ejona86 opened this issue 1 year ago • 0 comments

CachingRlsLbClient already calls it with a lock held. The only reason the cache needs to manage the lock itself is for the periodic cleanup. Let the consumer of the cache handle the timer.


Just noticed I hadn't sent this out. This was done around the same time as #11124 (unrelated to the fallback RLS PR I just sent out).

ejona86 avatar May 13 '24 14:05 ejona86