Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 53977 invoked from network); 6 Sep 2010 17:51:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Sep 2010 17:51:13 -0000 Received: (qmail 80494 invoked by uid 500); 6 Sep 2010 17:51:12 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 80359 invoked by uid 500); 6 Sep 2010 17:51:12 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 80352 invoked by uid 99); 6 Sep 2010 17:51:12 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Sep 2010 17:51:12 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Sep 2010 17:50:55 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o86HoXxx005187 for ; Mon, 6 Sep 2010 17:50:33 GMT Message-ID: <11175473.42351283795433124.JavaMail.jira@thor> Date: Mon, 6 Sep 2010 13:50:33 -0400 (EDT) From: "Yonik Seeley (JIRA)" To: dev@lucene.apache.org Subject: [jira] Resolved: (SOLR-2100) Fix for saving commit points during java-based backups In-Reply-To: <17349373.16181283538814173.JavaMail.jira@thor> 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 [ https://issues.apache.org/jira/browse/SOLR-2100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley resolved SOLR-2100. -------------------------------- Fix Version/s: 3.1 4.0 Resolution: Fixed OK, I've fixed this in 4.x, 3.x, and 1.4.x > Fix for saving commit points during java-based backups > ------------------------------------------------------ > > Key: SOLR-2100 > URL: https://issues.apache.org/jira/browse/SOLR-2100 > Project: Solr > Issue Type: Bug > Components: replication (java) > Affects Versions: 1.4, 1.4.1 > Reporter: Peter Sturge > Priority: Minor > Fix For: 1.4.2, 3.1, 4.0 > > Attachments: SOLR-2100.PATCH > > Original Estimate: 0h > Remaining Estimate: 0h > > This patch fixes the saving of commit points during backup operations. > This fixes the perviously commited (for 1.4) SOLR-1475 patch. > 1. In IndexDeletionPolicyWrapper.java, commit points are not saved to the 'savedCommits' map. > 2. Also, the testing of the presence of a commit point uses the contains() method instead of containsKey(). > The result of this means that backups for anything but toy indexes fail, because the commit points are deleted (after 10s) before the full backup is completed. > This patch addresses these 2 issues. > Tested with 1.4.1 release trunk, but should also work fine with 1.4. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org