wgtmac commented on code in PR #1104:
URL: https://github.com/apache/iceberg-cpp/pull/1104#discussion_r4511098403


##########
src/iceberg/update/merging_snapshot_update.cc:
##########
@@ -921,6 +919,12 @@ Result<std::vector<ManifestFile>> 
MergingSnapshotUpdate::WriteNewDeleteManifests
   return result;
 }
 
+Status MergingSnapshotUpdate::PrepareForReplay() {
+  // The same path can inherit new sequence numbers and row IDs on replay.
+  // Drop derived caches, but keep their files staged for terminal cleanup.
+  return CleanUncommittedManagers({});

Review Comment:
   That would be a very large change which I don't think is worth doing.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to