mirror of
https://github.com/minio/minio.git
synced 2024-12-29 08:33:21 -05:00
f8a16dd22b
- To avoid race in expiration while accessing memory driver structs with in two competing write locks. Use lru Len() instead to know exact length to schedule for eviction. - squash both bucket and object structs, instead use a separate map to keep mutable info of lastAccessTime which can be independently used inside the expiration routine. |
||
---|---|---|
.. | ||
lru | ||
memory_test.go | ||
memory.go |