[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svnsync and commit metadata

From: James Stocks <svnadmins_at_codeweavers.net>
Date: Thu, 10 Sep 2020 15:01:50 +0100

Hello,

We are trying to write a check for our monitoring system which asserts
that an SVN mirror is up to date with the master. We do currently
have a check looking at the youngest revision number/age on the master
and mirror, however, this wrongly asserts that the mirror is out of
sync during the brief window when the mirror hasn't caught up.

We would like to find a way of inspecting the time of a given commit
being successfully synchronised to a mirror as opposed to the
timestamp of the commit itself. We think that this might be stored as
metadata in the subversion filesystem. Alternatively, is it possible
to inspect the SVN repo on the mirror and determine the time of the
most recent successful svnsync? I am aware that we could check the
return code of svnsync running on the master, however, we need to be
able to check this on the mirror end of the process.

We would appreciate advice anyone has with this situation, or tips
from anyone who has dealt with anything similar.

Many thanks,
James.

-- 
Received on 2020-09-10 16:04:52 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.