You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Boole Guo (JIRA)" <ji...@apache.org> on 2013/11/08 03:24:17 UTC
[jira] [Commented] (CASSANDRA-6315) Should not truncate old
hintscolumnfamily when upgrade
[ https://issues.apache.org/jira/browse/CASSANDRA-6315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13816933#comment-13816933 ]
Boole Guo commented on CASSANDRA-6315:
--------------------------------------
Resonable, but my services would stop and consume too much time for repair. This is important. I want to know if the hints would not droped, what is the result? Can I read it and devliver ?
> Should not truncate old hintscolumnfamily when upgrade
> ------------------------------------------------------
>
> Key: CASSANDRA-6315
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6315
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Environment: Local Test
> Reporter: Boole Guo
>
> When I upgrade C* from 1.1.9 to 1.2.6, I notice that the previous hintscolumnfamily would be directly truncated.
> ColumnFamilyStore oldHintsCfs = table.getColumnFamilyStore(OLD_HINTS_CF);
> if (oldHintsCfs.getSSTables().size() > 0)
> {
> logger.info("Possible old-format hints found. Truncating");
> oldHintsCfs.truncate();
> }
--
This message was sent by Atlassian JIRA
(v6.1#6144)