Infinispan

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-2788 NullPointerException appears in case passing null as an exclusion list to LuceneCacheLoader.loadAllKeys()

ISPN-2789 OutOfMemoryError in case if LuceneCacheLoader.loadAll() is called

Ensure ConditionalOperationsConcurrentTest worker threads stop at the end of each test method.

Ensure ConditionalOperationsConcurrentTest worker threads stop at the end of each test method.

ISPN-2869 Optimize GridInputStream.skip()

* Simplify GridInputStream

* Improved test for GridInputStream.skip() & small bug fix

* Add test for GridInputStream.available()

Revert "ISPN-2817 Create a locate() API on the Java Hot Rod client"

This reverts commit ff27bd93ade01effaef75df5f6b6ae49701b99f4.

Revert "ISPN-2817 Create a locate() API on the Java Hot Rod client"

This reverts commit 8fa1237642668514f82d9374620c02429696f7d4.

ISPN-2688 BaseDistributionInterceptor and TxDistributionInterceptor do not detect properly if the key needs to be fetched remotely

Fixes TxDistributionInterceptor by doing an extra local lookup if the value returned by method remoteGetAndStoreInL1() is null.

If there was a state transfer in progress at the time TxDistributionInterceptor tried to determine if it needs to go remotely or not the decision might be invalid now and the value might be available locally.

The non-tx case is differrently implemented and is not fixed. Added OperationsDuringStateTransferTest to highlight the issue.

ISPN-2839 Method boolean Cache.replace(K key, V oldValue, V value) (and variants) should guard against null oldValue parameter

Add explicit null check and test case to cover it.

ControlledCommandFactory.registerControlledCommandFactory() does not actually register the ControlledCommandFactory into the ComponentRegistry

The method is also duplicated into ControlledCommandFactory instead of being reused.

ISPN-2688 BaseDistributionInterceptor and TxDistributionInterceptor do not detect properly if the key needs to be fetched remotely

Fixes TxDistributionInterceptor by doing an extra local lookup if the value returned by method remoteGetAndStoreInL1() is null.

If there was a state transfer in progress at the time TxDistributionInterceptor tried to determine if it needs to go remotely or not the decision might be invalid now and the value might be available locally.

The non-tx case is differrently implemented and is not fixed. Added OperationsDuringStateTransferTest to highlight the issue.

ISPN-2824 Add support for JSR-107 Cache.invokeEntryProcessor()

* It uses an optimistic method based around reference copying and

conditional, CAS-like, cache operations to provide perceived exclusive

data access.

* It also adds per-key locking for when keys are used by the entry

processor in order to necessary delays to operations.

* To avoid affecting performance of normal CRUD cache operations,

it checks whether a key is locked before trying to acquire the lock

for it. If it's locked, it means it's in use by an entry processor.

Update to 5.2.2-SNAPSHOT

  1. … 27 more files in changeset.
ISPN-2503 Re-enable FD_SOCK in the test suite

ISPN-2839 Method boolean Cache.replace(K key, V oldValue, V value) (and variants) should guard against null oldValue parameter

Add explicit null check and test case to cover it.

ControlledCommandFactory.registerControlledCommandFactory() does not actually register the ControlledCommandFactory into the ComponentRegistry

The method is also duplicated into ControlledCommandFactory instead of being reused.

ISPN-2584 BackupReceiver survives cache shutdown - on each cache.stop() the backup cache is removed from the backup receiver repository

ISPN-2584 BackupReceiver survives cache shutdown - on each cache.stop() the backup cache is removed from the backup receiver repository

ISPN-2767 Add defensive copying option for storeAsBinary functionality

* This enables true, store-as-value, functionality within Infinispan.

* It's required by the JSR-107 specification.

ISPN-2788 NullPointerException appears in case passing null as an exclusion list to LuceneCacheLoader.loadAllKeys()

ISPN-2789 OutOfMemoryError in case if LuceneCacheLoader.loadAll() is called

ISPN-2832 upgrade to JGroups 3.3.0.Alpha2

    • -1
    • +0
    /core/src/main/resources/jgroups-ec2.xml
    • -1
    • +0
    /core/src/main/resources/jgroups-tcp.xml
    • -1
    • +0
    /core/src/main/resources/jgroups-udp.xml
    • -1
    • +0
    /core/src/test/resources/stacks/tcp.xml
    • -1
    • +0
    /core/src/test/resources/stacks/udp.xml
ISPN-2843 Add new tests for Query Module

* New tests are added covering queries with ranges, phrases, keywords and wildcards.

* Spatial queries are added.

ISPN-2827 Don't cause an NPE when a JMX query returns no results

ISPN-2827 Don't cause an NPE when a JMX query returns no results

ISPN-2828 The locate command in the CLI supports session and per-statement encoding of the key to calculate its location in the cluster

ISPN-2828 The locate command in the CLI supports session and per-statement encoding of the key to calculate its location in the cluster

ISPN-2746 testDistributedPutWithTopologyChanges test randomly fails on all environments

The test wasn't properly waiting for the rebalance to end on the

servers before checking the topology id.

ISPN-2746 testDistributedPutWithTopologyChanges test randomly fails on all environments

The test wasn't properly waiting for the rebalance to end on the

servers before checking the topology id.

ISPN-2781 NPE in AbstractTopologyAwareEncoder1x

Copy the address cache into a regular map before generating the

topology response, to protect from changes from other threads.

Send "partial" topology responses even if not all CH members are

in the address cache. This allows the client to remove leaving

HotRod servers from its CH, even when one of the nodes doesn't

have a HotRod endpoint.