[
https://issues.apache.org/jira/browse/IGNITE-11618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16799818#comment-16799818
]
Alexey Goncharuk commented on IGNITE-11618:
-------------------------------------------
Similarly to IGNITE-11171 we need to replace the assertion with
{{onError(tx.rollbackException());}}.
However, it is still not clear why this situation may appear as timeout and
prepare stages are properly synchronized. Additional ticket for investigation
should be created before this ticket is resolved.
> Assertion got removed exception on entry with dht local candidate on
> transaction timeout
> ----------------------------------------------------------------------------------------
>
> Key: IGNITE-11618
> URL: https://issues.apache.org/jira/browse/IGNITE-11618
> Project: Ignite
> Issue Type: Bug
> Reporter: Alexey Goncharuk
> Priority: Major
> Attachments: TxOptimisticSerializableTest.java
>
>
> IGNITE-11171 Did not fix the issue completely. The {{checkReadConflict}}
> method is called right before {{onEntriesLocked}} and contains the same
> assertion which may cause node failure.
> Attached test reproduces the problem if the following code is added to the
> very beginning of the {{checkReadConflict}} method:
> {code}
> U.sleep(ThreadLocalRandom.current().nextInt(200) + 1);
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)