Added the ability to configure xbstream options with wsrep_sst_xtrabackup.

Description

Add the ability to configure options for xbstream

Environment

None

Smart Checklist

Activity

Show:

KennT January 22, 2020 at 5:18 AM

commit c131aef112428a7d10561311ac26ef53e7a7e746
Author: Kenn Takara <kenn.takara@percona.com>
Date: Mon Jan 20 16:34:22 2020 -0800

: add support for xbstream options with wsrep_sst_xtrabackup-v2

Issue
There is no way to set additional options for xbstream. For performance
reasons, we would like to set "--parallel=XXX" for xbstream.

Solution
Add the 'xbstream_opts' option to the [sst] section of the config.
Note that on 5.7 and above, there is a separate xbxtream_eopts (encryption
options)

Also fixed a bug in parse_cnf() that would truncate option values that contained
an equals sign ('=')

KennT September 7, 2019 at 2:13 AM

This has exposed several bugs in the parse_cnf() function in wsrep_sst_common.sh

(1) If there is an '=' sign in the value part of an option, the value will be truncated at that point.

(2) If the option name has an underscore ('_'), then the option will have a '=' appended to it, when it shouldn't.

Done

Details

Assignee

Reporter

Time tracking

1d 3h 20m logged

Priority

Smart Checklist

Created August 13, 2019 at 1:34 AM
Updated March 6, 2024 at 10:07 PM
Resolved January 22, 2020 at 5:15 AM