wsrep_sst_mariabackup
wsrep_sst_mariabackup Variables
wsrep_sst_mariabackup VariablesThe wsrep_sst_mariabackup script handles the actual data transfer and processing during an SST. The variables it reads from the [sst] group control aspects of the backup format, compression, transfer mechanism, and logging.
The wsrep_sst_mariadbbackup script parses the following options:
sfmt(streamfmt)Default:
mbstreamDescription: Defines the streaming format used by
mariabackupfor the SST.mbstreamindicates thatmariabackupwill output a continuous stream of data. Other potential values (though not explicitly shown as defaults) might be related to different backup methods or tools.
tfmt(transferfmt)Default:
socatDescription: Specifies the transfer format or utility used to move the data stream from the donor to the joiner node.
socatis a common command-line tool for data transfer, often used for setting up various network connections.
sockopt(socket options)Description: Allows additional socket options to be passed to the underlying network communication. This includes settings for TCP buffers, keep-alives, or other network-related tunables to optimize transfer performance.
progressDescription: Controls whether progress information about the SST is displayed or logged. Enabling this option provides visual indicators or detailed log entries about the transfer's advancement.
ttime(time)Default:
0Description: A timeout value in seconds for certain operations during the SST, or a flag related to timing the transfer. A value of
0indicates no timeout or that timing is handled elsewhere.
cpatDescription: Related to a "copy pattern" or specific path handling during the SST. Its function depends on how the
wsrep_sst_mariabackupscript uses this pattern for file or directory management.
scomp(compressor)Description: Specifies the compression utility to be used on the data stream before transfer. Common values include
gzip,pigz,lz4, orqpress, which reduce the data size for faster transmission over the network.
sdecomp(decompressor)Description: Specifies the decompression utility to be used on the receiving end (joiner node) to decompress the data stream that was compressed by
scomp. It should correspond to thescompsetting.
rlimit(resource limit)Description: Sets a maximum data transfer rate for State Snapshot Transfers (SST) in which the node serves as a donor. The
rlimitparameter accepts any value supported by thepvutility’s--rate-limitoption. Note that using this option requiresprogressto be specified and thepvutility to be installed on the system.
uextra(use-extra)Default:
0Description: Controls the SST connection method that
mariabackupuses to connect to the local MariaDB server. By default (uextra=0), mariabackup connects through the standard database port. Whenuextra=1is enabled, the connection attempts to use either:The unix socket (if available), or
The extra_port (if specified in MariaDB server settings).
speciald(sst-special-dirs)Default:
1Description: A boolean flag that controls whether
mariabackuphandles special directories (e.g.,innodb_log_group_home_dir,datadir) in a specific way during the SST, rather than just copying them as regular files. This is important for maintaining data consistency.
stimeout(sst-initial-timeout)Default:
300Description: Sets an initial timeout in seconds for the SST process. If the SST doesn't make progress or complete within this initial period, it might be aborted.
ssyslog(sst-syslog)Default:
0Description: A boolean flag (0 or 1) that controls whether SST-related messages should be logged to syslog. This can be useful for centralized logging and monitoring of Galera cluster events.
sstlogarchive(sst-log-archive)Default:
1Description: A boolean flag (0 or 1) that determines whether SST logs should be archived. Archiving logs helps in post-mortem analysis and troubleshooting of SST failures.
sstlogarchivedir(sst-log-archive-dir)Description: Specifies the directory where SST logs should be archived if
sstlogarchiveis enabled.
Last updated
Was this helpful?

