samba-bugs at samba.org
2020-Feb-04 05:41 UTC
[Bug 14262] New: add continuous sync mode using inotify/fanotify/etc
https://bugzilla.samba.org/show_bug.cgi?id=14262 Bug ID: 14262 Summary: add continuous sync mode using inotify/fanotify/etc Product: rsync Version: 3.1.3 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 Component: core Assignee: wayne at opencoder.net Reporter: pabs3 at bonedaddy.net QA Contact: rsync-qa at samba.org rsync is often run from cron, which means it has to walk entire directory trees every time it is run, which is inefficient when it is run often. Most operating systems offer APIs (such as inotify/fanotify on Linux) that allow programs to be notified of filesystem changes. To replace rsync in cron jobs, rsync could offer a mode that would register for filesystem change notifications, do a regular sync and then for each filesystem change notification, transfer the changes to the remote end (or local end for a reverse transfer). SIGINT/Ctrl+C or other termination signals could be used to end the continuous sync. -- You are receiving this mail because: You are the QA Contact for the bug.
samba-bugs at samba.org
2020-Feb-04 05:45 UTC
[Bug 14262] add continuous sync mode using inotify/fanotify/etc
https://bugzilla.samba.org/show_bug.cgi?id=14262 --- Comment #1 from Paul Wise <pabs3 at bonedaddy.net> --- I note that the lsyncd tool can be used to work around this feature being missing from rsync. By default it collates filesystem events over several seconds and then runs rsync to transfer the changes. Giving rsync the ability to do this itself would be more efficient and reduce the sync delay. https://axkibe.github.io/lsyncd/ -- You are receiving this mail because: You are the QA Contact for the bug.
Reasonably Related Threads
- [Bug 15276] New: text rendering, PGRAPH_ERROR/ILLEGAL_MTHD/ PROTECTION_FAULT spam in syslog
- [Bug 2065] New: double confirmation with ssh-add -c and ControlMaster autoask
- [Bug 2120] New: ssh-agent: cleanup sockets on Ctrl+C with debug mode
- building samba git master: error with pyldb-util/ldb
- [Bug 2552] New: ssh -X and "ForwardX11Trusted no" break most applications, distros turn on "ForwardX11Trusted yes"