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 Thu, 16 Nov 2017 21:03:00 GMT


ASF subversion and git services commented on GEODE-3801:

Commit 080730b2df5c7ec0a17acd195a5b953dfc6a0d5c in geode's branch refs/heads/develop from
[;h=080730b ]

GEODE-3801: Use hardlinks for backup oplog files (#963)

* 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: Darrel Schneider
> 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