P
P
pashaxp2014-03-27 18:00:15
linux
pashaxp, 2014-03-27 18:00:15

How to make SVN master-master replication?

There is a fairly large storage of SVN repositories, and to ensure fault tolerance, it is planned to set up master-master replication, minimizing the risks of data loss.
The question is - how can this be done using open source software?
There is a WanDisco SVN MultiSite solution, it is paid, and, unfortunately, is not suitable.
Any other options, maybe someone used? Haven't been able to google a free analogue of SVN MultiSite yet.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Cheremisin, 2014-03-27
@pashaxp

Alas, there will be no master-master, there will only be a master-archive as a last resort. Switch to either mercurial or git. I recommend mercurial as being more conservative. Yes, the experience with svn, and also with csv, is simply huge. We switched to mercurial and forgot about all the disadvantages of svn/csv.
You just need to decide!
SVN is twice as good as CSV, but also an order of magnitude worse than mercurial/git.

A
afiskon, 2014-03-29
@afiskon

I can only imagine how to make a master slave. You can try switching to Git , where the server is not so heavily loaded due to the ability to make commits locally, and then push them all at once. There is a migration from SVN as far as I remember.
Also in such cases, the project code is often split into several repositories that can be stored on several servers. The main repository is cloned, "dependencies" are pulled into it (Git has a submodule mechanism, or you can write a simple script), then the project is built. It turns out something like sharding.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question