ptupitsyn commented on code in PR #3439:
URL: https://github.com/apache/ignite-3/pull/3439#discussion_r1532367323


##########
modules/table/src/main/java/org/apache/ignite/internal/table/distributed/replicator/PartitionReplicaListener.java:
##########
@@ -2250,9 +2256,12 @@ private CompletableFuture<ReplicaResult> 
processMultiEntryAction(ReadWriteMultiR
 
                         boolean insert = rowId == null;
 
-                        RowId rowId0 = insert ? new RowId(partId(), 
UUID.randomUUID()) : rowId;
+                        RowId rowId0 = insert
+                                ? newKeyMap.computeIfAbsent(pk.byteBuffer(), 
rowIdGen)
+                                : rowId;
 
                         if (lastCommitTime != null) {
+                            assert rowId != null : "lastCommitTime is not 
null, but rowId is null";

Review Comment:
   It's just to fix the IDE warning. Replaced it with `noinspection`.



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