DO NOT REPLY [Bug 6667] New: proposal: --transaction
samba-bugs at samba.org
samba-bugs at samba.org
Thu Aug 27 16:18:30 MDT 2009
https://bugzilla.samba.org/show_bug.cgi?id=6667
Summary: proposal: --transaction
Product: rsync
Version: 3.1.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: Dave at Yost.com
QAContact: rsync-qa at samba.org
someday, perhaps with zfs, file system APIs will offer transaction wrapper
functions, something like fio_begn(), fio_cancel(), fio_commit().
In the meantime (another 10 years?) until that happy day arrives, rsync could
fake an almost transactional update in the following manner: instead of
creating hidden files as you go, create a hidden directory at the root of the
tree containing all files being transferred. Populate this new tree with
transferred files, then when all have been transferred, hard link all the rest
of the files from the existing tree into the new tree. Finally, rename the
existing tree to a backup name, rename the new tree into place, then rm -rf the
renamed old tree.
--transaction and --partial would work well together.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
More information about the rsync
mailing list