Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting "Delta protocol violation: Generic action error: filed to get tombstones" when vacuuming table #3203

Open
rtyler opened this issue Feb 10, 2025 · 0 comments
Assignees
Labels
binding/rust Issues for the Rust crate bug Something isn't working

Comments

@rtyler
Copy link
Member

rtyler commented Feb 10, 2025

Converting this to an issue because I actually have a use-case in production where we have seen this.

Discussed in #3200

Originally posted by AnskeVan February 10, 2025
Hi, using deltalake 0.22.3 (and 0.21.0 before that), I'm running a daily job that merges some data to a table, after which I z-order (table.optimize.z_order(attributes)) the table and then vacuum (table.vacuum(dry_run=False) it.
This mostly works fine, but a few times a month, it throws the exception "Delta protocol violation: Generic action error: filed to get tombstones" (the typo not made by me, I assume they mean to throw with message 'failed to get tombstones').
delta.logRetentionDuration in the table configuration is 7 days, and delta.autoOptimize.autoCompact is true. No other table configuration is returned in metadata.
Error seems to be thrown here:

.map_err(|_| ProtocolError::Generic("filed to get tombstones".into()))?
, seems it's trying to create a new checkpoint during the vacuuming, not sure why....
I have no clue why this happens or how to prevent it, does anyone have any suggestions?

@rtyler rtyler added bug Something isn't working binding/rust Issues for the Rust crate labels Feb 10, 2025
@rtyler rtyler self-assigned this Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding/rust Issues for the Rust crate bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant