cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Williams (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10962) Cassandra should not create snapshot at restart for compactions_in_progress
Date Fri, 05 Feb 2016 20:53:39 GMT

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

Brandon Williams commented on CASSANDRA-10962:
----------------------------------------------

I think you're going to have to tell us how to reproduce or find the spot in the code that
is doing the snapshot, because I don't see this behavior at all.

> Cassandra should not create snapshot at restart for compactions_in_progress
> ---------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10962
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10962
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu 14.04.3 LTS
>            Reporter: FACORAT
>            Priority: Minor
>
> If auto_snapshot is set to true in cassandra.yaml, each time you restart Cassandra, a
snapshot is created for system.compactions_in_progress as the table is truncated at cassandra
start.
> However as datas in this table are temporary, Cassandra should not create snapshot for
this table (or maybe even for system.* tables). This will be coherent with the fact that "nodetool
listsnapshots" doesn't even list this table.
> Exemple:
> $ nodetool listsnapshots | grep compactions
> $ ls -lh system/compactions_in_progress-55080ab05d9c388690a4acb25fe1f77b/snapshots/
> total 16K
> drwxr-xr-x 2 cassandra cassandra 4.0K Nov 30 13:12 1448885530280-compactions_in_progress
> drwxr-xr-x 2 cassandra cassandra 4.0K Dec  7 15:36 1449498977181-compactions_in_progress
> drwxr-xr-x 2 cassandra cassandra 4.0K Dec 14 18:20 1450113621506-compactions_in_progress
> drwxr-xr-x 2 cassandra cassandra 4.0K Jan  4 12:53 1451908396364-compactions_in_progress



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

Mime
View raw message