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 1D97E200B65 for ; Tue, 2 Aug 2016 13:19:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1C61E160AA8; Tue, 2 Aug 2016 11:19:22 +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 6F54A160A8C for ; Tue, 2 Aug 2016 13:19:21 +0200 (CEST) Received: (qmail 53618 invoked by uid 500); 2 Aug 2016 11:19:20 -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 53553 invoked by uid 99); 2 Aug 2016 11:19:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2016 11:19:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 839232C0D5E for ; Tue, 2 Aug 2016 11:19:20 +0000 (UTC) Date: Tue, 2 Aug 2016 11:19:20 +0000 (UTC) From: "Arek Kita (JIRA)" To: oak-issues@jackrabbit.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OAK-4630) Create segment tar directory only when it's missing MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 02 Aug 2016 11:19:22 -0000 [ https://issues.apache.org/jira/browse/OAK-4630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arek Kita updated OAK-4630: --------------------------- Fix Version/s: 1.6 > Create segment tar directory only when it's missing > --------------------------------------------------- > > Key: OAK-4630 > URL: https://issues.apache.org/jira/browse/OAK-4630 > Project: Jackrabbit Oak > Issue Type: Improvement > Components: upgrade > Reporter: Arek Kita > Priority: Minor > Labels: patch > Fix For: 1.6 > > Attachments: OAK-4630-create-segment-tar-directory-only-when-it-is-missing.patch > > > Currently using oak-upgrade we are dealing with source directory which should naturally exist and destination directory which in most of the cases (especially for segment-tar) does not exist at all. > It's awkward to demand from oak-upgrade caller to always create such directory as the upgrade process should create everything it needs and it can simply do this on its own in majority of simple cases. > In some sophisticated cases user should be able to create that directory on her/his own and mount i.e. external filesystem to it before using {{oak-upgrade}} but that's very special case that still should work out of the box. In that case we should never demand that the path cannot exist. It should work in both cases whether directory is created or not. -- This message was sent by Atlassian JIRA (v6.3.4#6332)