Permalink
Commits on Feb 8, 2013
  1. 'Release Script: update versions for 5.2.1.Final'

    Mircea Markus committed Feb 8, 2013
  2. ISPN-2798 Test name differs from test class name

    Fix testName attribute for relevant tests and modify UnitTestTestNGListener to not issue name related warnings for abstract classes.
    anistor committed with Mircea Markus Feb 5, 2013
  3. ISPN-2770 Wrong format arguments in trace log message

    anistor committed with Mircea Markus Feb 4, 2013
  4. ISPN-2720 StateTransferPessimisticTest.testStateTransfer fails randomly

    Do not take into account expired entries when checking effective number of owners.
    anistor committed with Mircea Markus Feb 4, 2013
  5. Add test for local mode passivation to ensure no side-effects were in…

    …troduced by ISPN-2712 fix
    
    * also solve some generics warnings in SingleCacheManagerTest
    anistor committed with Mircea Markus Feb 5, 2013
  6. ISPN-2730 Make CDI InfinispanExtension constructor public to overcome…

    … instantiation issues
    tristantarrant committed with Mircea Markus Feb 8, 2013
  7. ISPN-2795 JGroups 3.2.7.Final

    anistor committed Feb 8, 2013
Commits on Feb 7, 2013
  1. ISPN-2658 Fix expected value MarshalledValueTest.testModificationsOnS…

    …ameCustomKey
    
    After fixing ISPN-2803 the key is not added in StateConsumerImpl.updatedKeys so no extra comparison (and serialization) is done. Decrease expected value by 1.
    anistor committed Feb 7, 2013
  2. Updated versions to 5.2.1-SNAPSHOT

    Navin Surtani committed with Sanne Feb 4, 2013
  3. Slight cleanup

    * Javadoc for getNormalizedHash() in Util and ConsistentHash
    * Remove redundant "normalization" checks in ConsistentHashV1.getServer()
    maniksurtani committed with Sanne Feb 6, 2013
Commits on Feb 6, 2013
  1. ISPN-2803 Ensure the updatedKeys set doesn't get reinitialized errone…

    …ously when state transfer completes.
    Erik Salter committed with anistor Feb 6, 2013
Commits on Feb 1, 2013
  1. ISPN-2784 ReplStateTransferCacheLoaderTest fails randomly in FileCach…

    …eStore.start()
    
    This failure seems platform related. Will use the same approach to create the temp dir as in FileCacheStoreTest.
    anistor committed Feb 1, 2013
Commits on Jan 31, 2013
  1. ISPN-2768 - Write new tests for Query module

      * New tests are added to Infinispan Query module testing Clustered Queries;
      * New tests are added for testing Queries on Topology Aware nodes;
      * New tests are added testing programmatic configuration for mass indexers;
    andyuk1986 committed with galderz Jan 16, 2013
  2. ISPN-2778 When a cache is restarted, the LEAVE and JOIN commands are …

    …not ordered
    
    Make the LEAVE command synchronous. Since the cache start/shutdown is
    already synchronized, this will prevent the cache from restarting before
    the coordinator has removed it from the members list.
    danberindei committed with Mircea Markus Jan 31, 2013
  3. ISPN-2483 State transfer issue with the transactions for which the or…

    …iginator has crashed
    
    Remove StaleTransactionCleanupService and clean the stale transactions
    explicitly from StateConcumerImpl.onTopologyUpdate, after applying any
    transferred transactions.
    
    Since now it's more likely to have stale transactions on the provider,
    the provider also checks if the originator has left the cache before
    sending a transaction.
    danberindei committed with Mircea Markus Jan 31, 2013
Commits on Jan 30, 2013
  1. ISPN-2776 MIMECacheEntry should implement equals() properly to allow …

    …Cache.replace(oldValue, newValue) to work
    
    Equals compares contentType and data array.
    anistor committed with Mircea Markus Jan 30, 2013
  2. Some minor test improvements.

    anistor committed with Mircea Markus Jan 30, 2013
  3. ISPN-2775 Wrap cachestore "complexTypes" in "elements" so that they

    actually can be used as such
    tristantarrant committed with galderz Jan 30, 2013
  4. ISPN-2665 - Multiple tests in ReplSyncDistributedExecutorTest failing…

    … randomly
    andyuk1986 committed with Mircea Markus Jan 29, 2013
  5. ISPN-2773 Can't access a non-clustered cache via HotRod

    Check for a null RpcManager in AbstraceEncoder1x.getTopologyResponse.
    danberindei committed with Mircea Markus Jan 30, 2013
  6. ISPN-2712 Initial state transfer doesn't appear to all be persisted w…

    …hen using eviction in a replicated cluster
    
    NBST uses transactional put commands to write the state and also forces local mode. Because local mode is forced TxInterceptor does not add the state transfer put command to the modification list of the transaction (no need to replicate the modification remotely). CacheStoreInterceptor relies on the modification list to later update the store when the transaction commits. Since the modification list is empty nothing is actually written to store causing this issue. The problem is not easily observable unless the cache uses eviction and the cache is transactional. For non-tx caches the modifications are written to store immediatelly and are not enqueued in a modification list until tx commit time so they are not affected by this bug.
    
    * Add short test to reproduce the scenario from MODE-1754 (works on 5.1.x and fails on 5.2)
    
    * Modify TxInterceptor to add all modfications to the transaction even if they are local only.
    
    * Modify AbstractCacheTransaction.getModifications() to filter out the local only modifications and to never return null (an empty collection is preferrable).
    
    * Add CacheTransaction/AbstractCacheTransaction.getAllModifications() to return all modifications including the local-only and use it in CacheStoreInterceptor instead of getModifications()/hasModifications().
    
    * CacheStoreInterceptor.prepareCacheLoader checks every modification if they should be skiped before converting them with StoreModificationsBuilder. This is needed to ensure modifications with SKIP_CACHE_STORE do not get through. Previously this was an issue but it was never observed because SKIP_CACHE_STORE was usually used in conjunction with CACHE_MODE_LOCAL which meant the modification was already ignored.
    anistor committed with Mircea Markus Jan 25, 2013
  7. MultipleCacheManagersTest.killMember should remove the killed member

    from the cache managers list
    danberindei committed with anistor Jan 29, 2013
  8. ISPN-2150 Data Rehash Event: getMembersAtStart/End returns empty set

    * Remove membersAtStart, membersAtEnd collections from EventImpl. These can be derived from the CHes.
    * Re-implement getMembersAtStart/End to return the members from the corresponding CH if not null or return an empty collection otherwise.
    * Remove some unused methods from EventImpl.
    anistor committed Jan 29, 2013
  9. ISPN-2764 DataRehashEvent with pre == false has null getConsistentHas…

    …hAtEnd()
    
    StateConsumerImpl should record the CH at the time rebalance was started and the current CH when it ends and use these for broadcasting the DataRehashedEvent(pre==false). The old code was broadcasting currentCH (for oldCH) and null (for newCH).
    anistor committed Jan 28, 2013
  10. ISPN-2662 Invalid formatting character in TxCompletionNotificationCom…

    …mand
    
    Fix typo in trace log.
    anistor committed Jan 28, 2013