wsrep API defines a set of application callbacks and replication library calls necessary to implement synchronous writeset replication of transactional databases and similar applications. It aims to abstract and isolate replication implementation from application details. Although the main target of this interface is a certification-based multi-master replication, it is equally suitable for both asynchronous and synchronous master/slave replication.
Application callbacks provide management of transaction write sets:
* populating of write sets, in the sending side
* applying of write sets, in the receiving end
The applying of received writesets is done by high priority transaction(s).
There are also calls for providing "total order isolated" processing of certain SQL statements. This feature guarantees that each database server in the cluster process the SQL statement in the same order and uninterrupted. .e.g. all DDL statements need to be processed isolated, to maintain data consistency in the cluster.
Mailing list: http://
All bugs Latest bugs reported
Bug #1288498: Fix license terms: either GPL2.1 or LGPL
Reported on 2014-03-06
Bug #1247402: pass write set flags to apply/commit callbacks
Reported on 2013-11-02
Bug #1229821: Add open_data_buffer()/close_data_buffer() (was get_data_buffer()) methods
Reported on 2013-09-24
Bug #1222862: Update FSF address in wsrep_api.h
Reported on 2013-09-09
Bug #1219510: Stale wsrep_stream_t declaration
Reported on 2013-09-01