[
https://issues.apache.org/jira/browse/CASSANDRA-14775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16813568#comment-16813568
]
Alex Deparvu commented on CASSANDRA-14775:
------------------------------------------
Tried to add a property-based test to this class and came up with [0], still
pretty rough.
it might be an issue of the test value generator, but I got stuck on one
integer overflow in DataHolder#merge.
I separated the failing test in a dedicated test for easier checking, values it
tries to merge are:
* p1: 120, v1: 4263
* p2: 180, v2: 2147479385
* result is -179
Nothing in the direction of a fix, wanted to check if the test approach is ok
first.
[0]
https://github.com/stillalex/cassandra/commit/31190782538669c1bfa67926d02d33a92da9eb91
> StreamingTombstoneHistogramBuilder overflows if > 2B in a single
> bucket/stabile
> -------------------------------------------------------------------------------
>
> Key: CASSANDRA-14775
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14775
> Project: Cassandra
> Issue Type: Bug
> Components: Local/Compaction
> Reporter: Benedict
> Priority: Normal
> Fix For: 4.0
>
>
> This may be unlikely, but is certainly not impossible. In this event, the
> count for the bucket will be reset to zero, and the time distorted to 1s in
> the future. If MAX_DELETION_TIME were encountered through overflow, this
> might result in a bucket with NO_DELETION_TIME.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]