[Csync2] Running "csync2 -x ;
csync2 -TT" sometimes shows empty diffs
Andreas J. Koenig
andreas.koenig.gmwojprw at franz.ak.mind.de
Thu Jul 13 23:24:53 CEST 2006
>>>>> On Thu, 13 Jul 2006 10:34:39 +0200, Farzad FARID <ffarid at pragmatic-source.com> said:
> On server A : run "csync2 -x ; csync2 -TT" every 10 minutes
> [...] First, I supposed that "csync2 -TT" should never display
> anything because I just pushed all the changes form A to B with
> the "-x" option. But, from time to time, the cron on server A
> displays an empty diff:
> [...]
> sometimes the cron even displays differences between the 2 lease
> files. Is it possible that a write to the lease file happened just
> between "csync2 -x" and "csync2 -TT"?
Of course! You must always be prepared that something happens while
you are doing something. It's called "multitasking".
> Does "-TT" check the csync2 databases on both sides before
> comparing files? And is "-TT" a CPU consuming command?
Section 5.4 of the paper.pdf file says
5.4 Comparing the hosts
The csync2 -T command can be used to compare the local database
with the database of the remote hosts. Note that this command
compares the databases and not the filesystems - so make sure that
the databases are up-to-date on all hosts before running csync2 -T
and run csync2 -cr / if you are unsure.
Regards,
--
andreas
More information about the Csync2
mailing list