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

Re: subversion - svnsync synchronize hangs - how to debug?

From: Marc Breslow <marc2112_at_gmail.com>
Date: Thu, 4 Dec 2014 09:59:31 -0500

Did some more testing here and still stuck.

In one test I changed the sync source to be a different repository on a
different server and sync worked. So pretty sure it is an issue with the
source repo now.

There was also a question:

> Does the target repository start a transaction, is there network traffic
> and is the in-progress transaction changing on disk?

We see the timestamp on the db/txn-current file being updated when svnsync
synchronize starts but we don't see the content of that file changing from
'a'

Any other thoughts on what the issue might be?

On Tue, Dec 2, 2014 at 10:12 AM, Marc Breslow <marc2112_at_gmail.com> wrote:

> +Mailing list
>
> > On Dec 1, 2014, at 4:30 PM, Marc Breslow <marc2112_at_gmail.com> wrote:
> >
> > Hi Andreas. Thanks so much for your quick reply. Please find my
> responses inline:
> > —Marc
> >
> >> On Dec 1, 2014, at 4:06 PM, Andreas Stieger <andreas.stieger_at_gmx.de>
> wrote:
> >>
> >> Hi,
> >>
> >>> On 1 Dec 2014, at 18:40, Marc Breslow <marc2112_at_gmail.com> wrote:
> >>>
> >>> I’ve been trying to get an SVN repository to synchronize to a target
> server. When I run the
> >>> svnsync synchronize [target-http-url] [target-svn+ssh-url] I get the
> following output:
> >>>
> >>> Transmitting file data .
> >>
> >> Why are you specifying the target twice?
> >
> > I’m not. I just wrote it wrong in the email. Sorry about that.
> Corrected to this
> >
> > svnsync synchronize [target-http-url] [source-svn+ssh-url]
> >
> >>
> >>> It just hangs there. I managed to get some logging on the svnserve
> source side switched on and the last entry I see in the log is:
> >>>
> >>> 32272 2014-12-01T18:28:35.638273Z - [uid] [repo-name] replay / r108
> >>
> >> Does the target repository start a transaction, is there network
> traffic and is the in-progress transaction changing on disk?
> >
> > I don’t have direct access to the target svn server. I will need to
> work with someone tomorrow to find this out.
> > svn info [target-url] shows
> > Revision: 0
> > Node Kind: directory
> > Last Changed Rev: 0
> >
> >>
> >>>
> >>> Would love some suggestions about how to debug this. I've checked out
> revisions 107, 108 and 109 successfully.
> >>
> >> Does "svnadmin dump" and "svnrdump dump" finish giving dumps for these
> revisions?
> >
> > svnrdump dump [source-svn+ssh-url] -r [rev] —incremental succeeds for
> revs 107, 108 and 109
> > svnadmin dump [local-path-to-repo] -r [rev] —incremental succeeds for
> revs 107, 108 and 109
> >
> >>
> >> Does syncing from a file:// source (on source host) to destination work?
> >
> > There is no route to target from source host. One of the reasons why I
> am doing this sync.
> >
> >>
> >> Andreas
> >>
> >
>
>
Received on 2014-12-04 16:01:07 CET

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.