Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-3023 Re-implement BoundedConcurrentHashMap using CHMv8 designs

* Had to remove Equivalence support

    • -1
    • +3
    ./decorators/BatchAsyncCacheStoreTest.java
  1. … 16 more files in changeset.
ISPN-3290 Redesign CacheStore API

* removed migration tools (outdated)

ISPN-3290 Redesign CacheStore API

* removed pre 6.0 parsers and config files

ISPN-3290 Redesign CacheStore API

* removed existing SPI and store support classes: bucket based, lock support

ISPN-3290 Redesign CacheStore API

* new loader/writer SPI

ISPN-3290 Redesign CacheStore API

* implemented the cache store chaining logic

ISPN-3290 Redesign CacheStore API

* updated configuration

ISPN-3290 Redesign CacheStore API

* SingleFileCacheStore migration

ISPN-3290 Redesign CacheStore API

* migrate the JDBC cache store

ISPN-3290 Redesign CacheStore API

* removed old adaptor classes

ISPN-3290 Redesign CacheStore API

* migrate lucene loaders

ISPN-3290 Redesign CacheStore API

* migrate JCache adapters

ISPN-3290 Redesign CacheStore API

* migrate the remote cache store

ISPN-3290 Redesign CacheStore API

* migrated the cluster store

ISPN-3290 Redesign CacheStore API

* bug fix: for named components (the marshaller) it wrongly considered it as a global component

ISPN-3290 Redesign CacheStore API

* fixed tests and code scrubbing

ISPN-3290 Redesign CacheStore API

Answered the review comments

* fixed spelling error

* improved javadoc

* InitializationContext.getConfiguration is generic now to avoid casts

ISPN-3290 Redesign CacheStore API

* fixed race condition in async cache store

ISPN-3290 Redesign CacheStore API

* fixed test timing out due to marshaller being created on every request

    • -696
    • +0
    ./decorators/AsyncStoreTest.java
    • -305
    • +0
    ./decorators/ChainingCacheLoaderTest.java
    • -35
    • +0
    ./decorators/ReadOnlyCacheStoreTest.java
    • -46
    • +0
    ./dummy/DummyInMemoryCacheStoreConfiguration.java
    • -71
    • +0
    ./dummy/DummyInMemoryCacheStoreConfigurationBuilder.java
    • -25
    • +0
    ./dummy/DummyInMemoryCacheStoreFunctionalTest.java
    • -27
    • +0
    ./dummy/DummyInMemoryCacheStoreTest.java
    • -21
    • +0
    ./file/FileCacheStorePerWriteTest.java
    • -14
    • +0
    ./file/FileCacheStorePeriodicTest.java
    • -116
    • +0
    ./file/SingleFileCacheStoreFunctionalTest.java
  1. … 498 more files in changeset.
Revert "ISPN-3318 Automated upgradable path for file store consumers"

This reverts commit 16dc707f760c4dc5e1c887f26da7294a80c54d87.

    • -0
    • +93
    ./file/BoundedSingleFileCacheStoreTest.java
    • -209
    • +0
    ./file/BucketFileCacheStoreTest.java
    • -1
    • +1
    ./file/FileCacheStorePerWriteTest.java
    • -21
    • +0
    ./file/BucketFileCacheStorePerWriteTest.java
    • -1
    • +1
    ./file/FileCacheStorePeriodicTest.java
    • -14
    • +0
    ./file/BucketFileCacheStorePeriodicTest.java
    • -38
    • +145
    ./file/FileCacheStoreTest.java
    • -131
    • +0
    ./file/FileCacheStoreUpgradeTest.java
    • -0
    • +116
    ./file/SingleFileCacheStoreFunctionalTest.java
    • -0
    • +68
    ./file/SingleFileCacheStoreTest.java
  1. … 22 more files in changeset.
ISPN-3463 Ensure persistent data removal before or after the test

    • -0
    • +1
    ./decorators/BatchAsyncCacheStoreTest.java
  1. … 3 more files in changeset.
ISPN-3388 Support Legacy cache stores

    • -0
    • +391
    ./legacy/LegacyCacheStore.java
    • -0
    • +26
    ./legacy/LegacyCacheStoreFunctionalTest.java
  1. … 26 more files in changeset.
ISPN-3405 Cache stores hashing keys should use configured Equivalence

* Removed Bucket externalizer since it complicated injection of

per-cache equivalence function.

* Created EquivalentLinkedHashMap for the single file cache store

to be able to locate keys requiring Equivalence function in memory.

    • -3
    • +36
    ./BaseCacheStoreFunctionalTest.java
  1. … 17 more files in changeset.
