Open sourced the hgsql extension

Durham Goode durham at fb.com
Tue Aug 5 18:22:00 UTC 2014


We just flipped the bit and made our hgsql Mercurial extension open source.  You can find it here: https://bitbucket.org/facebook/hgsql

The extension allows multiple Mercurial servers to provide read and write access to a single repository at the same time (multi-mastering).  It does this by using a MySQL database to coordinate locking and to immediately synchronize changes between servers.

We’ve had this deployed at Facebook for several months now.  It has helped increase our load capacity and has made it almost trivial to handle hardware failures, backups, etc.  There’s still a few rough edges, but so far it’s been pretty stable.

If you give it a try, feel free to ping me in IRC (durham on freenode) if you need help setting it up.

Durham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-devel/attachments/20140805/91cd0db5/attachment-0002.html>


More information about the Mercurial-devel mailing list