Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 286EBD188 for ; Mon, 2 Jul 2012 10:37:48 +0000 (UTC) Received: (qmail 19509 invoked by uid 500); 2 Jul 2012 10:37:44 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 19456 invoked by uid 500); 2 Jul 2012 10:37:44 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 19423 invoked by uid 99); 2 Jul 2012 10:37:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jul 2012 10:37:42 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 67.222.54.6 is neither permitted nor denied by domain of nicholas.ball@nodelay.com) Received: from [67.222.54.6] (HELO oproxy6-pub.bluehost.com) (67.222.54.6) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 02 Jul 2012 10:37:35 +0000 Received: (qmail 26387 invoked by uid 0); 2 Jul 2012 10:37:13 -0000 Received: from unknown (HELO box304.bluehost.com) (69.89.31.104) by cpoproxy3.bluehost.com with SMTP; 2 Jul 2012 10:37:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=nodelay.com; s=default; h=Message-ID:References:In-Reply-To:Subject:To:From:Date:Content-Transfer-Encoding:Content-Type:MIME-Version; bh=wj/drEGZgVUHZIQm2HRDOKkj5QymtT+R2hPBel/l+O0=; b=PE3jiHu/LfpE610o++MIDw4Z4SmwqlcXfJzFiEXY/HCXf7xewRQmHmBmlTIE3AxFcRFsVKeVp//J4qFrXthz85dAeU8vWwhkx+Olyat5+MiYjhqfptlVej/pgfHRqmHW; Received: from [69.89.31.104] (port=51750 helo=mail.nodelay.com) by box304.bluehost.com with esmtpa (Exim 4.76) (envelope-from ) id 1Sle0G-0006E0-S4 for solr-user@lucene.apache.org; Mon, 02 Jul 2012 04:37:12 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Mon, 02 Jul 2012 04:37:12 -0600 From: Nicholas Ball To: Subject: Re: Atomic Multicore Operations - E.G. Move Docs In-Reply-To: References: Message-ID: <160985ea7cf1ed6c8a1944436ecadc54@mail.nodelay-solutions.com> X-Sender: nicholas.ball@nodelay.com User-Agent: SilvertipCode Webmail/0.4-beta X-Identified-User: {534:box304.bluehost.com:nodelays:nodelay.com} {sentby:smtp auth 69.89.31.104 authed with nicolasball@nodelay.com} That could work, but then how do you ensure commit is called on the two cores at the exact same time? Also, any way to commit a specific update rather then all the back-logged ones? Cheers, Nicholas On Sat, 30 Jun 2012 16:19:31 -0700, Lance Norskog wrote: > Index all documents to both cores, but do not call commit until both > report that indexing worked. If one of the cores throws an exception, > call roll back on both cores. > > On Sat, Jun 30, 2012 at 6:50 AM, Nicholas Ball > wrote: >> >> Hey all, >> >> Trying to figure out the best way to perform atomic operation across >> multiple cores on the same solr instance i.e. a multi-core environment. >> >> An example would be to move a set of docs from one core onto another core >> and ensure that a softcommit is done as the exact same time. If one were >> to >> fail so would the other. >> Obviously this would probably require some customization but wanted to >> know what the best way to tackle this would be and where should I be >> looking in the source. >> >> Many thanks for the help in advance, >> Nicholas a.k.a. incunix