The following options can be set as part of the Galera wsrep_provider_options variable. Dynamic options can be changed while the server is running.
Options need to be provided as a semicolon (;) separated list on a single line.
Note that before Galera 3, the repl
tag was named replicator
.
base_dir
base_host
127.0.0.1
(detected network address) base_port
4567
cert.log_conflicts
no
debug
no
evs.auto_evict
0
, the default, the Auto Eviction protocol is disabled for this node. 0
evs.causal_keepalive_period
evs.debug_log_mask
0x1
evs.delay_margin
PT1S
evs.delayed_keep_period
PT30S
evs.evict
evs.inactive_check_period
PT0.5S
evs.inactive_timeout
PT30S
evs.info_log_mask
0
evs.install_timeout
PT15S
evs.join_retrans_period
PT1S
evs.keepalive_period
PT1S
evs.max_install_timeouts
3
evs.send_window
512
. 4
evs.stats_report_period
PT1M
evs.suspect_timeout
PT5S
evs.use_aggregate
true
(the default), small packets will be aggregated into one where possible. true
evs.user_send_window
512
. 2
evs.version
0
evs.view_forget_timeout
P1D
gcache.dir
gcache.keep_pages_size
0
gcache.mem_size
0
gcache.name
galera.cache
--- gcache.page_size
gcache.page
. Can be set to as large as the disk can handle. 128M
gcache.recover
no
gcache.size
10M
gcomm.thread_prio
policy:priority
. Priority is an integer, while policy can be one of: fifo
: First-in, first-out scheduling. Always preempt other, batch or idle threads and can only be preempted by other fifo
threads of a higher priority or blocked by an I/O request. rr
: Round-robin scheduling. Always preempt other, batch or idle threads. Runs for a fixed period of time after which the thread is stopped and moved to the end of the list, being replaced by another round-robin thread with the same priority. Otherwise runs until preempted by other rr
threads of a higher priority or blocked by an I/O request. other
: Default scheduling on Linux. Threads run until preempted by a thread of a higher priority or a superior scheduling designation, or blocked by an I/O request. gcs.fc_debug
0
gcs.fc_factor
1.0
gcs.fc_limit
16
gcs.fc_master_slave
NO
gcs.max_packet_size
64500
gcs.max_throttle
0.25
gcs.recv_q_hard_limit
gcs.recv_q_soft_limit
csrecv_q_soft_limit
to one (full throttling) at gcs.recv_q_hard_limit 0.25
gcs.sync_donor
YES
(NO
is default), if the donor is blocked by state transfer, the whole cluster is also blocked. NO
gmcast.listen_addr
tcp:0.0.0.0:4567
gmcast.mcast_addr
gmcast.mcast_addr=239.192.0.11
gmcast.mcast_ttl
1
gmcast.peer_timeout
PT3S
gmcast.segment
0
). Usually, you would place all nodes in the same datacenter in the same segment. Galera protocol traffic is only redirected to one node in each segment, and then relayed to other nodes in that same segment, which saves cross-datacenter network traffic at the expense of some extra latency. State transfers are also, preferably but not exclusively, taken from the same segment. If there are no nodes available in the same segment, state transfer will be taken from a node in another segment. 0
0
to 255
gmcast.time_wait
PT5S
gmcast.version
0
ist.recv_addr
ist.recv_bind
pc.announce_timeout
PT3S
pc.checksum
false
(true
in earlier releases), indicates whether to checksum replicated messages on PC level. Safe to turn off. false
pc.ignore_quorum
true
(false is default
). Use with care however, as in master-slave setups, slaves will not automatically reconnect to the master if set. false
pc.ignore_sb
false
pc.linger
PT20S
pc.npvo
true
(false
is default), when there are primary component conficts, the most recent component will override the older. false
pc.recovery
true
(the default), the Primary Component state is stored on disk and in the case of a full cluster crash (e.g power outages), automatic recovery is then possible. Subsequent graceful full cluster restarts will require explicit bootstrapping for a new Primary Component. true
pc.version
0
pc.wait_prim
true
, the default, the node will wait for a primary component for the period of time specified by pc.wait_prim_timeout. Used to bring up non-primary components and make them primary using pc.bootstrap. true
pc.wait_prim_timeout
PT30S
pc.weight
1
protonet.backend
asio
protonet.version
0
repl.causal_read_timeout
PT90S
repl.commit_order
0
BYPASS: No commit order monitoring is done (useful for measuring the performance penalty). 1
OOOC: Out-of-order committing is permitted for all transactions. 2
LOCAL_OOOC: Out-of-order committing is permitted for local transactions only. 3
NO_OOOC: Out-of-order committing is not permitted at all. 3
repl.key_format
FLAT8
- shorter key with a higher probability of false positives when matching FLAT16
- longer key with a lower probability of false positives when matching FLAT8A
- shorter key with a higher probability of false positives when matching, includes annotations for debug purposes FLAT16A
- longer key with a lower probability of false positives when matching, includes annotations for debug purposes FLAT8
repl.max_ws_size
2147483647
repl.proto_max
5
socket.checksum
wsrep_provider_options='socket.checksum=1'
in order to make it backward compatible with Galera v2. Galera wsrep providers other than 25.3.x or 25.2.x are not supported. 2
socket.recv_buf_size
212992
socket.ssl
NO
socket.ssl_ca
socket.ssl
option. socket.ssl_cert
socket.ssl
option. socket.ssl_cipher
socket.ssl
option. Since MariaDB 10.2.18 defaults to the value of the ssl_cipher
system variable. AES128-SHA
. socket.ssl_compression
socket.ssl
option. socket.ssl_key
socket.ssl
option. socket.ssl_password_file
socket.ssl
option.
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/wsrep_provider_options/