https://github.com/codership/galera
Synchronous multi-master replication library
https://github.com/codership/galera
Last synced: 2 months ago
JSON representation
Synchronous multi-master replication library
- Host: GitHub
- URL: https://github.com/codership/galera
- Owner: codership
- License: gpl-2.0
- Created: 2014-04-19T21:29:08.000Z (about 11 years ago)
- Default Branch: 4.x
- Last Pushed: 2024-08-05T08:51:42.000Z (10 months ago)
- Last Synced: 2024-08-05T10:26:36.942Z (10 months ago)
- Language: C++
- Size: 18.8 MB
- Stars: 443
- Watchers: 65
- Forks: 177
- Open Issues: 237
-
Metadata Files:
- Readme: README
- Contributing: CONTRIBUTING.md
- License: COPYING
- Authors: AUTHORS
Awesome Lists containing this project
- awesome-mysql - Galera Cluster - a true Multimaster Cluster based on synchronous replication. (HA)
README
Codership Oy
http://www.codership.comThis is Galera replication - Codership's implementation of the write set
replication (wsrep) interface (https://github.com/codership/wsrep-API).
The software and other files in this directory unless otherwise noted
are distributed under GPLv2, see COPYING for details.BUILDING - General
Build Requirements:
* CMake build system https://cmake.org/
* Check unit test library http://check.sourceforge.net/
* Boost devel package http://www.boost.org/
* OpenSSL devel packageOptional:
* Asio C++ library devel package (http://think-async.com/)To build with CMake, do:
$ cmake .
$ make
Run unit tests with CMake:
$ make testNote that Scons has been obsoleted since Galera 3.32, but it is still possible
to compile by running:
$ scons
(default optimized build)
or
$ ./scripts/build.sh --scons
(see ./scripts/build.sh --help for information on options)To build MySQL/Galera demo distribution, clone
https://github.com/codership/mysql-wsrep into some directory (hereafter
) and run build script from this directory (hereafter ):$ cd
$ git clone --single-branch --branch 5.6 \
https://github.com/codership/mysql-wsrep.git
$ cd
$ MYSQL_SRC=/mysql-wsrep ./scripts/mysql/build.sh -b -s -o -tAfter successful build, demo package can be found under scripts/mysql.
BUILDING - on Ubuntu 20.04 or later
1) apt-get install check cmake libasio-dev libboost-dev \
libboost-program-options-dev libssl-devThen proceed as described above.
BUILDING - on RHEL 8 or later
1) yum install gcc gcc-c++ cmake boost-devel check-devel openssl-devel
Then proceed as described above.
For more information, see:
* Codership mailing list: http://groups.google.com/group/codership-team
* http://galeracluster.com/
* Codership home page: http://www.codership.com