Fix tracing existing entries when there are deletes#1046
Conversation
| # Based on the metadata, it is unsure to say if the file can be deleted | ||
| partial_rewrites_needed = True | ||
| # Based on the metadata, we cannot determine if it can be deleted | ||
| existing_entries.append(_copy_with_new_status(entry, ManifestEntryStatus.EXISTING)) |
There was a problem hiding this comment.
I see, so even when we are rewriting the data partially, we still need to add the new manifestentries as "existing" entries in order to track the new data files that are re-written.
There was a problem hiding this comment.
Yes, these files are unaffected by the delete and should be kept in the manifest as an existing entry. I should have tested more extensively 😱
No worries @Fokko - this was such a large release, and I'm quite glad that all these issues are being reported as soon as we went live with the minor release :) It's creating a great opportunity for us to vamp up our test suite. I've just canceled the VOTE so that this fix can be included with this patch release. |
|
@sungwy Thanks for the quick follow-up, appreciate it 👍 |
Resolves #1044
cc @sungwy I'm afraid that we also want to include this in 0.7.1 :(