ISPN-3318 Automated upgradable path for file store consumers

* Remove SingleFileCacheStore and related files and ported the code

over to FileCacheStore.

* Old FileCacheStore logic moved to BucketFileCacheStore which is

package private in order to avoid instantiation.

* FileCacheStore can now detect old bucket-based data structure and

it can upgrade it, providing a backup for the old data.

* Backup is still accessible, by enabling the deprecatedBucketFormat

configuration attribute, in which case the old bucket-based

FileCacheStore is used.

* In order to avoid having to replicate the configuration hierarchy

for the old, bucket-based cache store, created a delegate cache store

which delegates to the correct cache file cache store (new, or bucket

based), depending on whether the deprecatedBucketFormat flag was

enabled or not.

* This is not ideal and in fact I suggest some alternative solution

as comment in the code.

    • -93
    • +0
    ./file/BoundedSingleFileCacheStoreTest.java
    • -1
    • +1
    ./file/BucketFileCacheStorePerWriteTest.java
    • -21
    • +0
    ./file/FileCacheStorePerWriteTest.java
    • -1
    • +1
    ./file/BucketFileCacheStorePeriodicTest.java
    • -14
    • +0
    ./file/FileCacheStorePeriodicTest.java
    • -0
    • +209
    ./file/BucketFileCacheStoreTest.java
    • -145
    • +38
    ./file/FileCacheStoreTest.java
    • -0
    • +131
    ./file/FileCacheStoreUpgradeTest.java
    • -116
    • +0
    ./file/SingleFileCacheStoreFunctionalTest.java
    • -68
    • +0
    ./file/SingleFileCacheStoreTest.java
  1. … 22 more files in changeset.
ISPN-2272 Remove the use of deprecated methods from the core test suite (including utility classes used by other tests) and all other modules affected by this

    • -43
    • +28
    ./BaseCacheStoreFunctionalTest.java
    • -34
    • +28
    ./CacheLoaderFunctionalTest.java
    • -11
    • +15
    ./ConcurrentLoadAndEvictTest.java
    • -10
    • +10
    ./ReplicatedSharedEvictingLoaderTest.java
    • -19
    • +15
    ./decorators/BatchAsyncCacheStoreTest.java
    • -35
    • +25
    ./decorators/SingletonStoreTest.java
    • -1
    • +8
    ./dummy/DummyInMemoryCacheStoreConfiguration.java
  1. … 232 more files in changeset.
ISPN-2806 Rename Karsten's file cache store and add configuration

* Renamed the cache store to a more meaningful name.

* Added new style configuration and configuration builder classes.

* Modified parser to deal with new single file cache store.

* Added tests that verify single file cache store configuration.

    • -0
    • +86
    ./file/BoundedSingleFileCacheStoreTest.java
    • -0
    • +101
    ./file/SingleFileCacheStoreFunctionalTest.java
    • -0
    • +61
    ./file/SingleFileCacheStoreTest.java
  1. … 12 more files in changeset.
ISPN-3276 Migrate the CacheLoader API to use org.infinispan.configuration

ISPN-3343 Write up CacheLoaderConfiguration and corresponding Builder for Lucene module

    • -38
    • +0
    ./AbstractCacheStoreConfigTest.java
    • -0
    • +2
    ./ClassLoaderManagerDisablingTest.java
    • -0
    • +2
    ./WriteSkewCacheLoaderFunctionalTest.java
  1. … 225 more files in changeset.
ISPN-3262 Check cache status before loading keys in LevelDBCacheStore

    • -198
    • +70
    ./MultiCacheStoreFunctionalTest.java
  1. … 2 more files in changeset.
ISPN-3262 Check cache status before loading keys in LevelDBCacheStore

Conflicts:

cachestore/leveldb/src/main/java/org/infinispan/loaders/leveldb/LevelDBCacheStore.java

    • -176
    • +70
    ./MultiCacheStoreFunctionalTest.java
  1. … 2 more files in changeset.
ISPN-3185 License and copyright header update

    • -22
    • +0
    ./AbstractCacheStoreConfigTest.java
    • -22
    • +0
    ./BaseCacheStoreFunctionalTest.java
    • -18
    • +0
    ./ClassLoaderManagerDisablingTest.java
    • -22
    • +0
    ./ConcurrentLoadAndEvictTxTest.java
  1. … 3156 more files in changeset.
ISPN-3260 Split common API and classes into infinispan-commons

    • -2
    • +2
    ./dummy/DummyInMemoryCacheStoreConfiguration.java
    • -1
    • +1
    ./dummy/DummyInMemoryCacheStoreConfigurationBuilder.java
  1. … 855 more files in changeset.
