Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jan 31, 2013
  1. 'Release Script: update versions for 5.2.0.Final'

    Mircea Markus authored
  2. @danberindei

    ISPN-2778 When a cache is restarted, the LEAVE and JOIN commands are …

    danberindei authored Mircea Markus committed
    …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.
  3. @danberindei

    ISPN-2483 State transfer issue with the transactions for which the or…

    danberindei authored Mircea Markus committed
    …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.
Commits on Jan 30, 2013
  1. @galderz

    ISPN-2697 Add new flag to force a cache operation to be RSVP'd

    galderz authored Mircea Markus committed
  2. @anistor

    ISPN-2776 MIMECacheEntry should implement equals() properly to allow …

    anistor authored Mircea Markus committed
    …Cache.replace(oldValue, newValue) to work
    
    Equals compares contentType and data array.
  3. @anistor

    Some minor test improvements.

    anistor authored Mircea Markus committed
  4. @tristantarrant @galderz

    ISPN-2775 Wrap cachestore "complexTypes" in "elements" so that they

    tristantarrant authored galderz committed
    actually can be used as such
  5. @andyuk1986

    ISPN-2665 - Multiple tests in ReplSyncDistributedExecutorTest failing…

    andyuk1986 authored Mircea Markus committed
    … randomly
  6. @danberindei

    ISPN-2774 ClientSocketReadTimeoutTest takes more than 3 minutes to run

    danberindei authored Mircea Markus committed
  7. @danberindei

    ISPN-2773 Can't access a non-clustered cache via HotRod

    danberindei authored Mircea Markus committed
    Check for a null RpcManager in AbstraceEncoder1x.getTopologyResponse.
  8. @anistor

    ISPN-2712 Initial state transfer doesn't appear to all be persisted w…

    anistor authored Mircea Markus committed
    …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.
  9. @danberindei @anistor

    MultipleCacheManagersTest.killMember should remove the killed member

    danberindei authored anistor committed
    from the cache managers list
  10. @anistor

    ISPN-2150 Data Rehash Event: getMembersAtStart/End returns empty set

    anistor authored
    * 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.
  11. @anistor

    ISPN-2764 DataRehashEvent with pre == false has null getConsistentHas…

    anistor authored
    …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).
  12. @anistor
  13. @anistor

    ISPN-2662 Invalid formatting character in TxCompletionNotificationCom…

    anistor authored
    …mand
    
    Fix typo in trace log.
Commits on Jan 28, 2013
  1. @galderz
Commits on Jan 27, 2013
  1. @danberindei

    ISPN-2756 Enabling/disabling RpcManager statistics via JMX doesn't work

    danberindei authored
    Remove some duplicate @ManagedAttribute annotations for the same JMX
    attribute and change ResourceDMBean to fail when it finds such duplicates.
Commits on Jan 25, 2013
  1. @tristantarrant
  2. @galderz
  3. @anistor @galderz

    ISPN-2647 ReplaceCommand does not perform any modifications if the en…

    anistor authored galderz committed
    …try was not yet transfered during rehashing
    
    Fixes distributed case only. The replicated case still fails, so the test is still disabled.
    
    * Add more trace logging
    * Extend consistency tests to also cover putIfAbsent
    * TxDistributionInterceptor will do a remoteGetBeforeWrite() if the command is conditional
  4. @galderz @tristantarrant
  5. @galderz @danberindei
  6. @tristantarrant @galderz

    ISPN-2754 Fix the infinispan-config-5.2.xsd schema to allow multiple …

    tristantarrant authored galderz committed
    …"external" stores (i.e. declared in other schemas)
  7. @tristantarrant @anistor
  8. @galderz @tristantarrant
  9. @anistor @galderz

    ISPN-2581 Create unit test for state transfer completion

    anistor authored galderz committed
    * Proove that config option StateTransferConfiguration.awaitInitialTransfer()
    is honored correctly.
    * Removed dead code.
    * Log exceptions encountered during command execution as errors
Commits on Jan 24, 2013
  1. @andyuk1986 @danberindei

    ISPN-2715 - org.infinispan.distexec.mapreduce.TopologyAwareTwoNodesMa…

    andyuk1986 authored danberindei committed
    …pReduceTest.testCombinerDoesNotChangeResult test fails randomly
  2. @tristantarrant @galderz

    ISPN-2611 Drop rhq-pluginAnnotations and rhq-pluginGen

    tristantarrant authored galderz committed
    ISPN-2745 Add missing operations and parameter names/descriptions
  3. @danberindei @galderz

    ISPN-2738 Joining node ignored by hotrod clients in REPL clustering mode

    danberindei authored galderz committed
    Skip the topology update if the cache members aren't all in the address
    cache. Do the check in AbstractEncoder1x.generateTopologyResponse, so that
    it works for all topology types (i.e. also for replicated caches).
  4. @galderz
  5. @tristantarrant @galderz

    ISPN-2739 Document the encoding command correctly

    tristantarrant authored galderz committed
  6. @anistor @galderz

    ISPN-2736 ConcurrentModificationException in StateRequestCommand

    anistor authored galderz committed
    The lock collections are already synchronized so all we need to do is to add synchronization on them around the iteration.
  7. @danberindei

    ISPN-2581 StateTransferManagerImpl.waitForInitialStateTransferToCompl…

    danberindei authored
    …ete() returns too soon
    
    Don't flag the initial state transfer as complete as soon as we send the
    rebalance confirmation to the coordinator. It will be flagged while
    processing the next topology update.
  8. @andyuk1986 @galderz

    ISPN-2714 - org.infinispan.distexec.mapreduce.TopologyAwareTwoNodesMa…

    andyuk1986 authored galderz committed
    …pReduceTest.testInvokeMapperCancellation test fails randomly
Something went wrong with that request. Please try again.