-
Notifications
You must be signed in to change notification settings - Fork 471
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
github.com/cockroachdb/pebble/internal/metamorphic: TestMeta failed #3226
Comments
|
Reproduces every time with that seed. |
Still digging, but the relevant writes on this key are:
|
Nevermind, the ingest didn't apply on either instance, so this is the relevant sequence:
|
Given that, I think this is just a bug in our singledel tracking? There's no way that sequence of operations will be deterministic. Maybe our singledel eligibility tracking is assuming the rangedel was successfully applied when in reality it wasn't. cc @jbowens |
Yeah, running with this diff to peer into ops generation:
The key manager thinks the ingestion should succeed:
Is some op not accounted for in the calculation of the batch's bounds? |
It looks like the key manager thinks
We don't track range key state within the key manager, because we don't need to, but we do need to track the bounds since ingestion expects the files to be non-overlapping in the merged range key + point key bounds. I think we'll just need to edit |
batch40:
batch41:
It looks like |
@jbowens I can make the change, thanks for helping uncover it too! |
This change updates the key manager to track changes to writer bounds caused by range key operations. These could affect the success/failure of ingestions, which is something the key manager determines. Fixes cockroachdb#3226.
This change updates the key manager to track changes to writer bounds caused by range key operations. These could affect the success/failure of ingestions, which is something the key manager determines. Fixes #3226.
github.com/cockroachdb/pebble/internal/metamorphic.TestMeta failed with artifacts on refs/heads/master @ aba7c0ca6483:
Help
To reproduce, try:
This test on roachdash | Improve this report!
The text was updated successfully, but these errors were encountered: