geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (GEODE-3801) Utilize hard-links to copy files during backups
Date Tue, 24 Oct 2017 15:25:02 GMT


ASF subversion and git services commented on GEODE-3801:

Commit 6a4e50e7ef2b7a3114e0ec0ba4f1a738de881dfd in geode's branch refs/heads/develop from
[;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
  * 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
  * cleanup existing oplog tests

> Utilize hard-links to copy files during backups
> -----------------------------------------------
>                 Key: GEODE-3801
>                 URL:
>             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

View raw message