Hello Daniel, On Thu, Dec 8, 2016 at 1:08 AM, Daniel Shahaf <[email protected]> wrote: > > Pavel Lyalyakin wrote on Wed, Dec 07, 2016 at 20:59:24 +0300: > > On Wed, Dec 7, 2016 at 8:54 PM, Stümpfig, Thomas > > <[email protected]> wrote: > > > > > > The rev to be synced is 2,291,973,385 Bytes large (Size in txn-protorevs > > > directory. Of target mirror) > > > > > > The sync is with svn 1.9.5 (Visual SVN Server) over both https > > > > > > You should use file:/// access to the local repository instead of > > HTTP(S). > > Why? There are perfectly good reasons to use http://localhost/, for > example, to have a one-stop-shop killswitch for disabling "everything" > from accessing the repository.
"E175012: Connection timed out" error might occur when you use `svnsync` and source and target repositories are both accessed by HTTP(S). My guess was that Thomas was getting this error. When both URLs are HTTP(S), `svnsync` works unreliable. It creates two connections to the servers and the local server will drop the connection on timeout in case there are delays on the side of remote server. The local server has to wait untill the remote server fully receives the transaction and commits the data and may drop the connection if it takes a bit longer. In most cases, such problem could occur when syncing larger revisions but it also depends on the bandwidth. Using file:/// access to local repository helps avoid this problem. > I'm guessing the dump/incremental-load/update-r0-revprops surgery went > wrong. I would (a) double-check that the revision that had been > manually synced did in fact sync correctly, (b) review the r0 revprops. > (Thomas: you can just post the 'proplist -v' here if you aren't sure > whether it's correct now.) > > Also, as Pavel says, we need the full error message. > > Cheers, > > Daniel > > > Here is an example: > > [[[ > > svnsync sync "https://svn.example.com/svn/MyRepo" > > "file:///C:/Repositories/MyRepo/" > > ]]] > > > > Does the error occur when you use file:/// access to local repository? > > > > > I tried to rdump, svnadmin load incremental (works) and adjust > > > revprop info in rev 0 to the new imported files. But the I got > > > a path already exists for following syncs. Might not be related to > > > my manipulations but could be the case. -- With best regards, Pavel Lyalyakin VisualSVN Team
