mariadb-corporation/galera

Synchronous multi-master replication library

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 2 minutes ago
Added to GitGenius on April 1st, 2024
Created on April 19th, 2014
Open Issues & Pull Requests: 254 (+0)
Number of forks: 183
Total Stargazers: 497 (+0)
Total Subscribers: 55 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 150.0 days
Mean response time: 777.7 days
90th percentile: 2718.1 days
Tracked items: 37

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 0% of issues opened in the past year have been closed. Three people close 64% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 233
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 2,996 days
Stale 30+ days: 232
Stale 90+ days: 228

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (134)
  • enhancement (48)
  • documentation (25)
  • 2 - Working (14)
  • packaging (14)
  • 1 - Ready (8)
  • duplicate (7)
  • invalid (7)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Galera is a synchronous multi-master replication library developed by Codership Oy that implements the write set replication interface for distributed database clustering. Written primarily in C++, the library enables multiple database nodes to maintain synchronized copies of data in real-time, supporting multi-primary architectures where any node can accept write operations. The software is distributed under GPLv2 and serves as the core replication engine for MariaDB and MySQL-based clusters, providing fault tolerance and high availability through data consistency mechanisms across distributed systems.

The repository implements the wsrep API specification, which defines how database servers communicate replication events and maintain cluster state. This design allows Galera to work as a pluggable replication solution for MySQL-compatible databases, enabling organizations to convert single-master database deployments into multi-master clusters without requiring application-level changes. The library handles the complex coordination required to ensure that all nodes in a cluster apply transactions in the same order and maintain identical data states, even when network partitions or node failures occur.

Building Galera requires CMake, the Check unit test library, Boost development packages, and OpenSSL development packages, with optional support for the Asio C++ library. The repository includes platform-specific build instructions for Ubuntu 20.04 and later as well as RHEL 8 and later systems. The build process supports creating a MySQL/Galera demo distribution by integrating with the mysql-wsrep repository, allowing developers to test the replication library with a complete MySQL installation.

The repository's classification spans multiple related domains including galera cluster management, multi-master clustering, synchronous replication, real-time synchronization, and distributed database systems. Its integration with MySQL and MariaDB ecosystems positions it as a critical component for organizations requiring high-availability database infrastructure.

Galera addresses the challenge of maintaining data consistency across geographically distributed or logically separated database nodes while allowing applications to read and write to any node in the cluster. This capability eliminates single points of failure inherent in traditional master-slave replication architectures and enables load balancing of both read and write operations across multiple database instances.