]
Mircea Markus updated ISPN-3217:
--------------------------------
Labels: nbst (was: )
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.4.Final, 5.2.5.Final, 5.2.6.Final, 5.3.0.CR1
Reporter: Takayoshi Kimura
Assignee: Dan Berindei
Priority: Blocker
Labels: nbst
Fix For: 5.2.7.Final, 5.3.0.Final
Attachments: ISPN-3217-logs.zip
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:
{noformat}
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}
{noformat}
--
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: