rsyncing files that might change

Matt McCutchen matt at mattmccutchen.net
Thu Nov 1 03:09:31 GMT 2007


On Thu, 2007-11-01 at 10:35 +1000, Franc Carter wrote:
> If am rsyncing a file and I have the the following sequence of events
> happen in
> the same second
> 
>    1. rsync starts
>    2. rsync sends some chunk of data to the other end
>    3 a local process modifies the chunk that has just been sent

> So, my question - is this case a race condition in which a subsequent 
> run of rsync may miss that the file has been modified and hence skip
> it ?

Unfortunately, yes.

Matt



More information about the rsync mailing list