Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ISPN-11292 Add in (non)blocking thread pools

* Fix test failure

ISPN-11292 Add in (non)blocking thread pools

  1. … 88 more files in changeset.
ISPN-10591 Make Protostream the default marshaller for user types

    • -1
    • +2
    ./CheckRemoteLockAcquiredOnlyOnceTest.java
    • -1
    • +2
    ./OptimisticTxFailureAfterLockingTest.java
    • -7
    • +4
    ./StaleEagerLocksOnPrepareFailureTest.java
    • -2
    • +3
    ./singlelock/MainOwnerChangesLockTest.java
    • -2
    • +3
    ./singlelock/MainOwnerChangesPessimisticLockTest.java
    • -11
    • +12
    ./singlelock/MinViewIdCalculusTest.java
    • -1
    • +2
    ./singlelock/NoPrepareRpcForPessimisticTransactionsTest.java
    • -2
    • +3
    ./singlelock/OriginatorBecomesOwnerLockTest.java
    • -1
    • +2
    ./singlelock/SinglePhaseCommitForPessimisticCachesTest.java
  1. … 191 more files in changeset.
ISPN-10317 Non-blocking PendingLockManager

* Add PendingLockPromise.toInvocationStage() and use it in the locking

interceptor

* Deprecate PendingLockManager blocking methods

* Remove PendingTxAction and LockAction

* Do not wait for pending transactions on already locked keys

* Only record keys as locked if lock acquisition succeeded

* Release acquired locks if LockManager.lockAll() partially succeeds

* Remove backup locks in lock interceptor before waiting for

pending transactions (but not when replaying a prepare)

* Small logging changes

  1. … 22 more files in changeset.
ISPN-10345 Remove jboss-marshalling dependency from commons and core.

Default user marshaller is now JavaSerializationMarshaller.

  1. … 183 more files in changeset.
ISPN-8219 Remove deprecated interceptor classes

CommandInterceptor, BaseCustomInterceptor and InterceptorChain

were deprecated in 9.0, to be replaced with the async versions.

    • -1
    • +2
    ./CheckNoRemoteCallForLocalKeyTest.java
    • -3
    • +4
    ./CheckRemoteLockAcquiredOnlyOnceTest.java
    • -8
    • +10
    ./singlelock/AbstractCrashTest.java
    • -4
    • +5
    ./singlelock/SinglePhaseCommitForPessimisticCachesTest.java
  1. … 77 more files in changeset.
ISPN-10137 Change the annotation retention from RUNTIME to CLASS

  1. … 26 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

    • -2
    • +4
    ./PessimistTxFailureAfterLockingTest.java
    • -1
    • +1
    ./singlelock/OriginatorBecomesOwnerLockTest.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

    • -2
    • +4
    ./PessimistTxFailureAfterLockingTest.java
    • -1
    • +1
    ./singlelock/OriginatorBecomesOwnerLockTest.java
  1. … 43 more files in changeset.
ISPN-9701 Fix InitiatorCrashPessimisticTest

    • -0
    • +1
    ./singlelock/AbstractInitiatorCrashTest.java
  1. … 1 more file in changeset.
ISPN-9701 Fix InitiatorCrashPessimisticTest

    • -0
    • +1
    ./singlelock/AbstractInitiatorCrashTest.java
  1. … 1 more file in changeset.
ISPN-9701 TransactionTable does not shutdown gracefully

    • -2
    • +3
    ./singlelock/AbstractInitiatorCrashTest.java
  1. … 2 more files in changeset.
ISPN-9701 TransactionTable does not shutdown gracefully

    • -0
    • +1
    ./singlelock/AbstractInitiatorCrashTest.java
  1. … 2 more files in changeset.
ISPN-8320 Fix bad html tags in javadocs caused by < > around author email addresses

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

Use DistributionManager's CacheTopology everywhere

    • -7
    • +7
    ./singlelock/MinViewIdCalculusTest.java
  1. … 63 more files in changeset.
ISPN-8693 Improve ControlledRpcManager and BlockingLocalTopologyManager

* Use response collector in AbstractDelegatingRpcManager

* Intercept all requests and responses in ControlledRpcManager

* Intercept topology updates for a single cache in

BlockingLocalTopologyManager

* Improve AbstractInfinispanTest.runConcurrently() and fork()

* Use more lambdas in calls to fork() and eventually()

    • -4
    • +12
    ./PessimistTxFailureAfterLockingTest.java
    • -17
    • +17
    ./singlelock/AbstractCrashTest.java
    • -3
    • +6
    ./singlelock/AbstractInitiatorCrashTest.java
    • -24
    • +40
    ./singlelock/OriginatorBecomesOwnerLockTest.java
  1. … 59 more files in changeset.
ISPN-7919 Expose ResponseCollector in the RpcManager interface

* Replace uses of invokeRemotelyAsync with invokeCommand

    • -6
    • +2
    ./PessimistTxFailureAfterLockingTest.java
  1. … 92 more files in changeset.
ISPN-8515 Allow @Inject on fields

  1. … 185 more files in changeset.
ISPN-8336 lockAllAndRecord() method is blocking

  1. … 23 more files in changeset.
ISPN-7997 DistributedStreamIteratorTest.testLocallyForcedStream random failure

* Use controlled consistent hash factories in the stream tests.

* Simplify the creation of controlled consistent hash factories.

    • -4
    • +4
    ./singlelock/OriginatorBecomesOwnerLockTest.java
  1. … 17 more files in changeset.
ISPN-7613 Enable write-skew for optimistic + repeatable-read transactions

* removed repeatable-read + optimistic without write-skew

* default to repeatable-read + optimistic + write-skew

    • -11
    • +3
    ./OptimisticTxFailureAfterLockingTest.java
  1. … 127 more files in changeset.
ISPN-7400 Cache segment ownership information in DistributionManager

Use DM.getCacheTopology() in all ClusteringDependentLogic

implementations, and use it directly where possible

    • -3
    • +3
    ./singlelock/MainOwnerChangesLockTest.java
    • -3
    • +3
    ./singlelock/MainOwnerChangesPessimisticLockTest.java
  1. … 142 more files in changeset.
Remove unused imports in infinispan-core

  1. … 37 more files in changeset.
ISPN-7539 Do not configure data container key/value equivalence in tests

* this is deprecated and a no-op anyway

  1. … 14 more files in changeset.
ISPN-7507 Deprecate async options for tx cache

    • -2
    • +0
    ./singlelock/MainOwnerChangesPessimisticLockTest.java
  1. … 140 more files in changeset.
ISPN-5021 Rename TestingUtil.waitForRehashToComplete to waitForNoRebalance

    • -2
    • +2
    ./singlelock/OriginatorBecomesOwnerLockTest.java
  1. … 91 more files in changeset.
ISPN-6176 Rename DummyTransactionManager to EmbeddedTransactionManager

* All dummy* related classes deprecated

* New embedded* related classes added

* Testsuite is using the new classes

    • -24
    • +18
    ./singlelock/AbstractCrashTest.java
    • -14
    • +4
    ./singlelock/AbstractInitiatorCrashTest.java
    • -45
    • +23
    ./singlelock/AbstractLockOwnerCrashTest.java
    • -40
    • +10
    ./singlelock/AbstractNoCrashTest.java
    • -13
    • +13
    ./singlelock/MainOwnerChangesLockTest.java
    • -4
    • +4
    ./singlelock/MainOwnerChangesPessimisticLockTest.java
    • -24
    • +9
    ./singlelock/MinViewIdCalculusTest.java
    • -39
    • +32
    ./singlelock/OriginatorBecomesOwnerLockTest.java
    • -22
    • +7
    ./singlelock/optimistic/BasicSingleLockOptimisticTest.java
    • -41
    • +20
    ./singlelock/optimistic/LockOwnerCrashOptimisticTest.java
    • -21
    • +5
    ./singlelock/pessimistic/BasicSingleLockPessimisticTest.java
    • -76
    • +31
    ./singlelock/pessimistic/LockOwnerCrashPessimisticTest.java
  1. … 99 more files in changeset.
ISPN-4772 Increase the lock acquisition timeout in core tests

Even when the test expects a failure, it usually also has some

operations that must succeed, so using a timeout of only 100ms

can lead to random failures.

    • -1
    • +1
    ./InvalidationModePessimisticLockReleaseTest.java
    • -1
    • +2
    ./StaleEagerLocksOnPrepareFailureTest.java
    • -1
    • +2
    ./singlelock/MainOwnerChangesLockTest.java
    • -1
    • +2
    ./singlelock/MainOwnerChangesPessimisticLockTest.java
    • -1
    • +2
    ./singlelock/OriginatorBecomesOwnerLockTest.java
  1. … 40 more files in changeset.
ISPN-7177 Remove Outdated Eviction related classes

  1. … 111 more files in changeset.
ISPN-6998 Replace bounded hash map with alternative

  1. … 90 more files in changeset.