mirror of
https://github.com/minio/minio.git
synced 2025-01-15 16:53:16 -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.
objectdriver
Object Storage Driver