cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-7796) Stop inheriting liveRatio/computedAt from previous memtables
Date Wed, 20 Aug 2014 01:40:20 GMT


Benedict commented on CASSANDRA-7796:

Are you sure this is better? I think we should inherit the ratio, but not the last computed
at. This patch IMO makes it easier to OOM by inserts outpacing the liveRatio calculation after
memtable switch. With inheritance we are only at risk if the data shape changes; with this
patch we are at risk with the same data shape which to me seems like a larger affect window.

> Stop inheriting liveRatio/computedAt from previous memtables
> ------------------------------------------------------------
>                 Key: CASSANDRA-7796
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Aleksey Yeschenko
>            Assignee: Aleksey Yeschenko
>            Priority: Minor
>             Fix For: 2.0.10
>         Attachments: 7796.txt
> CASSANDRA-6945 helped to reduce the risk of calculating an outlier liveRatio value, and
having to stick with it for a long time, by making liveRatio per-memtable and not per-cf.
> The added optimization of inheriting liveRatio/calculatedAt to minimize recalculations,
however, took us a step back to before CASSANDRA-6945.
> I suggest we get rid of inheriting the old values altogether, but reduce the rate of
recalculation by demanding 10x increase in ops to trigger recalc, instead of the previous

This message was sent by Atlassian JIRA

View raw message