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

Andres de la Peña commented on CASSANDRA-16104:
-----------------------------------------------

I think that we can change the value of {{concurrent_compactors}} without the 
setters, we can just edit it in the configuration file of each tested node. The 
idea for the test would be verifying that nodetool is able to throw the warning 
depending on the configuration of the connected node, independently of the 
local environment. I gave it a try with [this tiny Python 
dtest|https://github.com/apache/cassandra-dtest/pull/150]. The test passes with 
the patch and fails without it.

Here is a new CI round including 100 rounds of the proposed dtest:
||patch||CI||
|[3.0|https://github.com/apache/cassandra/compare/cassandra-3.0...adelapena:16104-3.0]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/666/workflows/81c89e91-2d71-4f19-9595-c5057e95daa8]|
|[3.11|https://github.com/apache/cassandra/compare/cassandra-3.11...adelapena:16104-3.11]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/667/workflows/b5ba034c-633e-4e06-9613-ed5df2b26659]|
|[4.0|https://github.com/apache/cassandra/compare/cassandra-4.0...adelapena:16104-4.0]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/668/workflows/c9c3302c-92c0-4aad-971b-ec471022f4c5]
 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/668/workflows/13142930-3bd5-43fd-8285-f1d4d05e9fbc]|
|[trunk|https://github.com/apache/cassandra/compare/trunk...adelapena:16104-trunk]|[j8|https://app.circleci.com/pipelines/github/adelapena/cassandra/665/workflows/f2497ddd-5c4e-4d66-9768-dfc38a8a9ea4]
 
[j11|https://app.circleci.com/pipelines/github/adelapena/cassandra/665/workflows/1d1cb4e9-7e01-4084-98cb-da78b3f8a42c]|

> Wrong warning about data volumes capacity
> -----------------------------------------
>
>                 Key: CASSANDRA-16104
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16104
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tool/nodetool
>            Reporter: Dmitrii Saprykin
>            Assignee: Dmitrii Saprykin
>            Priority: Normal
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> I see the following warning trying to run *nodetool upgradesstables*
> {noformat}
> WARN  16:09:24 Only 34988 MB free across all data volumes. Consider adding 
> more capacity to your cluster or removing obsolete snapshots
> {noformat}
> This warning is wrong because the wrong storage device capacity gets tested.
> All my cassandra data paths are subdirectories of */data* mount point which 
> has enough of space:
> {noformat}
> $ df -h /data
> Filesystem      Size  Used Avail Mounted on
> .................     1.2T 200G  1T  /data
> {noformat}
> However what Warning reports is a OS mount which has nothing to do with 
> Cassandra configuration:
> {noformat}
> df -h /
> Filesystem      Size  Used Avail Use% Mounted on
> ............        40G  5.7G   35G  15% /
> {noformat}
> I see this error running Cassandra 3.0.22



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to