cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Maznichenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9235) nodetool compactionstats. Negative numbers in pending tasks
Date Fri, 24 Apr 2015 14:22:39 GMT

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

Sergey Maznichenko commented on CASSANDRA-9235:
-----------------------------------------------

It happened when archivespace.file_storage2 had beed added.

KEYSPACE description:

CREATE KEYSPACE archivespace WITH replication = {'class': 'NetworkTopologyStrategy', 'DC1':
'1', 'DC2': '1'}  AND durable_writes = true;

CREATE TABLE archivespace.files (
    id uuid PRIMARY KEY,
    category decimal,
    created timestamp,
    data blob,
    filename text
) WITH bloom_filter_fp_chance = 0.01
    AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
    AND comment = ''
    AND compaction = {'min_threshold': '4', 'enabled': 'true', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy',
'max_threshold': '32'}
    AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'}
    AND dclocal_read_repair_chance = 0.1
    AND default_time_to_live = 0
    AND gc_grace_seconds = 864000
    AND max_index_interval = 2048
    AND memtable_flush_period_in_ms = 0
    AND min_index_interval = 128
    AND read_repair_chance = 0.0
    AND speculative_retry = '99.0PERCENTILE';

CREATE TABLE archivespace.file_storage (
    key text,
    chunk text,
    value blob,
    PRIMARY KEY (key, chunk)
) WITH COMPACT STORAGE
    AND CLUSTERING ORDER BY (chunk ASC)
    AND bloom_filter_fp_chance = 0.01
    AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
    AND comment = ''
    AND compaction = {'sstable_size_in_mb': '512', 'min_threshold': '4', 'enabled': 'true',
'class': 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy', 'max_threshold':
'64'}
    AND compression = {}
    AND dclocal_read_repair_chance = 0.1
    AND default_time_to_live = 0
    AND gc_grace_seconds = 864000
    AND max_index_interval = 2048
    AND memtable_flush_period_in_ms = 0
    AND min_index_interval = 128
    AND read_repair_chance = 0.0
    AND speculative_retry = '99.0PERCENTILE';

CREATE TABLE archivespace.file_storage2 (
    key text,
    chunk text,
    value blob,
    PRIMARY KEY (key, chunk)
) WITH CLUSTERING ORDER BY (chunk ASC)
    AND bloom_filter_fp_chance = 0.1
    AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
    AND comment = ''
    AND compaction = {'sstable_size_in_mb': '2048', 'min_threshold': '4', 'enabled': 'true',
'class': 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy', 'max_threshold':
'32'}
    AND compression = {}
    AND dclocal_read_repair_chance = 0.1
    AND default_time_to_live = 0
    AND gc_grace_seconds = 864000
    AND max_index_interval = 2048
    AND memtable_flush_period_in_ms = 0
    AND min_index_interval = 128
    AND read_repair_chance = 0.0
    AND speculative_retry = '99.0PERCENTILE';


> nodetool compactionstats. Negative numbers in pending tasks 
> ------------------------------------------------------------
>
>                 Key: CASSANDRA-9235
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9235
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API, Core
>         Environment: CentOS 6.2 x64, Cassandra 2.1.4
> Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
> Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)
>            Reporter: Sergey Maznichenko
>            Assignee: Marcus Eriksson
>            Priority: Minor
>             Fix For: 2.1.5
>
>
> nodetool compactionstats
> pending tasks: -222222228
> I can see negative numbers in 'pending tasks' on all 8 nodes
> it looks like -222222228 + real number of pending tasks
> for example -222222128 for 100 real pending tasks



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

Mime
View raw message