-
Notifications
You must be signed in to change notification settings - Fork 927
#6853 Adding store tests for data column pruning #7228
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
Conversation
Thanks for the PR @SunnysidedJ ! Please see my comments above and let me know if it's unclear or if you have any questions! |
Major changes:
|
When I enable Fulu and try blob pruning, the blobs aren't pruned correctly. It'd be appreciated if you could have a look on the commit that reproduces the problem: SunnysidedJ@6217cf9 |
Some required checks have failed. Could you please take a look @SunnysidedJ? 🙏 |
Hi @SunnysidedJ, this pull request has been closed automatically due to 30 days of inactivity. If you’d like to continue working on it, feel free to reopen at any time. |
…l-prune-store-tests
I'm going to take a look at the fulu blob pruning test issues |
The test is now passing. The reason it was failing was two fold:
I've added an intermediary step to fork to electra and run some checks there. Not sure if theres any additional checks we want to make in this test. |
Some required checks have failed. Could you please take a look @SunnysidedJ? 🙏 |
ah still need to fix one other test, working on that now |
This pull request has been removed from the queue for the following reason: Pull request #7228 has been dequeued. The pull request could not be merged. This could be related to an activated branch protection or ruleset rule that prevents us from merging. (details: 1 review requesting changes and 1 approving review by reviewers with write access.). You can check the last failing draft PR here: #8209. You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. |
This pull request has been removed from the queue for the following reason: The merge conditions cannot be satisfied due to checks timeout:You can check the last failing draft PR here: #8212. You may have to fix your CI before adding the pull request to the queue again. If you update this pull request, to fix the CI, it will automatically be requeued once the queue conditions match again. |
@mergify requeue |
✅ The queue state of this pull request has been cleaned. It can be re-embarked automatically |
This pull request has been removed from the queue for the following reason: Pull request #7228 has been dequeued. The pull request could not be merged. This could be related to an activated branch protection or ruleset rule that prevents us from merging. (details: 1 review requesting changes and 1 approving review by reviewers with write access.). You can check the last failing draft PR here: #8220. You should look at the reason for the failure and decide if the pull request needs to be fixed or if you want to requeue it. |
sigp#6853 Update store tests to cover data column pruning Created a helper function `check_data_column_existence` which is a copy of `check_blob_existence` but checking data columns instead. The helper function is then used to check whether data columns are also pruned when blobs are pruned if PeerDAS is enabled. Co-Authored-By: SunnysidedJ <j@testinprod.io> Co-Authored-By: Eitan Seri-Levi <eserilev@ucsc.edu> Co-Authored-By: Michael Sproul <michael@sigmaprime.io>
Issue Addressed
#6853 Update store tests to cover data column pruning
Proposed Changes
Created a helper function
check_data_column_existence
which is a copy ofcheck_blob_existence
but checking data columns instead.The helper function is then used to check whether data columns are also pruned when blobs are pruned if PeerDAS is enabled.
Additional Info
There were three bugs discovered when writing these tests
delete_if
was broken for leveldbFor bug 3, we now
seek
to the correct column before trying to delete values. Theprune_blobs_across_fork_boundary
test provides test coverage for this change. When there are both blobs and data columns in the blob store,delete_if
properly prunes blobs (or data columns). Withoutseek
blobs would never be pruned as soon as the first data column was inserted into the blob store