Thomas Adam created CASSANDRA-7866:
--------------------------------------

             Summary: Negative space stats
                 Key: CASSANDRA-7866
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7866
             Project: Cassandra
          Issue Type: Bug
            Reporter: Thomas Adam


Hi folks,

I played with the 2.1.0rc7 and observed wrong space/load stats after some 
compactions.

{code}
$ bin/nodetool status bench_1
UN  10.2.0.133  -111945897565 bytes  256     42,7%             
f2d14317-b52c-4d0a-9276-0ac71c263269  rack1
UN  10.2.0.134  -74341626598 bytes  256     43,0%             
6e263f2e-2220-4c14-8bb1-f8d55aceb25c  rack1
UN  10.2.0.135  -81553517188 bytes  256     44,4%             
bae17a16-e541-47bf-af5c-2a98dbfa6db5  rack1
UN  10.2.0.136  -112538823395 bytes  256     42,3%             
40ec60db-7566-46a4-a87d-39e7cdad7568  rack1
UN  10.2.0.137  -52321927763 bytes  256     41,4%             
97c5bcc3-2ecf-4305-abed-3f5e4cc434e5  rack1
UN  10.2.0.138  -1451999899 bytes  256     41,6%             
8a15196e-9acb-41a6-b1f1-0e24e47bfa5a  rack1
UN  10.2.0.139  -121058278557 bytes  256     44,6%             
05a06af8-6cd3-47b8-8e24-2660064d265c  rack1
{code}

{code}
$ bin/nodetool cfstats bench_1.assoc_list
Keyspace: bench_1
        Read Count: 177810
        Read Latency: 0.8124693324334964 ms.
        Write Count: 9726101
        Write Latency: 0.014907714818096173 ms.
        Pending Flushes: 0
                Table: assoc_list
                SSTable count: 9
                Space used (live), bytes: -773872869
                Space used (total), bytes: -773872869
                Space used by snapshots (total), bytes: 0
                SSTable Compression Ratio: 0.33017935017332883
                Memtable cell count: 789054
                Memtable data size, bytes: 56618328
                Memtable switch count: 18
                Local read count: 177812
                Local read latency: 0,813 ms
                Local write count: 9726127
                Local write latency: 0,015 ms
                Pending flushes: 0
                Bloom filter false positives: 2522
                Bloom filter false ratio: 0,05585
                Bloom filter space used, bytes: 5030400
                Compacted partition minimum bytes: 150
                Compacted partition maximum bytes: 25109160
                Compacted partition mean bytes: 12720
                Average live cells per slice (last five minutes): 
30.33307088385486
                Average tombstones per slice (last five minutes): 0.0
{code}

Regards,
Thomas



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to