rpuch commented on code in PR #7019:
URL: https://github.com/apache/ignite-3/pull/7019#discussion_r2584687114


##########
modules/storage-page-memory/src/main/java/org/apache/ignite/internal/storage/pagememory/mv/AbortWriteInvokeClosure.java:
##########
@@ -110,6 +110,13 @@ public OperationType operationType() {
         return operationType;
     }
 
+    @Override
+    public void onUpdate() {
+        if (toRemove != null) {
+            toRemove.operations().removeFromWriteIntentsList(storage, 
this::abortWriteInfo);

Review Comment:
   Partly because for AbortWrite the code that does the heavy lifting is moved 
to `WriteIntentListSupport`, partly because the logic of adding a write is 
inherently more complex (we could add first version, another version or do a 
replace)



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