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 C348F200D24 for ; Tue, 24 Oct 2017 17:25:06 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C1F11160BF1; Tue, 24 Oct 2017 15:25:06 +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 14147160BDB for ; Tue, 24 Oct 2017 17:25:05 +0200 (CEST) Received: (qmail 61799 invoked by uid 500); 24 Oct 2017 15:25:05 -0000 Mailing-List: contact issues-help@geode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@geode.apache.org Delivered-To: mailing list issues@geode.apache.org Received: (qmail 61784 invoked by uid 99); 24 Oct 2017 15:25:05 -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; Tue, 24 Oct 2017 15:25:05 +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 6A5B31A14EF for ; Tue, 24 Oct 2017 15:25:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled 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 EKozkqDbuprW for ; Tue, 24 Oct 2017 15:25:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 4C8295FB5C for ; Tue, 24 Oct 2017 15:25:03 +0000 (UTC) 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 CB8ADE0EFA for ; Tue, 24 Oct 2017 15:25:02 +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 3EA3D212FA for ; Tue, 24 Oct 2017 15:25:02 +0000 (UTC) Date: Tue, 24 Oct 2017 15:25:02 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@geode.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (GEODE-3801) Utilize hard-links to copy files during backups MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 24 Oct 2017 15:25:07 -0000 [ https://issues.apache.org/jira/browse/GEODE-3801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16217102#comment-16217102 ] ASF subversion and git services commented on GEODE-3801: -------------------------------------------------------- Commit 6a4e50e7ef2b7a3114e0ec0ba4f1a738de881dfd in geode's branch refs/heads/develop from [~nreich] [ https://gitbox.apache.org/repos/asf?p=geode.git;h=6a4e50e ] GEODE-3801: Use hardlinks for backup oplog files (#963) * GEODE-3801: Use hardlinks for backup oplog files * Oplog files that are backed up are read-only. For this reason, they can be transfered to the backup location through hard links, instead of copying the file. This change improves speed of backups. If the creation of a hard link fails, we revert to the existing copy behavior. * During backups, the copying of the oplog's krf file was being done while that file could still be in the process of writing. This change ensures that if a krf is to be written, that it is finished and included in the backup * cleanup existing oplog tests > Utilize hard-links to copy files during backups > ----------------------------------------------- > > Key: GEODE-3801 > URL: https://issues.apache.org/jira/browse/GEODE-3801 > Project: Geode > Issue Type: Sub-task > Components: persistence > Reporter: Nick Reich > Assignee: Nick Reich > > Instead of copying files which are read-only during a backup, create a hard-link to the file in the backup location. This prevents losing the file if the original location is deleted, but does not require make a new copy of the file. If hard-links cannot be created, revert to the existing copying mechanic. -- This message was sent by Atlassian JIRA (v6.4.14#64029)