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

Teodor Sigaev commented on CASSANDRA-459:
-----------------------------------------

Yes, sure.
Another run (r819316 + 0001 patch), just for rechek:
% ls -l /spool/cassandra/commitlog /spool/cassandra/data/Keyspace1 
/spool/cassandra/data/system
/spool/cassandra/commitlog:
total 44144
-rw-r--r--  1 teodor  wheel  45154304 Sep 27 18:32 CommitLog-1254061669607.log

/spool/cassandra/data/Keyspace1:
total 35130
-rw-r--r--  1 teodor  wheel  10475393 Sep 27 18:29 Standard1-1-Data.db
-rw-r--r--  1 teodor  wheel     30365 Sep 27 18:29 Standard1-1-Filter.db
-rw-r--r--  1 teodor  wheel   1443066 Sep 27 18:29 Standard1-1-Index.db
-rw-r--r--  1 teodor  wheel  10472280 Sep 27 18:30 Standard1-2-Data.db
-rw-r--r--  1 teodor  wheel     30189 Sep 27 18:30 Standard1-2-Filter.db
-rw-r--r--  1 teodor  wheel   1434966 Sep 27 18:30 Standard1-2-Index.db
-rw-r--r--  1 teodor  wheel  10455997 Sep 27 18:32 Standard1-3-Data.db
-rw-r--r--  1 teodor  wheel     30293 Sep 27 18:32 Standard1-3-Filter.db
-rw-r--r--  1 teodor  wheel   1439401 Sep 27 18:32 Standard1-3-Index.db

/spool/cassandra/data/system:
total 6
-rw-r--r--  1 teodor  wheel  255 Sep 27 18:32 LocationInfo-1-Data.db
-rw-r--r--  1 teodor  wheel   85 Sep 27 18:32 LocationInfo-1-Filter.db
-rw-r--r--  1 teodor  wheel   50 Sep 27 18:32 LocationInfo-1-Index.db

After  hour and a half:
% ls -l /spool/cassandra/commitlog /spool/cassandra/data/Keyspace1 
/spool/cassandra/data/system
/spool/cassandra/commitlog:
total 813840
-rw-r--r--  1 teodor  wheel  134217982 Sep 27 19:57 CommitLog-1254061669607.log
-rw-r--r--  1 teodor  wheel  134217875 Sep 27 19:57 CommitLog-1254062560798.log
-rw-r--r--  1 teodor  wheel  134217761 Sep 27 19:57 CommitLog-1254063429524.log
-rw-r--r--  1 teodor  wheel  134217809 Sep 27 19:57 CommitLog-1254064318004.log
-rw-r--r--  1 teodor  wheel  134217785 Sep 27 19:57 CommitLog-1254065174349.log
-rw-r--r--  1 teodor  wheel  134217849 Sep 27 19:57 CommitLog-1254066038411.log
-rw-r--r--  1 teodor  wheel   27459584 Sep 27 19:58 CommitLog-1254066927001.log

/spool/cassandra/data/Keyspace1:
total 612880
-rw-r--r--  1 teodor  wheel  203500680 Sep 27 19:07 Standard1-38-Data.db
-rw-r--r--  1 teodor  wheel     806965 Sep 27 19:07 Standard1-38-Filter.db
-rw-r--r--  1 teodor  wheel   32636516 Sep 27 19:07 Standard1-38-Index.db
-rw-r--r--  1 teodor  wheel  202494151 Sep 27 19:42 Standard1-75-Data.db
-rw-r--r--  1 teodor  wheel     801685 Sep 27 19:42 Standard1-75-Filter.db
-rw-r--r--  1 teodor  wheel   32441650 Sep 27 19:42 Standard1-75-Index.db
-rw-r--r--  1 teodor  wheel   67331570 Sep 27 19:49 Standard1-83-Data.db
-rw-r--r--  1 teodor  wheel     209845 Sep 27 19:49 Standard1-83-Filter.db
-rw-r--r--  1 teodor  wheel    9598920 Sep 27 19:49 Standard1-83-Index.db
-rw-r--r--  1 teodor  wheel   67375520 Sep 27 19:57 Standard1-92-Data.db
-rw-r--r--  1 teodor  wheel     209605 Sep 27 19:57 Standard1-92-Filter.db
-rw-r--r--  1 teodor  wheel    9579322 Sep 27 19:57 Standard1-92-Index.db

/spool/cassandra/data/system:
total 6
-rw-r--r--  1 teodor  wheel  255 Sep 27 18:32 LocationInfo-1-Data.db
-rw-r--r--  1 teodor  wheel   85 Sep 27 18:32 LocationInfo-1-Filter.db
-rw-r--r--  1 teodor  wheel   50 Sep 27 18:32 LocationInfo-1-Index.db


> Commitlog segments don't get deleted
> ------------------------------------
>
>                 Key: CASSANDRA-459
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-459
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 0.4, 0.5
>
>         Attachments: 
> 0001-CASSANDRA-459-flush-system-table-every-five-minutes.txt, 0002-logging.txt
>
>
> System table is not created with a periodic flush, so any update there (such 
> as storing token info) can prevent commitlog segments from being deleted.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to