[osmosis-dev] Patch: ReplicationLagReader

Brett Henderson brett at bretth.com
Mon Jul 26 09:01:12 BST 2010


Hi Peter,

You seem to have left my name as the author in some of the source code.
Presumably that should be your name ;-)

Can you let me know what the purpose of this is?  Okay, I understand that
this is for "replication lag", but what is it comparing?  On first read it
appears to be comparing the latest server timestamp from the local
timestamp, but I can't see the local timestamp ever being set.  Is that
correct?

Brett

On Sun, Jul 25, 2010 at 10:34 AM, Peter Körner <osm-lists at mazdermind.de>wrote:

> Hi
>
> To learn a bit about the internal structure of osmosis I developed a new
> task in the "replication" section. It's basicly the same as the little
> replag script [1] I use on my servers.
>
> I also added a munin plugin that plots the replication lag into a graph. On
> some systems the plugin needs some extra time (upper munin-node timeout)
> because of javas slow startup.
>
> I don't know if this task should be comitted to svn or if it's too simple
> (its task can also be fulfilled by that simple shell-script). I also don't
> know where to place the muinin plugin in the source tree and how to make it
> installed into the right place when using debuild to make a debian package.
>
> Please find the patch attached.
>
> Peter
>
> [1] <http://svn.toolserver.org/svnroot/mazder/diff-import/replag>
>
> _______________________________________________
> osmosis-dev mailing list
> osmosis-dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/osmosis-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20100726/a70b2cc2/attachment.html>


More information about the osmosis-dev mailing list