[
https://issues.jboss.org/browse/ISPN-8431?page=com.atlassian.jira.plugin....
]
Radim Vansa commented on ISPN-8431:
-----------------------------------
I see what's the problem: when the entry is prefetched it is inserted into the cache
mocking a state transfer update. However, if the state transfer manages to insert the
entry during the prefetch, the prefetched update fails as the version is equal (not
higher). However that means that the value in context is not updated either.
Fix (inserting the entry using {{wrapExternalEntry}}) should be easy, but I need to write
a test for this. The logs also manifested that local loading of the RemoteMetadata during
prefetch does not work properly ({{GetCacheEntryCommand}} returns {{null}} when value is
{{null}} even if metadata is present).
ScatteredSplitAndMergeTest random failures
------------------------------------------
Key: ISPN-8431
URL:
https://issues.jboss.org/browse/ISPN-8431
Project: Infinispan
Issue Type: Bug
Components: Test Suite - Core
Affects Versions: 9.2.0.Alpha1
Environment: Jenkins
Reporter: Tristan Tarrant
Assignee: Radim Vansa
Labels: testsuite_stability
Attachments: ScatteredSplitAndMergeTest_20180129.log.gz,
ScatteredSplitAndMergeTest_ISPN-7919_RpcManager_ResponseCollector_20171212.log.gz
http://ci.infinispan.org/job/Infinispan/job/master/214/testReport/junit/o...
java.lang.AssertionError: expected [null] but found [v0]
at
org.infinispan.partitionhandling.ScatteredSplitAndMergeTest.testSplitAndMerge(ScatteredSplitAndMergeTest.java:80)
at
org.infinispan.partitionhandling.ScatteredSplitAndMergeTest.testSplitAndMerge5(ScatteredSplitAndMergeTest.java:51)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
... Removed 20 stack frames
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)