Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 14A0F200CA3 for ; Thu, 1 Jun 2017 12:48:41 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 12BE1160BC4; Thu, 1 Jun 2017 10:48:41 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4B690160BB5 for ; Thu, 1 Jun 2017 12:48:40 +0200 (CEST) Received: (qmail 84142 invoked by uid 500); 1 Jun 2017 10:48:39 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 84125 invoked by uid 99); 1 Jun 2017 10:48:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Jun 2017 10:48:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 66BDE1A008F for ; Thu, 1 Jun 2017 10:48:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.4 X-Spam-Level: X-Spam-Status: No, score=-0.4 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.8, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id aew6AZ0xpekB for ; Thu, 1 Jun 2017 10:48:37 +0000 (UTC) Received: from mail-yb0-f176.google.com (mail-yb0-f176.google.com [209.85.213.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2652E5F1B3 for ; Thu, 1 Jun 2017 10:48:37 +0000 (UTC) Received: by mail-yb0-f176.google.com with SMTP id 132so9875595ybq.1 for ; Thu, 01 Jun 2017 03:48:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cFr1Djpg7Rb7lM/IEakvoEkiEhjD2a8G6zMr9KdeFiU=; b=hnxVgh0uANUn54Y85GJYkOzJreJZaFJVTf8UyDV0QflJqiYz1GRpXXCcXgb01lYOWW eBencXNjXJZNw8gdzMCeP+Rs/q05Q2XEb4blDcCvacP7BnRriN/N+g+tb/wnaJy9YPhB XmAPx6dG+gQTqaJL5IV+N6q6Z2F6sEbbrpja7o1rmYL3SagbAPBVyZK+FXIgFa/IVzao xcRqA0LKSAnrAepMBtDIz1ZXOiai58lchm+6PqtLRwrGFI12catLkwuJFNFI0hrnPy+q t0lrjafOqRUmMY21rY+wT+57FU0II16tea4ynv1OcEbhO2l28DM6uJydLIOvmB4wLTxR 1mNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cFr1Djpg7Rb7lM/IEakvoEkiEhjD2a8G6zMr9KdeFiU=; b=c0ZwBuc5OsCxrNnxHMjkTikfQkKuUBgVNnJBjY98RixomG+PmoEd8zF74x/8X2OyCk 2znPXg38/RYbOyl/G5fl2nedl0aByE0m6PBrgwzYk5M35Zl+qz45N40AUNkXEayOoPQm eAeQ/1K4EeOy534QTswPxCvPC5Gkm6UFmIuZLyDs0atQLxNIJ9uf9+18bLFtQPXRHhPe NgKCC3JgLS18rPky+hW9FMZ256NrWNJ+DiLDoyr/1ncQp76CKYgvtiw1FbciTsA75ffO c4WGCN4taViZ3XAK1CSx7tJDqDldlSgBrZsDFcYPPcjpx6nsyGhRwnRM9mJgdiUJeWYe qtog== X-Gm-Message-State: AODbwcBYvO76W3SxDHRZQAod1cMK148Qv91R62q1Ae7ZN6zOoKZk3UCE nie+UOLEYnTpStxnvyDZc4RtEWJBOg== X-Received: by 10.37.172.73 with SMTP id r9mr1150489ybd.109.1496314116650; Thu, 01 Jun 2017 03:48:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.38.73 with HTTP; Thu, 1 Jun 2017 03:48:16 -0700 (PDT) In-Reply-To: References: From: Riccardo Tasso Date: Thu, 1 Jun 2017 12:48:16 +0200 Message-ID: Subject: Re: Replicator and Writer deletion policy To: Michael McCandless Cc: Lucene Users Content-Type: multipart/alternative; boundary="f403045ea970655f920550e3c754" archived-at: Thu, 01 Jun 2017 10:48:41 -0000 --f403045ea970655f920550e3c754 Content-Type: text/plain; charset="UTF-8" Thank you Michael, I'm waiting for the Shai answer. Unfortunately I can't move from lucene4 but I will take a look at the new NRT replication. 2017-06-01 12:34 GMT+02:00 Michael McCandless : > Sorry, I don't know the answer to your questions; maybe Shai Erera does? > > But, FYI: Lucene added near-real-time replication recently ( > https://issues.apache.org/jira/browse/LUCENE-5438), for much faster > replication (no commit needed). It also doesn't require you to use > SnapshotDeletionPolicy. Instead, the implementation takes care of > incRef/decRef the files that still need to be copied. > > I'm using this feature now and it's working quite well. > > Mike McCandless > > http://blog.mikemccandless.com > > On Thu, Jun 1, 2017 at 3:25 AM, Riccardo Tasso > wrote: > >> I am studying a solution which uses lucene replicator components (I'm on >> lucene 4.10.4) and I've found some documentation on the javadoc and in >> some >> blog posts. >> >> When my IndexWriter commits it produces a Revision which is sent to the >> ReplicationClient. >> >> To be sure of keeping data untill the replica is finished I've set the >> SnapshotDeletionPolicy for my IndexWriter. Anyway I am observing the >> growth >> of the master index while the replica remains much smaller. >> >> Should I explicity release my Revision? Which is the right moment to do >> it? >> >> Thanks, >> Riccardo >> > > --f403045ea970655f920550e3c754--