ascherbakoff commented on code in PR #2329:
URL: https://github.com/apache/ignite-3/pull/2329#discussion_r1281824472


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/raft/PartitionListener.java:
##########
@@ -233,10 +233,29 @@ private void handleUpdateCommand(UpdateCommand cmd, long 
commandIndex, long comm
 
         storageUpdateHandler.handleUpdate(cmd.txId(), cmd.rowUuid(), 
cmd.tablePartitionId().asTablePartitionId(), cmd.rowBuffer(),
                 rowId -> {
-                    txsPendingRowIds.computeIfAbsent(cmd.txId(), entry -> new 
TreeSet<>()).add(rowId);
+                    if (!cmd.full()) {
+                        txsPendingRowIds.computeIfAbsent(cmd.txId(), entry -> 
new TreeSet<>()).add(rowId);
+                    } else {
+                        TxMeta txMetaToSet = new TxMeta(
+                                COMMITED,

Review Comment:
   I've removed accessing the state for one-phase txns because we can live 
without it. It's not clear at the moment if we will need this state for 
one-phase txns later.



-- 
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]

Reply via email to