You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yifan Cai (Jira)" <ji...@apache.org> on 2022/02/11 01:16:00 UTC

[jira] [Comment Edited] (CASSANDRA-17142) Limit the maximum hints size per host

    [ https://issues.apache.org/jira/browse/CASSANDRA-17142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17490577#comment-17490577 ] 

Yifan Cai edited comment on CASSANDRA-17142 at 2/11/22, 1:15 AM:
-----------------------------------------------------------------

Starting commit

Result: CI result is mostly green. There are in total 4 test failures, and they look unrelated to the change.

||Branch ||Source||Circle CI||
|Trunk|[Code|https://github.com/yifan-c/cassandra/tree/CASSANDRA-17142/trunk]|[CI|https://app.circleci.com/pipelines/github/yifan-c/cassandra?branch=CASSANDRA-17142%2Ftrunk&filter=all]|


was (Author: yifanc):
Starting commit

Result: pending

||Branch ||Source||Circle CI||
|Trunk|[Code|https://github.com/yifan-c/cassandra/tree/CASSANDRA-17142/trunk]|[CI|https://app.circleci.com/pipelines/github/yifan-c/cassandra?branch=CASSANDRA-17142%2Ftrunk&filter=all]|

 

 

> Limit the maximum hints size per host
> -------------------------------------
>
>                 Key: CASSANDRA-17142
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-17142
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Consistency/Hints
>            Reporter: Yifan Cai
>            Assignee: Yifan Cai
>            Priority: Normal
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> The hints system defines a time window, i.e. max_hint_window_in_ms, to store the hints. 
> It defines no limit on how much data can be kept during the time window. The hints can grow excessively and make the node running out of disk. In such scenario, the operators have to truncate the hints manually.
> I'd propose that in addition to the conventional hints window, operators should be able to define the maximum hints size per host, i.e. max_hints_size_per_host_in_mb, to provide an another layer of protection. A node stops to store hints for the down node whenever it reaches to the time cap or the size cap. In order to not surprise the users, the config should be disabled by default. It should also be configurable via JMX. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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