You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Daniel Nuriyev (JIRA)" <ji...@apache.org> on 2014/07/07 17:42:34 UTC

[jira] [Commented] (CASSANDRA-7471) sstableloader should have the ability to strip ttls

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

Daniel Nuriyev commented on CASSANDRA-7471:
-------------------------------------------

Daniel@NetApp:
The fastest way to restore a large database is to stop a node, delete the current data files, place files from a back-up in their places, start a node. In this scenario, ignore-ttl should be passed to bin/cassandra and to bin\cassandra.bat. Passing the flag to the start-up script allows for an easy and quick programmatic restore.


> sstableloader should have the ability to strip ttls
> ---------------------------------------------------
>
>                 Key: CASSANDRA-7471
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7471
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Tools
>            Reporter: Tupshin Harper
>            Priority: Minor
>
> When restoring data from backup, for reasons of data recovery or analysis, if the data was set to TTL, then some or all of the data will be inaccessible unless you either force your entire cluster to have their clocks set in the past, or by slowly and painfully using sstable2json, stripping ttls there, and then json2sstable before loading. 
> I propose a flag "-ignore-ttl" that could be based to sstableloader that would automatically strip any ttls from cells as they are loaded



--
This message was sent by Atlassian JIRA
(v6.2#6252)