]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
posixdriver: properly destruct BucketCacheEntry objects
authorMatt Benjamin <mbenjamin@redhat.com>
Wed, 26 Nov 2025 21:54:45 +0000 (16:54 -0500)
committerMatt Benjamin <mbenjamin@redhat.com>
Tue, 24 Feb 2026 18:25:21 +0000 (13:25 -0500)
commit0ec4d20bc36fe53c9dc5fd1b10838f0d6e2f46aa
treee990e859cf0ca47b52ac5a112371a3a8829588bc
parent167118b196ea8912dd511182c5a7b456bd0e80b3
posixdriver:  properly destruct BucketCacheEntry objects

* avoids leak of database handles during eviction

Also adds missing return-ref in invalidate_entry--this would
leak a cache entry.

With this change, we can now tolerate indefinite s3-test runs
wit rgw_posix_cache_max_buckets=100.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
src/rgw/driver/posix/bucket_cache.h