[Zope] ZSyncer

Paul Winkler pw_lists at slinkp.com
Thu Sep 18 13:06:02 EDT 2003


On Thu, Sep 18, 2003 at 08:23:28AM -0700, Sophia Grimm wrote:
> When I synchronize using ZSyncer, very frequently the
> indicator text beside the folder still shows as "out
> of date" even though it is not (the date and content
> are correct). Is this typical? And what can I do?
> Because this happens, I am syncing a lot of folders
> that probably don't need it.

This is a known limitation. It happens when the source
system's clock is a bit (or a lot) ahead of the destination.
So you modify something and immediately sync it and the destination
modification time is returned as older than you think.

To prevent it in the future, ensure that the source and
destination servers have their clocks set as close as
possible.
However, this won't help with existing objects.

Current CVS of zsyncer tries uses DublinCore timestamps
instead of bobobase_modification_time, when possible.
This gives better results for CMF content.

Unfortunately, it's hard to do better for most other zope
types, because they only provide bobobase_modification_time, which is
under control of the underlying ZODB and cannot be
overridden by zope.

There are plans to investigate checksumming and other strategies
for more reliably determining sync status, but currently I don't
have much time for this.

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's RASPUTINIC SCHIZOID MEGABOT!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list