Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 593E911878 for ; Sat, 16 Aug 2014 06:30:20 +0000 (UTC) Received: (qmail 51363 invoked by uid 500); 16 Aug 2014 06:30:20 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 51328 invoked by uid 500); 16 Aug 2014 06:30:20 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 51315 invoked by uid 99); 16 Aug 2014 06:30:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Aug 2014 06:30:19 +0000 Date: Sat, 16 Aug 2014 06:30:19 +0000 (UTC) From: "Benedict (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7232) Enable live replay of commit logs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-7232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14099524#comment-14099524 ] Benedict commented on CASSANDRA-7232: ------------------------------------- Missed this due to status != Patch Available I'm not keen on passing properties around using System.get/setProperty after system startup. We should modify CommitLogReplay so we can instantiate it with a specific PIT, and construct one specifically for this out-of-band restore. Also the comment is inaccurate, stating it is the point to restore _from_, not _to_. However it would be useful to be able to provide both, as presumably the commitlog archive directory will have more logs than needed. > Enable live replay of commit logs > --------------------------------- > > Key: CASSANDRA-7232 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7232 > Project: Cassandra > Issue Type: Improvement > Components: Tools > Reporter: Patrick McFadin > Assignee: Lyuben Todorov > Priority: Minor > Fix For: 2.0.10 > > Attachments: 0001-Expose-CommitLog-recover-to-JMX-add-nodetool-cmd-for.patch, 0001-TRUNK-JMX-and-nodetool-cmd-for-commitlog-replay.patch > > > Replaying commit logs takes a restart but restoring sstables can be an online operation with refresh. In order to restore a point-in-time without a restart, the node needs to live replay the commit logs from JMX and a nodetool command. > nodetool refreshcommitlogs -- This message was sent by Atlassian JIRA (v6.2#6252)