From oak-issues-return-72150-archive-asf-public=cust-asf.ponee.io@jackrabbit.apache.org Tue Jun 4 15:38:25 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id EE4E7180787 for ; Tue, 4 Jun 2019 17:38:20 +0200 (CEST) Received: (qmail 94216 invoked by uid 500); 4 Jun 2019 15:38:15 -0000 Mailing-List: contact oak-issues-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-issues@jackrabbit.apache.org Received: (qmail 93631 invoked by uid 99); 4 Jun 2019 15:38:14 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2019 15:38:14 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3467AE2D1E for ; Tue, 4 Jun 2019 15:38:11 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 0C466245A0 for ; Tue, 4 Jun 2019 15:38:11 +0000 (UTC) Date: Tue, 4 Jun 2019 15:38:11 +0000 (UTC) From: "Davide Giannella (JIRA)" To: oak-issues@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OAK-5553) Index async index in a new lane without blocking the main lane 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/OAK-5553?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Davide Giannella updated OAK-5553: ---------------------------------- Fix Version/s: (was: 1.14.0) > Index async index in a new lane without blocking the main lane > -------------------------------------------------------------- > > Key: OAK-5553 > URL: https://issues.apache.org/jira/browse/OAK-5553 > Project: Jackrabbit Oak > Issue Type: New Feature > Components: indexing > Reporter: Chetan Mehrotra > Priority: Major > Fix For: 1.16.0 > > > Currently if an async index has to be reindex for any reason say update of index definition then this process blocks the indexing of other indexes on that lane. > For e.g. if on "async" lane we have 2 indexes /oak:index/fooIndex and /oak:index/barIndex and fooIndex needs to be reindexed. In such a case currently AsyncIndexUpdate would work on reindexing and untill that gets complete other index do not receive any update. If the reindexing takes say 1 day then other index would start lagging behind by that time. Note that NRT indexing would help somewhat here. > To improve this we can implement something similar to what was done for property index in OAK-1456 i.e. provide a way where > # an admin can trigger reindex of some async indexes > # those indexes are moved to different lane and then reindexed > # post reindexing logic should then move them back to there original lane > Further this task can then be performed on non leader node as the indexes would not be part of any active lane. Also we may implement it as part of oak-run -- This message was sent by Atlassian JIRA (v7.6.3#76005)