[ 
https://issues.apache.org/jira/browse/IGNITE-21623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17821616#comment-17821616
 ] 

Vladislav Pyatkov commented on IGNITE-21623:
--------------------------------------------

This issue cannot connect with broken full-state transactions because here a 
test version of the placement driver is used.
The test placement driver never changes a primary replica.

> Test fails TxAbstractTest#testBatchSinglePartitionGet
> -----------------------------------------------------
>
>                 Key: IGNITE-21623
>                 URL: https://issues.apache.org/jira/browse/IGNITE-21623
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>            Priority: Major
>
> The test fails very rarely, but this is a violation of transaction 
> guarantees. This test fails to get committed entries:
> {code}
> for (Tuple tuple : accountRecordsView.getAll(null, keys.stream().map(k -> 
> makeKey(k)).collect(toList()))) {
>     assertEquals(100., tuple.doubleValue("balance"));
> }
> {code}
> Instead, NPE is received:
> {noformat}
> java.lang.NullPointerException
>   at 
> org.apache.ignite.internal.table.TxAbstractTest.testBatchSinglePartitionGet(TxAbstractTest.java:2274)
>   at java.base/java.lang.reflect.Method.invoke(Method.java:566)
>   at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
>   at java.base/java.util.ArrayList.forEach(ArrayList.java:1541)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to