[infinispan-issues] [JBoss JIRA] (ISPN-3217) Rebalance doesn't store data into cache store

Takayoshi Kimura (JIRA) jira-events at lists.jboss.org
Tue Jun 11 23:15:55 EDT 2013


Takayoshi Kimura created ISPN-3217:
--------------------------------------

             Summary: Rebalance doesn't store data into cache store
                 Key: ISPN-3217
                 URL: https://issues.jboss.org/browse/ISPN-3217
             Project: Infinispan
          Issue Type: Bug
          Components: Core API
    Affects Versions: 5.2.6.Final, 5.2.5.Final, 5.2.4.Final
            Reporter: Takayoshi Kimura
            Assignee: Mircea Markus
            Priority: Blocker
             Fix For: 5.2.7.Final


In DistCacheStoreInterceptor.skip():

{noformat}
   private boolean skip(InvocationContext ctx, Object key, FlagAffectedCommand command) {
      return skip(ctx, command) || skipKey(key) || (isUsingLockDelegation && !cdl.localNodeIsPrimaryOwner(key) && (!cdl.localNodeIsOwner(key) || ctx.isOriginLocal()));
   }
{noformat}

The 3rd condition returns true on rebalance, so the data is not stored in the cache store.

- The caller is org.infinispan.statetransfer.StateConsumerImpl.doApplyState
- The iic is org.infinispan.context.SingleKeyNonTxInvocationContext
- The example command is PutKeyValueCommand{key=ByteArrayKey{data=ByteArray{size=9, hashCode=cb62ce78, array=0x033e06666f6f3839..}}, value=CacheValue{data=ByteArray{size=6, array=0x033e03626172..}, version=4294968192}, flags=[CACHE_MODE_LOCAL, SKIP_REMOTE_LOOKUP, PUT_FOR_STATE_TRANSFER, SKIP_SHARED_CACHE_STORE, SKIP_OWNERSHIP_CHECK, IGNORE_RETURN_VALUES, SKIP_XSITE_BACKUP], putIfAbsent=false, lifespanMillis=-1, maxIdleTimeMillis=-1, successful=true}



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list