Repository navigation
Disable flaky PerCellTTLTest - #431
Merged
Merged
Conversation
…lper HBase row tombstones cover cells with timestamp <= the tombstone's timestamp, so a Delete immediately followed by a Put can land in the same millisecond and shadow the new value, causing the "Delete then Put" case in PerCellTTLTest to fail intermittently on fast machines. Track the Delete's timestamp and explicitly stamp the next plain Put one millisecond after it. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
Delete followed by a Put(ttl) has the same tombstone-collision risk as plain Put, though no current assertion exercises it (the "Delete then Put(ttl)" case expects null either way). Apply the same guard so the fix isn't limited to the one case the test suite happens to assert. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
Contributor
|
I think we should just disable it, assuming this is already well-tested at the HBase level. @eazyhozy |
Member
Author
|
Agreed. If we're dropping it, I'd lean toward removing @em3s which do you prefer? |
Contributor
Per review on #431: this test re-verifies HBase's own tombstone/TTL ordering rather than actionbase-specific logic, and that behavior is already well covered at the HBase level. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
Member
Author
|
Disabled in 925fdf4. |
eazyhozy
marked this pull request as ready for review
July 20, 2026 01:19
Contributor
|
LGTM 👍 |
Now that PerCellTTLTest is disabled, the timestamp-guard logic added to unblock it is unreachable. Minimize this PR's diff to just the @disabled annotation. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <[email protected]> Co-Authored-By: Happy <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PerCellTTLTestintermittently fails on the "Delete then Put" case:OperationHelper.perform()builds Delete/Put mutations without an explicit timestamp, so a Delete immediately followed by a Put can be assigned the same millisecond timestamp by HBase. Since a row tombstone covers cells withtimestamp <= tombstone timestamp, the new Put gets shadowed — more likely to trigger on fast local machines than on CI.Per discussion below, this test is really re-verifying HBase's own tombstone/TTL ordering rather than actionbase-specific logic, and that's already well-covered at the HBase level. Disabling it instead of chasing the timing race further.
Changes
@DisabledonPerCellTTLTest, with a pointer back to this PR for context.AI Assistance