Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-2634 Implement cross-site replication based on IRAC

  1. … 104 more files in changeset.
ISPN-11475 Remove EntryVersionsMap

  1. … 16 more files in changeset.
ISPN-11385 Convert Remote Command Executor to Non blocking/blocking thread executor

* Invoke commands that block on blocking executor

* Invoke other commands by caller

* Use non blocking executor instead of remote in other places

    • -6
    • +0
    ./AbstractTransactionBoundaryCommand.java
  1. … 90 more files in changeset.
ISPN-10261 Remove Total Order Transaction support

    • -33
    • +0
    ./totalorder/TotalOrderCommitCommand.java
    • -64
    • +0
    ./totalorder/TotalOrderNonVersionedPrepareCommand.java
    • -45
    • +0
    ./totalorder/TotalOrderPrepareCommand.java
    • -34
    • +0
    ./totalorder/TotalOrderRollbackCommand.java
    • -33
    • +0
    ./totalorder/TotalOrderVersionedCommitCommand.java
    • -61
    • +0
    ./totalorder/TotalOrderVersionedPrepareCommand.java
  1. … 134 more files in changeset.
ISPN-11157 Optimistic Transaction ignores ZERO_LOCK_ACQUISITION flag

  1. … 1 more file in changeset.
ISPN-10362 Unify command initialization and invocation

Deprecate and remove usages of CommandsFactory::initializeReplicableCommand

    • -23
    • +9
    ./AbstractTransactionBoundaryCommand.java
    • -3
    • +0
    ./totalorder/TotalOrderCommitCommand.java
    • -1
    • +2
    ./totalorder/TotalOrderNonVersionedPrepareCommand.java
    • -1
    • +2
    ./totalorder/TotalOrderPrepareCommand.java
    • -3
    • +0
    ./totalorder/TotalOrderRollbackCommand.java
    • -3
    • +0
    ./totalorder/TotalOrderVersionedCommitCommand.java
    • -1
    • +2
    ./totalorder/TotalOrderVersionedPrepareCommand.java
  1. … 107 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. … 174 more files in changeset.
ISPN-10029 Invalidation locking is not clustered

* Lock tx keys on the primary owner

* Keep locking non-tx keys only on the originator

* InvalidationSharedStoreTest tests that global locks protect

the shared store with pessimistic and optimistic locking

* Require partition handling to be disabled in invalidation mode

  1. … 10 more files in changeset.
ISPN-10029 Invalidation locking is not clustered

* Lock tx keys on the primary owner

* Keep locking non-tx keys only on the originator

* InvalidationSharedStoreTest tests that global locks protect

the shared store with pessimistic and optimistic locking

* Require partition handling to be disabled in invalidation mode

  1. … 10 more files in changeset.
ISPN-10029 Invalidation locking is not clustered

* Lock tx keys on the primary owner

* Keep locking non-tx keys only on the originator

* InvalidationSharedStoreTest tests that global locks protect

the shared store with pessimistic and optimistic locking

* Require partition handling to be disabled in invalidation mode

  1. … 10 more files in changeset.
ISPN-10322 Create unified interface for initializing commands

    • -5
    • +9
    ./AbstractTransactionBoundaryCommand.java
  1. … 78 more files in changeset.
ISPN-9615 Move command perform logic into CallInterceptor directly

* All VisitableCommand logic is no in CallInterceptor

* DistributedExecuteCommand is now no longer Visitable

    • -6
    • +0
    ./AbstractTransactionBoundaryCommand.java
  1. … 53 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. … 108 more files in changeset.
ISPN-8106 Remove unused imports

    • -1
    • +0
    ./totalorder/TotalOrderCommitCommand.java
    • -1
    • +0
    ./totalorder/TotalOrderRollbackCommand.java
    • -1
    • +0
    ./totalorder/TotalOrderVersionedCommitCommand.java
  1. … 103 more files in changeset.
Revert "Remove unused imports"

This reverts commit 43d8368e7ba813d30918a392c087683d5f9e9927.

    • -0
    • +1
    ./totalorder/TotalOrderCommitCommand.java
    • -0
    • +1
    ./totalorder/TotalOrderRollbackCommand.java
    • -0
    • +1
    ./totalorder/TotalOrderVersionedCommitCommand.java
  1. … 11 more files in changeset.
Revert "Remove unused imports"

This reverts commit 43d8368e7ba813d30918a392c087683d5f9e9927.

    • -0
    • +1
    ./totalorder/TotalOrderCommitCommand.java
    • -0
    • +1
    ./totalorder/TotalOrderRollbackCommand.java
    • -0
    • +1
    ./totalorder/TotalOrderVersionedCommitCommand.java
  1. … 11 more files in changeset.
Remove unused imports

    • -1
    • +0
    ./totalorder/TotalOrderCommitCommand.java
    • -1
    • +0
    ./totalorder/TotalOrderRollbackCommand.java
    • -1
    • +0
    ./totalorder/TotalOrderVersionedCommitCommand.java
  1. … 11 more files in changeset.
ISPN-7960 TxInterceptor.verifyRemoteTransaction ignores partition handling

* Do not create a remote transaction when the originator is not a

cluster member.

* Remove the originator check in TxInterceptor.

    • -5
    • +1
    ./AbstractTransactionBoundaryCommand.java
    • -5
    • +0
    ./totalorder/TotalOrderCommitCommand.java
    • -1
    • +1
    ./totalorder/TotalOrderNonVersionedPrepareCommand.java
    • -5
    • +0
    ./totalorder/TotalOrderRollbackCommand.java
    • -5
    • +0
    ./totalorder/TotalOrderVersionedCommitCommand.java
    • -1
    • +1
    ./totalorder/TotalOrderVersionedPrepareCommand.java
  1. … 4 more files in changeset.
ISPN-7753 Compute ComputeIfPresent ComputeIfAbsent

ConcurrentMap methods implemented in the infinispan way

  1. … 62 more files in changeset.
ISPN-7847 Deprecate DeltaAware

* DeltaAware, CopyableDeltaAware, Delta, DeltaCompositeKey deprecated

* AdvancedCache.applyDelta deprecated, CacheImpl.applyDelta reimplemented using ReadWriteKeyValueCommand, permits to lock only on the main key

* ApplyDeltaCommand and Visitor.visitApplyDeltaCommand deprecated (implementation removed)

* DeltaAwareCacheEntry, DeltaAwareObjectOutput and some internal helpers removed

  1. … 47 more files in changeset.
ISPN-7803 Fix bugs in functional commands behaviour in transaction

  1. … 3 more files in changeset.
first version on merge command

  1. … 25 more files in changeset.
ISPN-7431 Remove VisitableCommand.ignoreCommandOnStatus()

    • -6
    • +0
    ./AbstractTransactionBoundaryCommand.java
  1. … 20 more files in changeset.
ISPN-7431 Remove VisitableCommand.shouldInvoke()

    • -5
    • +0
    ./AbstractTransactionBoundaryCommand.java
  1. … 17 more files in changeset.
ISPN-7108 Use wildcard in methods returning keys

* Wildcard play better with commands that use generics for the

collection, such as Collection<? extends K> keys;

* WriteCommand.getAffectedKeys() and RemoteLockCommand.getKeysToLock()

  1. … 24 more files in changeset.
ISPN-5683 Enforce one new line at end of file

  1. … 393 more files in changeset.
ISPN-5683 Removed whitespaces at the end of the lines

  1. … 276 more files in changeset.
ISPN-5683 Organized imports

    • -4
    • +4
    ./AbstractTransactionBoundaryCommand.java
    • -2
    • +2
    ./totalorder/TotalOrderNonVersionedPrepareCommand.java
    • -2
    • +2
    ./totalorder/TotalOrderVersionedPrepareCommand.java
  1. … 2821 more files in changeset.
ISPN-7029 Refactor command execution patterns and context entries handling

* Define entry wrapping throughout the interceptor stack (see EntryFactory javadoc)

* In VisitableCommand replace readsExistingValues() and alwaysReadsExistingValues() with single loadType()

* Make sure that write commands always return value from primary owner

* Deprecate CacheEntry.rollback(), StateChangingEntry and its methods + COPIED flag in ReadCommittedEntry

* Remove oldValue from ReadCommittedEntry, add resetCurrentValue() and updatePreviousValue() that revert the entry upon retry (with repeatable reads - without them, entry is removed from ctx before retry).

* Make ClusteredGetCommand and ClusteredGetAllCommand topology-aware (add topologyId).

** Don't block reads when the entry is in readCH of current node (ignore topology then)

** Return UnsuccessfulResponse if the originator has old topology

** Retry locally (with waiting for new topology) if this node has old topology

* Functional commands, GetAllCommand and PutMapCommand rewritten to use RpcManager.invokeRemotelyAsync and behave asynchronously.

* PutMapCommmand (optionally) returns List<Map.Entry> instead of Map to share code with functional commands (and generally be more inline).

* (Non-clustered) listeners now fire only on the owners, not on originator.

* Make DeltaAwareCacheEntry MVCC (though the plan is to remove it altogether).

* Remove redundant activation interceptors

* Instead of adding the version when wrapping the entry add it when the command returns, similar to skipLookup(true).

* Remove IncrementalVersionableEntryFactory as it does not do much anymore (ClusteredRepeatableReadEntry can be created by EntryFactoryImpl).

* Deprecate CacheTransaction.replaceVersionRead because now we are sure which version we read and we should never overwrite it

    • -2
    • +2
    ./AbstractTransactionBoundaryCommand.java
  1. … 136 more files in changeset.
ISPN-6801 TransactionXaAdapter and SynchronizationAdapter are too big

Move bulk of synchronization/xa adapters to TransactionTable

  1. … 16 more files in changeset.