You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (Jira)" <ji...@apache.org> on 2024/02/09 17:02:00 UTC

[jira] [Updated] (CASSANDRA-19381) StreamingTombstoneHistogramBuilder.DataHolder does not merge histogram points correctly on overflow

     [ https://issues.apache.org/jira/browse/CASSANDRA-19381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ariel Weisberg updated CASSANDRA-19381:
---------------------------------------
    Summary: StreamingTombstoneHistogramBuilder.DataHolder does not merge histogram points correctly on overflow  (was: StreamingTombstoneHistogramBuilder.DataHolder does not merge bins correctly on overflow)

> StreamingTombstoneHistogramBuilder.DataHolder does not merge histogram points correctly on overflow
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-19381
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19381
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local/SSTable
>            Reporter: Ariel Weisberg
>            Assignee: Ariel Weisberg
>            Priority: Normal
>             Fix For: 5.0, 5.1
>
>
> The algorithm tries to merge the two nearest points in the histogram and create a new point that is in between the two merged points based on the weight of each point. This can overflow long arithmetic with the code that is currently there  and the work around is pick one of the points and just put it there.
> This can be worked around by changing the midpoint calculation to not overflow.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org