Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 072A8D44E for ; Tue, 9 Oct 2012 22:54:05 +0000 (UTC) Received: (qmail 24547 invoked by uid 500); 9 Oct 2012 22:54:03 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 24442 invoked by uid 500); 9 Oct 2012 22:54:03 -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 24355 invoked by uid 99); 9 Oct 2012 22:54:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 22:54:03 +0000 Date: Tue, 9 Oct 2012 22:54:03 +0000 (UTC) From: "Mark Miller (JIRA)" To: dev@lucene.apache.org Message-ID: <640579884.17155.1349823243535.JavaMail.jiratomcat@arcas> In-Reply-To: <1030369606.156448.1349213587693.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (SOLR-3911) Replication should work with any Directory impl, not just local filesystem based Directories. 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/SOLR-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated SOLR-3911: ------------------------------ Attachment: SOLR-3911.patch New patch. All tests are now uncommented and pass. Still some more cleanup and checking to do. Especially some hard thinking around where we use File.getCanonical and File.getAbsolute path. There are possibly issues our test cases are not catching. Still have a mkdir issue to address properly - right now I just special case for a couple fs based Directory impls. sizeOfIndexDirectory now works based on Directory. Still have not optimized rename/move for fs based Directory impls. Looking good though - this is fairly close. > Replication should work with any Directory impl, not just local filesystem based Directories. > --------------------------------------------------------------------------------------------- > > Key: SOLR-3911 > URL: https://issues.apache.org/jira/browse/SOLR-3911 > Project: Solr > Issue Type: Improvement > Reporter: Mark Miller > Assignee: Mark Miller > Fix For: 4.1, 5.0 > > Attachments: SOLR-3911.patch, SOLR-3911.patch > > > I've wanted to do this for a long time - there is no reason replication should not support any directory impl. This will let us use the mockdir for replication tests rather than having to force an FSDir and lose all the extra test checks and simulations. This will improve our testing around replication a lot, and allow custom Directory impls to be used on multi node Solr. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org