When in BucketBasedCacheStore.removeLockSafe, the following is called:
Bucket bucket = loadBucket(keyHashCodeStr);
now, the bucket returned does not always have its name set (at least
in the BaseCacheStoreTest:402)
I would suggest to either enforce bucket's immutable name field, or
ensure it is set on all options. Otherwise, all cachestore
implementations have to check this individually.
WDYT?
-Adrian