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

Stefan Miklosovic updated CASSANDRA-21057:
------------------------------------------
    Reviewers: Stefan Miklosovic, Stefan Miklosovic
               Stefan Miklosovic, Stefan Miklosovic  (was: Stefan Miklosovic)
       Status: Review In Progress  (was: Patch Available)

> Disk usage guardrail cannot be disabled when failure threshold is reached
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-21057
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21057
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Feature/Guardrails
>            Reporter: Paulo Motta
>            Assignee: Isaac Reath
>            Priority: Normal
>          Time Spent: 2h
>  Remaining Estimate: 0h
>
> When the max allowed disk usage is reached, the node stop accepting writes. 
> In case the operator wants to disable the guardrail so the node start 
> accepting writes again, it is not able to do so by attempting to unset the 
> warning and failure thresholds to null at runtime:
> {code}
> nodetool-all setguardrailsconfig data_disk_usage_percentage_threshold null 
> null
> {code}
> The reason for this is because the node does not stop advertising it's 
> {{FULL}} via gossip. We should set the state to {{SPACIOUS}} when the 
> guardrail is disabled at runtime.
> A workaround for this is to set the data_disk_usage_max_disk_size to a very 
> high value:
> {code}
> nodetool-all setguardrailsconfig data_disk_usage_max_disk_size 10000GiB # set 
> to a very large value
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to