Comment 1 for bug 120992

Revision history for this message
David Allouche (ddaa) wrote : Re: should be able to import incrementally from unreliable servers

The svn import code of cscvs should:

 * Use the svn_ra API instead of the svn_client API, to use persistent sessions for multiple queries and avoid creating that silly number of connections.
 * Be able to create a new session, with increasing retry delays if the server has a hiccup and the session errors out, just as its native cvs pserver client does.

That should adequately address the issue with flaky svn servers, and would also make svn imports much faster and put less load on the community servers we import from.

Handling flaky servers by allowing importd to restart failed imports would probably be less programming work, but it would require more handiwork and I do not think it would be a Good Thing.

I suggest changing the title of this bug to "use persistent svn_ra sessions and reconnect on failure" and retargetting to launchpad-cscvs.