Skip to content

Configuring Crash Safe Master

Herman Lee edited this page Aug 24, 2016 · 7 revisions

MyRocks now supports Two Phase Commit (2PC) as a means of providing crash safe transactions. By default this behavior is disabled. To enable 2PC the binary log must also be enabled.

[mysqld]
log-bin
rocksdb_disable_2pc=OFF

'rocksdb_disable_2pc is a global variable which can be set during runtime.

Clone this wiki locally