[infinispan-dev] BucketBasedCacheStore#loadBucket does not set the bucketName

Adrian Cole ferncam1 at gmail.com
Thu Apr 9 12:40:46 EDT 2009


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




More information about the infinispan-dev mailing list