Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 71533 invoked from network); 28 Jul 2009 23:25:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Jul 2009 23:25:44 -0000 Received: (qmail 38999 invoked by uid 500); 28 Jul 2009 23:25:44 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 38911 invoked by uid 500); 28 Jul 2009 23:25:44 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 38901 invoked by uid 99); 28 Jul 2009 23:25:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 23:25:44 +0000 X-ASF-Spam-Status: No, hits=-1998.8 required=10.0 tests=ALL_TRUSTED,FS_REPLICA X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2009 23:25:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3A18D234C045 for ; Tue, 28 Jul 2009 16:25:15 -0700 (PDT) Message-ID: <812893164.1248823515236.JavaMail.jira@brutus> Date: Tue, 28 Jul 2009 16:25:15 -0700 (PDT) From: "Jay (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Created: (SOLR-1315) new replication command needed to force a backup when there is no committed index data MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org new replication command needed to force a backup when there is no committed index data -------------------------------------------------------------------------------------- Key: SOLR-1315 URL: https://issues.apache.org/jira/browse/SOLR-1315 Project: Solr Issue Type: New Feature Components: replication (java) Affects Versions: 1.4 Environment: Mac OS Reporter: Jay Priority: Minor Fix For: 1.4 Here is an email describing the problem, and a possible solution. I agree. I think both options could be useful - perhaps a 'forceBackup' as well? Documentation would take care of the rest. Have you added this info to the wiki yet? -- - Mark http://www.lucidimagination.com On Thu, Jul 23, 2009 at 12:56 PM, solr jay wrote: > Hi, > > I noticed that the backup request > > http://master_host:port/solr/replication?command=backup< > http://master_host/solr/replication?command=backup> - Hide quoted text - > > works only if there are committed index data, i.e. > core.getDeletionPolicy().getLatestCommit() is not null. Otherwise, no > backup > is created. It sounds logical because if nothing has been committed since > your last backup, it doesn't help much to do a new backup. However, > consider > this scenario: > > 1. a backup process is scheduled at 1:00AM every Monday > 2. just before 1:00AM, the system is shutdown (for whatever reason), and > then restarts > 3. No index is committed before 1:00AM > 4. at 1:00AM, backup process starts and no committed index is found, and > therefore no backup (until next week) > > The probability of this scenario is probably small, but it still could > happen, and it seems to me that if I want to backup index, a backup should > be created whether there are new committed index or not. > > Your thoughts? > > Thanks, -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.