zstan commented on code in PR #3540:
URL: https://github.com/apache/ignite-3/pull/3540#discussion_r1552045112
##########
modules/transactions/src/main/java/org/apache/ignite/internal/tx/impl/TxManagerImpl.java:
##########
@@ -666,7 +673,7 @@ private CompletableFuture<Void> makeFinishRequest(
new TxStateMeta(
txResult.transactionState(),
localNodeId,
- old.commitPartitionId(),
+ old == null ? null :
old.commitPartitionId(),
Review Comment:
seems you need change your interface :
<T extends TxStateMeta> T updateTxMeta(UUID txId, Function<@Nullable
TxStateMeta, TxStateMeta> updater); and further implementation method.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]