Denis Chudov created IGNITE-28380:
-------------------------------------
Summary:
ItTxWriteIntentResolutionTest#writeIntentResolutionPrimaryReplicaPathTest is
flaky with NPE
Key: IGNITE-28380
URL: https://issues.apache.org/jira/browse/IGNITE-28380
Project: Ignite
Issue Type: Bug
Reporter: Denis Chudov
Assignee: Denis Chudov
{noformat}
[2026-03-26T05:30:43,473][INFO ][Test worker][ItTxWriteIntentResolutionTest]
>>> Starting test:
ItTxWriteIntentResolutionTest#writeIntentResolutionPrimaryReplicaPathTest,
displayName: [3] ro txn, commit WI, no old version, no version after read ts
[2026-03-26T05:30:43,485][INFO ][Test worker][StorageUpdateHandler] Test: write
intent switch is unblocked
[2026-03-26T05:30:43,485][INFO ][Test worker][StorageUpdateHandler] Test: write
intent switch is unblocked
[2026-03-26T05:30:43,485][INFO ][Test worker][StorageUpdateHandler] Test: write
intent switch is unblocked
[2026-03-26T05:30:43,485][INFO ][Test worker][ItTxWriteIntentResolutionTest]
Test: coordinator=itwirt_n_3344, commitPartitionPrimaryNode=itwirt_n_3344,
wiPrimaryNode=itwirt_n_3346, wiBackupNode=itwirt_n_3345
[2026-03-26T05:30:43,488][INFO ][Test worker][ItTxWriteIntentResolutionTest]
Test: waiting for replication to all nodes with primaryTime=HybridTimestamp
[physical=2026-03-26 05:30:43:468 +0000, logical=16,
composite=116293831456718864]
[2026-03-26T05:30:43,670][INFO ][Test worker][ItTxWriteIntentResolutionTest]
Test: write intent creator txId=019d289f-a19d-0008-33a4-9a1100000001
[2026-03-26T05:30:43,670][INFO ][Test worker][StorageUpdateHandler] Test: write
intent switch is blocked
[2026-03-26T05:30:43,676][INFO ][Test worker][ItTxWriteIntentResolutionTest]
Test: waiting for replication to all nodes with primaryTime=HybridTimestamp
[physical=2026-03-26 05:30:43:668 +0000, logical=17,
composite=116293831469826065]
[2026-03-26T05:30:43,679][WARN
][%itwirt_n_3344%partition-operations-0][ReplicaManager] Failed to process
replica request [request=TxStateCommitPartitionRequestImpl
[enlistmentConsistencyToken=116293831305723910,
groupId=ZonePartitionIdMessageImpl [partitionId=0, zoneId=24],
txId=019d289f-a19d-0008-33a4-9a1100000001, readTimestamp=HybridTimestamp
[physical=1970-01-01 00:00:00:000 +0000, logical=1, composite=1],
senderCurrentConsistencyToken=null, senderGroupId=null,
newestCommitTimestamp=null, rowId=null, tableId=0]].
java.util.concurrent.CompletionException: java.lang.NullPointerException:
Cannot invoke "org.apache.ignite.internal.tx.message.RowIdMessage.asRowId()"
because the return value of
"org.apache.ignite.internal.tx.message.TxStateCommitPartitionRequest.rowId()"
is null
at
java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
at
java.base/java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:1194)
at
java.base/java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2309)
at
org.apache.ignite.internal.partition.replicator.ZonePartitionReplicaListener.invoke(ZonePartitionReplicaListener.java:205)
at
org.apache.ignite.internal.replicator.ZonePartitionReplicaImpl.processRequest(ZonePartitionReplicaImpl.java:67)
at
org.apache.ignite.internal.replicator.ReplicaManager.handleReplicaRequest(ReplicaManager.java:399)
at
org.apache.ignite.internal.replicator.ReplicaManager.lambda$onReplicaMessageReceived$0(ReplicaManager.java:330)
at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)