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

Marcus Eriksson commented on CASSANDRA-11011:
---------------------------------------------

Is your timestamp_resolution really milliseconds? IE, do you do your inserts 
with "USING TIMESTAMP <time_in_millis>" ?

> DateTieredCompactionStrategy not compacting  sstables in 2.1.12
> ---------------------------------------------------------------
>
>                 Key: CASSANDRA-11011
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11011
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Compaction
>         Environment: Ubuntu 14.04.3 LTS
> 2.1.12
>            Reporter: Alexander Piavlo
>
> The following CF is never compacting from day one
> CREATE TABLE globaldb."DynamicParameter" (
>     dp_id bigint PRIMARY KEY,
>     dp_advertiser_id int,
>     dp_application_id int,
>     dp_application_user_id bigint,
>     dp_banner_id int,
>     dp_campaign_id int,
>     dp_click_timestamp timestamp,
>     dp_country text,
>     dp_custom_parameters text,
>     dp_flags bigint,
>     dp_ip int,
>     dp_machine_id text,
>     dp_string text
> ) WITH bloom_filter_fp_chance = 0.01
>     AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
>     AND comment = ''
>     AND compaction = {'max_sstable_age_days': '30', 'base_time_seconds': 
> '3600', 'timestamp_resolution': 'MILLISECONDS', 'enabled': 'true', 
> 'min_threshold': '2', 'class': 
> 'org.apache.cassandra.db.compaction.DateTieredCompactionStrategy'}
>     AND compression = {'sstable_compression': 
> 'org.apache.cassandra.io.compress.LZ4Compressor'}
>     AND dclocal_read_repair_chance = 0.2
>     AND default_time_to_live = 10713600
>     AND gc_grace_seconds = 1209600
>     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';



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

Reply via email to