Clone
Dan Berindei <dan@infinispan.org>
committed
on 04 Dec 18
ISPN-7889 BaseDistributionInterceptor.remoteGet may cause concurrency issues
* Rename remoteGet to remoteGetSingleKey and use it only for si… Show more
ISPN-7889 BaseDistributionInterceptor.remoteGet may cause concurrency issues

* Rename remoteGet to remoteGetSingleKey and use it only for single-key

 commands.

* Rename remoteGetAll to remoteGetMany and use it for all multi-key

 commands.

* Throw OutdatedTopologyException.RETRY_SAME_TOPOLOGY after receiving

 only UnsureResponses and RETRY_NEXT_TOPOLOGY if there was at least one

 CacheNotFoundResponse (and no valid response).

* Make remote scattered reads wait for the right topology

* Improve support for PartitionHandling.ALLOW_READS in scattered caches.

* Make partition availability checks more readable.

* Add asynchronous methods in ControlledRpcManager

Show less