summaryrefslogtreecommitdiff
path: root/sql/wsrep_sst.h
Commit message (Collapse)AuthorAgeFilesLines
* MDEV-22543: Remove orphan declaration of wsrep_is_sst_progressMarko Mäkelä2020-08-251-2/+0
|
* MDEV-22543 : Galera SST donation fails, FLUSH TABLES WITH READ LOCK times outJan Lindström2020-08-111-0/+2
| | | | | During SST we need to let FTWRL to use normal timeout method even when client is disconnected.
* MDEV-18863: Galera SST scripts can't read [mysqldN] option groupsJulius Goryavsky2019-08-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some users and some scripts (for example, mysqld_multi.sh) use special option groups with names like [mysqld1], [mysqld2], ..., [mysqldN]. But SST scripts can't currently fully support these option groups. The only option group-related value it gets from the server is --defaults-group-suffix, if that option was set for mysqld when the server was started. However, the SST scripts does not get told by the server to read these option groups, so this means that the SST script will fail to read options like innodb-data-home-dir when it is in a option group like [mysqld1]...[mysqldN]. Moreover, SST scripts ignore many parameters that can be passed to them explicitly and cannot transfer them further, for example, to the input of mariabackup utility. Ideally, we want to transfer all the parameters of the original mysqld call to utilities such as mariabackup, however the SST script does not receive these parameters from the server and therefore cannot transfer them to mariabackup. To correct these shortcomings, we need to transfer to the scripts all of the parameters of the original mysqld call, and in the SST scripts themselves provide for the transfer all of these parameters to utilities such as mariabackup. To prevent these parameters from mixing with the script's own parameters, they should be transferred to SST script after the special option "--mysqld-args", followed by the string argument with the original parameters, as it received by the mysqld call at the time of launch (further all these parameters will be passed to mariabackup, for example). In addition, the SST scripts themselves must be refined so that they can read the parameters from the user-selected group, not just from the global mysqld configuration group. And also so that they can receive the parameters (which important for their work) as command-line arguments.
* Merge 10.1 into 10.2Marko Mäkelä2019-05-131-1/+1
|\
| * Merge branch '5.5' into 10.1Vicențiu Ciorbaru2019-05-111-1/+1
| |
* | Merge branch '10.1' into 10.2Oleksandr Byelkin2018-09-141-0/+1
|\ \ | |/
| * MDEV-15436: If log_bin and log_bin_index is different SST with rsync fails.Jan Lindström2018-09-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem was that in SST log_bin_index name and directory was not handled and passed to rsync SST script. wsrep_sst_common.sh Read binlog index dirname and filename if --binlog-index parameter is provided. Read binlog filenames from that file from donor and write transfered binlog filenames to that file in joiner. mysqld.cc, mysqld.h Moved opt_binlog_index_name from static to global and added it to extern. wsrep_sst.cc generate_binlog_index_opt_val New function to generate binlog index name if opt_binlog_index_name is given on configuration. sst_prepare_other Add binlog index configuration to SST command. wsrep_sst.h Add new SST parameter --binlog-index Add test case.
* | Merge branch 'github/10.1' into 10.2Sergei Golubchik2018-02-061-1/+2
|\ \ | |/
| * Merge branch 'github/10.0-galera' into 10.1Sergei Golubchik2018-02-031-1/+2
| |\
| | * Backport 4bb49d84a9df, correct handling on defaults[-extra]-file is SST scriptsSergei Golubchik2018-01-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (from 10.1 to 10.0-galera) This conflicted signficantly with 7d550c76be13c58551e203f4eeb4f87ebd58ba4b which added --defaults-group-suffix support. Took the approach of 4bb49d84a9df and adapted the --defaults-group-suffix handling to be consistent. The following changes as follows: SST scripts now use $MY_PRINT_DEFAULTS rather than the lowercase for consistency and this include all required --default arguements. Backport/merge by Daniel Black <daniel@linux.vnet.ibm.com>
| | * LP1378355 - Pass the value of --defaults-group-suffix to xtrabackup during SSTPhilip Stoev2015-05-081-0/+1
| | |
| | * bzr merge -rtag:mariadb-10.0.15 maria/10.0Nirbhay Choubey2014-12-051-0/+1
| | |
| | * Local merge of patch for MDEV-4647 from maria-5.5-galera.Nirbhay Choubey2014-07-221-1/+28
| | |
| | * Merge of patch for MDEV-6411 from maria-5.5-galera.Nirbhay Choubey2014-07-091-0/+1
| | |
| | * bzr merge -r3890..3891 lp:codership-mysql/5.5Seppo Jaakola2013-11-061-0/+40
| |
* | MDEV-10492: Assertion failure on shutdown when wsrep_sst_auth set in configNirbhay Choubey2016-08-031-0/+1
| | | | | | | | | | | | | | The memory alloc-ed initially for wsrep_sst_auth to store the value specified in config was lost as the global variable was reset while in process of masking it and thus, could never be reclaimed on shutdown.
* | Cleanup around wsrep system variables.Nirbhay Choubey2016-07-301-2/+2
| |
* | MDEV-6368: assertion xid_seqno > trx_sys_cur_xid_seqno (postfix)Nirbhay Choubey2016-06-011-1/+1
| | | | | | | | | | - Fix build failure when built without wsrep (Win) - Update the expected warning in sys_vars.wsrep_start_position
* | MDEV-6368: assertion xid_seqno > trx_sys_cur_xid_seqnoNirbhay Choubey2016-05-311-1/+1
|/ | | | | | | | | - Validate the specified wsrep_start_position value by also checking the return status of wsrep->sst_received. This also ensures that changes in wsrep_start_position is not allowed when the node is not in JOINING state. - Do not allow decrease in seqno within same UUID. - The initial checkpoint in SEs should be [0...:-1].
* MDEV-6594: Use separate domain_id for Galera transactionsNirbhay Choubey2015-02-271-0/+1
|
* correct handling on defaults[-extra]-file is SST scriptsSergei Golubchik2014-10-011-0/+1
| | | | | | | | | pass --defaults-file and --defaults-extra-file (whatever was specified, or none) from mysqld down to SST scripts. parse these options in SST scripts and pass them down to mysqldump, my_print_defaults, and xtrabackup
* cleanup: galera merge, simple changesSergei Golubchik2014-10-011-1/+12
|
* MDEV-6247: Merge 10.0-galera to 10.1.Jan Lindström2014-08-261-0/+68
Merged lp:maria/maria-10.0-galera up to revision 3879. Added a new functions to handler API to forcefully abort_transaction, producing fake_trx_id, get_checkpoint and set_checkpoint for XA. These were added for future possiblity to add more storage engines that could use galera replication.