ISPN-3275 Drop ByteArrayKey

    • -11
    • +0
    ./BaseCacheStoreFunctionalTest.java
    • -14
    • +1
    ./keymappers/DefaultTwoWayKey2StringMapperTest.java
  1. … 11 more files in changeset.
ISPN-3262 Add base test for clustered cache stores and impl for LevelDB

    • -0
    • +267
    ./MultiCacheStoreFunctionalTest.java
  1. … 1 more file in changeset.
ISPN-3262 Add base test for clustered cache stores and impl for LevelDB

    • -0
    • +267
    ./MultiCacheStoreFunctionalTest.java
  1. … 1 more file in changeset.
ISPN-3217 Rebalance doesn't store data into cache store

In non-tx mode, if the originator of a put command is an owner, it will

only write the entry when the command is forwarded back to it by the

primary owner. But this rule shouldn't apply to state transfer puts,

which use the CACHE_MODE_LOCAL and SKIP_OWNERSHIP_CHECK flags.

DistCacheStoreInterceptor is now used for replicated caches as well.

  1. … 4 more files in changeset.
ISPN-3217 Rebalance doesn't store data into cache store

In non-tx mode, if the originator of a put command is an owner, it will

only write the entry when the command is forwarded back to it by the

primary owner. But this rule shouldn't apply to state transfer puts,

which use the CACHE_MODE_LOCAL and SKIP_OWNERSHIP_CHECK flags.

DistCacheStoreInterceptor is now used for replicated caches as well.

  1. … 4 more files in changeset.
ISPN-3216 NullPointerException when preload with AsyncStore in Transactional caches

    • -0
    • +192
    ./PreloadWithAsyncStoreTest.java
  1. … 1 more file in changeset.
ISPN-3216 NullPointerException when preload with AsyncStore in Transactional caches

    • -0
    • +192
    ./PreloadWithAsyncStoreTest.java
  1. … 1 more file in changeset.
ISPN-3161 ClusterFileCacheStoreFunctionalTest.testRestoreTransactionalAtomicMap fails intermittently

    • -2
    • +21
    ./file/ClusterFileCacheStoreFunctionalTest.java
Remove deprecated methods/config/assert from ClusterFileCacheStoreFunctionalTest

    • -34
    • +31
    ./file/ClusterFileCacheStoreFunctionalTest.java
ISPN-3144 Reduce per-entry memory consumption

* For Embedded, Hot Rod, REST and Memcached endpoints.

* Internal cache entries no longer have a internal cache value

reference, instead they store data directly.

* Made mime metadata for REST more space efficient.

* Adjust externalizer implementations for Mime and Memcached so

that they avoid sending expiration info if not needed.

  1. … 18 more files in changeset.
ISPN-761 Cache.keySet(),entrySet(),values(),size() ignore contents of cache loader

* Added support for entrySet, keySet, values and size to include passivated entries

* Added test cases for each method

    • -5
    • +8
    ./decorators/AsyncStoreEvictionTest.java
    • -1
    • +1
    ./decorators/BatchAsyncCacheStoreTest.java
  1. … 23 more files in changeset.
ISPN-1990 Preload working with write skew caches

* Preload can now read the metadata from the cache store and put it

in the cache.

* Adjust versioning interceptor logic to apply version information

only when needed.

    • -0
    • +130
    ./WriteSkewCacheLoaderFunctionalTest.java
  1. … 4 more files in changeset.
ISPN-3085 ExpiryTest intermittent failure

  1. … 2 more files in changeset.
ISPN-3078 @AfterMethod/alwaysRun and alike are not used correctly

    • -1
    • +1
    ./decorators/BatchAsyncCacheStoreTest.java
    • -1
    • +1
    ./decorators/ChainingCacheLoaderTest.java
    • -1
    • +1
    ./dummy/DummyInMemoryCacheStoreFunctionalTest.java
    • -1
    • +1
    ./file/ClusterFileCacheStoreFunctionalTest.java
    • -1
    • +1
    ./file/FileCacheStoreFunctionalTest.java
  1. … 153 more files in changeset.
ISPN-3069 TimeService implementation

    • -2
    • +2
    ./decorators/ChainingCacheLoaderTest.java
  1. … 96 more files in changeset.
because of alwaysRun = true in @AfterTest, teardown methods are being invoked even if the setup methods haven't been executed, resulting in NPE's when trying to shutdown uninitialized resources

  1. … 4 more files in changeset.