You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jan Lindström 9f9f579cb1
Merge pull request #5 from tempesta-tech/sysprg/MDEV-18515
6 months ago
asio GAL-407 Explicitly disallow SSLv2, SSLv3, TLS 1.0 2 years ago
chromium Refs codership/galera#321 3 years ago
common Travis CI support plus 4 years ago
debian GAL-470, codership/galera#432 Filter out nondeterministic tests 2 years ago
docs Documentation moved to https://github.com/codership/documentation 4 years ago
galera MDEV-17243: "FSM: no such a transition ABORTING -> REPLICATING" 10 months ago
galerautils GAL-510 Disable kqueue on ASIO < 1.10.5 2 years ago
garb refs codership/galera#367 use system ASIO if available 3 years ago
gcache GAL-503 - cleaned up some log messages 2 years ago
gcomm MDEV-18515: The wsrep_cluster_weight status variable is not supported 6 months ago
gcs GAL-505 use gcs_fc_hard_limit_fix consistently instead of a literal 2 years ago
man codership/galera#234 Make the man page file name consistent with its section 4 years ago
scripts Make scripts/build.sh work on systems where bash is not installed in /bin/bash 2 years ago
tests GAL-487 2 years ago
www.evanjones.ca Refs #59: Fixes compilation on PowerPC to the extent possible (in QEMU-emulated VM) 5 years ago
.bzrignore Refs #779: 6 years ago
.gitignore GAL-487 2 years ago
.travis.yml Switching back to container-based builds 4 years ago
AUTHORS Refs #421 - merging cleanups and changes that already happened in lp:galera 8 years ago
CONTRIBUTING.md Create CONTRIBUTING.md 3 years ago
CONTRIBUTORS.txt Merge branch '3.x' of git://github.com/ottok/galera into ottok-3.x 3 years ago
CONTRIBUTOR_AGREEMENT.txt Minor spelling and formatting fixes in CONTRIBUTOR files 3 years ago
COPYING GAL-492 Updated COPYING file 2 years ago
LICENSE Merge r2951 from 2.x: refs #741 - Be consistent in licensing. 6 years ago
README GAL-509 White-space cleanup in README 2 years ago
SConscript refs #775: rename libgalera_smm.dylib to libgalera_smm.so for consistency with the pther plugins 6 years ago
SConstruct MDEV-17243: "FSM: no such a transition ABORTING -> REPLICATING" 10 months ago

README

Codership Oy
http://www.codership.com
<info@codership.com>

This 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:
* Scons build system http://www.scons.org/
* Check unit test library http://check.sourceforge.net/
* Boost devel package http://www.boost.org/
* OpenSSL devel package

Optional:
* Asio C++ library devel package (http://think-async.com/)

To compile, in Galera root directory do either:
$ scons
(default optimized build)
or
$ ./scripts/build.sh
(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
<MYSQL_DIR>) and run build script from this directory (hereafter <GALERA_DIR>):

$ cd <MYSQL_DIR>
$ git clone --single-branch --branch 5.6 \
https://github.com/codership/mysql-wsrep.git
$ cd <GALERA_DIR>
$ MYSQL_SRC=<MYSQL_DIR>/mysql-wsrep ./scripts/mysql/build.sh -b -s -o -t

After successful build, demo package can be found under scripts/mysql.

BUILDING on Ubuntu 16.04

1) apt-get install libasio-dev check scons libboost-program-options-dev \
libboost-dev libssl-dev

Then proceed as described above.

BUILDING on CentOS/RHEL 5

CentOS/RHEL by default uses a very old version of GCC and a likewise ancient
version of BOOST that lacks important features. In order to build Galera on
CentOS/RHEL one needs to:

1) Install gcc44 and gcc44-c++ packages and set CC and CXX variables
accordingly:
# yum install gcc44 gcc44-c++
# export CC=gcc44
# export CXX=g++44
2) Remove standard boost and boost-devel packages (if present)
3) Install boost141-devel package:
# yum install boost141-devel
4) Make link from /usr/include/boost to /usr/include/boost141:
# cd /usr/include
# ln -sf boost141/boost boost
5) Install scons check-devel openssl-devel
# yum install scons 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