Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-11475 Remove EntryVersionsMap

    • -2
    • +3
    ./AvailablePartitionHandlingManager.java
  1. … 15 more files in changeset.
ISPN-10770 Add generics to InvocationStage methods

  1. … 58 more files in changeset.
ISPN-10018 Coarse-grained logging categories

* Add categories for CONFIG, PERSISTENCE, SECURITY, CONTAINER

* Send all messages with log level >= INFO to the above

  1. … 173 more files in changeset.
ISPN-10310 Stop blocking in ClusterTopologyManagerImpl and LocalTopologyManagerImpl

* Remove BlockingClusterTopologyManager

* Add ConditionFuture to wait for a condition without blocking

* Enhance CheckPoint non-blocking methods to use a timeout and an executor

* Enhance BlockingLocalTopologyManager to not block the caller thread

* Rename AbstractInfinispanTest.getDefaultExecutorService() to testExecutor()

* TestingUtil cleanup, fix generics

* Replace some spies with mocks

The fact that spies copy state and they have lifecycle methods

is causing subtle behaviour changes, better to use mocks instead.

* Stop including cache that haven't joined yet in status response

f ltmi

  1. … 72 more files in changeset.
ISPN-10137 Add missing @Scope and @SurvivesRestarts

* @Scope is required on each component class, except when inherited

from superclass (interfaces don't count)

* @SurvivesRestarts must be duplicated on all subclasses

or implementing classes

  1. … 136 more files in changeset.
ISPN-10137 Make injected fields and methods package-private

  1. … 183 more files in changeset.
ISPN-8192 Deprecate CollectionFactory

  1. … 65 more files in changeset.
addressing review comments

    • -10
    • +26
    ./PartitionHandlingManagerImpl.java
  1. … 9 more files in changeset.
addressing review comments

    • -10
    • +26
    ./PartitionHandlingManagerImpl.java
  1. … 9 more files in changeset.
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

    • -31
    • +29
    ./PartitionHandlingInterceptor.java
    • -12
    • +57
    ./PartitionHandlingManagerImpl.java
  1. … 43 more files in changeset.
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

    • -31
    • +29
    ./PartitionHandlingInterceptor.java
    • -12
    • +57
    ./PartitionHandlingManagerImpl.java
  1. … 43 more files in changeset.
ISPN-9714 Update CacheNotifier to return CompletionStage

* Also update many users to also support non blocking

* Listener invocation is done on separate thread when sync

* Listener can return CompletionStage to be non blocking

* Increase notification thread pool due to nested listener invocations

* Make cluster listeners fully non blocking

* Add ComposedCompletionStage to handle many depedent CompletionStages

* Add blocking methods for CompletionStages

    • -1
    • +6
    ./AvailablePartitionHandlingManager.java
    • -6
    • +16
    ./PartitionHandlingManagerImpl.java
  1. … 106 more files in changeset.
ISPN-9127 Component registry

Introduce BasicComponentRegistry, which handles dependency injection but

doesn't have any logic specific to caches or managers.

Each component has its own lifecycle status, and starting a component

also starts its dependencies. Components can start in parallel.

ComponentRegistry and GlobalComponentRegistry still need to maintain

their own lifecycle status, but it is now possible to start a cache

before all the global components have finished starting.

  1. … 245 more files in changeset.
Revert "ISPN-9128 RehashWithSharedStoreTest.testRehashes random failures"

This reverts commit f8531b42313ad957a699813cae18d19690f49fd2.

  1. … 11 more files in changeset.
ISPN-9142 PreferConsistencyStrategy does not initiate CR when previously independent nodes merge

  1. … 3 more files in changeset.
ISPN-8852 FORCE_WRITE_LOCK should cause AvailabilityException in DEGRADED partition

    • -1
    • +1
    ./AvailablePartitionHandlingManager.java
    • -11
    • +26
    ./PartitionHandlingManagerImpl.java
  1. … 5 more files in changeset.
ISPN-9128 RehashWithSharedStoreTest.testRehashes random failures

  1. … 11 more files in changeset.
ISPN-9128 RehashWithSharedStoreTest.testRehashes random failures

  1. … 11 more files in changeset.
ISPN-9128 RehashWithSharedStoreTest.testRehashes random failures

  1. … 11 more files in changeset.
ISPN-7682 DistributionManager's cache topology updated in wrong order

Use DistributionManager's CacheTopology everywhere

  1. … 63 more files in changeset.
ISPN-8962 Prefer the newer topology when members are overlapping

  1. … 2 more files in changeset.
ISPN-9089 Conflict Resolution phase should be non-blocking and restart on node failures

- currentCH is now used for CONFLICT_RESOLUTION phase so that a

pendingCH does not have to be sent. The addresses of nodes in the

preferred partition are now explicitly passed to the

InternalConflictManager.

- numOwners = 1 SegmentRequests now completed.

    • -16
    • +20
    ./PreferAvailabilityStrategy.java
  1. … 11 more files in changeset.
ISPN-9014 Conflict resolution consistent hash should not include nodes that are not in the merged cluster view

  1. … 2 more files in changeset.
ISPN-8962 Address review comments

    • -45
    • +52
    ./PreferAvailabilityStrategy.java
  1. … 4 more files in changeset.
ISPN-8962 Use the read CH in PreferConsistencyStrategy

If a partition was rebalancing during merge/coordinator change,

we should use the read CH as the base of the new post-merge topology.

  1. … 1 more file in changeset.
ISPN-8962 Avoid unnecessary rebalance during merge

During merge, ConsistentHashFactory.updateMembers() may be called with

the same members but in a different order.

  1. … 3 more files in changeset.
ISPN-8962 Pick the topology with highest id with single partition

* Assume single partition if all reported topologies could have evolved

into a single topology without losing data

* Keep picking the largest topology when partitions are isolated,

or if the history is not linear

* Expose the preferred topology algorithm for tests

* Fix NullPointerException when neither node has a current topology

If no nodes report a topology in which they are a member,

assume they are joiners and initialize the cache from scratch.

* Fix NullPointerException when last member leaves

Remove calls to AvailabilityStrategyContext.getStableTopology()

during onPartitionMerge(), because the new coordinator does't always

have the latest stable topology.

* Use MockitoSession and strict stubs

    • -138
    • +260
    ./PreferAvailabilityStrategy.java
  1. … 13 more files in changeset.
ISPN-8903 CR not initiated if node rejoins with same topology it left with

  1. … 5 more files in changeset.
ISPN-8885 Multiple primary owners during conflict resolution

The CONFLICT_RESOLUTION phase no longer utilises the old consistent

hash in LocalTopologyManagerImpl, instead it uses the same

behaviour as the READ_OLD_WRITE_ALL phase.

  1. … 3 more files in changeset.
ISPN-7919 Expose ResponseCollector in the RpcManager interface

* Replace uses of invokeRemotelyAsync with invokeCommand

    • -40
    • +49
    ./PartitionHandlingManagerImpl.java
  1. … 92 more files in changeset.