summaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | Merge 10.2 into 10.3Marko Mäkelä2019-01-081-6/+15
| |\ \ \ \ \ \ | | |/ / / / / | |/| / / / / | | |/ / / /
| | * | | | Merge pull request #929 from angeloudy/fix-broken-thingJan Lindström2019-01-041-6/+15
| | |\ \ \ \ | | | | | | | | | | | | | | Make mariabackup.sh compatible on FreeBSD
| | | * | | | Use absolute path for mariabackup binaryTao ZHOU2019-01-021-1/+1
| | | | | | |
| | | * | | | use `ps -p` instead of `ps --pid` Tao ZHOU2018-11-291-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | make it compatible on FreeBSD. If the parent process does not exist, there's no need to kill it.
| | | * | | | Make mariabackup.sh compatible on FreeBSDangeloudy2018-11-151-2/+12
| | | | | | |
* | | | | | | Merge 10.3 into 10.4Marko Mäkelä2019-01-063-1954/+0
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Merge pull request #1029 from tempesta-tech/sysprg/MDEV-17835Jan Lindström2018-12-183-1954/+0
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | DEV-17835: Remove wsrep-sst-method=xtrabackup
| | * | | | | | DEV-17835: Remove wsrep-sst-method=xtrabackupJulius Goryavsky2018-12-173-1954/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The use of the xtrabackup and xtrabackup-v2 methods for SST has been declared obsolete since version 10.2, now it cannot be used because of the different redo log format. Accordingly, we need to remove the xtrabackup-related scripts and dynamically replace the call to xtrabackup[-v2] to the mariabackup (with a corresponding warning in the log) when the server performs SST. https://jira.mariadb.org/browse/MDEV-17835
* | | | | | | | Merge 10.3 into 10.4Marko Mäkelä2018-12-181-3/+27
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Merge pull request #1030 from tempesta-tech/sysprg/MDEV-17848Jan Lindström2018-12-171-3/+27
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | MDEV-17848: Galera test failure on galera_sst_xtrabackup-v2[_data_dir]
| | * | | | | | | MDEV-17848: Galera test failure on galera_sst_xtrabackup-v2[_data_dir]Julius Goryavsky2018-12-121-3/+27
| | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mariabackup SST script was incorrectly processes innodb_data_home_dir parameter if it is specified in the configuration file for one of the cluster nodes. Therefore, a corresponding revision of the mariabackup SST script was made, which provides reading of the corresponding parameter from the configuration file or from the command line. https://jira.mariadb.org/browse/MDEV-17848
* | | | | | | | Merge 10.3 into 10.4Marko Mäkelä2018-12-131-9/+10
|\ \ \ \ \ \ \ \ | |/ / / / / / /
| * | | | | | | Merge 10.2 into 10.3Marko Mäkelä2018-12-131-9/+10
| |\ \ \ \ \ \ \ | | |/ / / / / / | |/| / / / / / | | |/ / / / /
| | * | | | | Merge 10.1 into 10.2Marko Mäkelä2018-12-131-9/+10
| | |\ \ \ \ \ | | | |/ / / / | | |/| / / / | | | |/ / /
| | | * | | Merge 10.0 into 10.1Marko Mäkelä2018-12-131-9/+10
| | | |\ \ \ | | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, apply the MDEV-17957 changes to encrypted page checksums, and remove error message output from the checksum function, because these messages would be useless noise when mariabackup is retrying reads of corrupted-looking pages, and not that useful during normal server operation either. The error messages in fil_space_verify_crypt_checksum() should be refactored separately.
| | | | * | Merge branch '5.5' into 10.0Sergei Golubchik2018-12-121-9/+10
| | | | |\ \ | | | | | |/
| | | | | * Added Master_Host to the Replication informationfran2018-11-161-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | Closes #3
* | | | | | MDEV-17658 change the structure of mysql.user tableSergei Golubchik2018-12-127-35/+141
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement User_table_json. Fix scripts to use mysql.global_priv. Fix tests.
* | | | | | MDEV-16991 Rounding vs truncation for TIME, DATETIME, TIMESTAMPbb-10.4-mdev16991Alexander Barkov2018-11-262-4/+6
| | | | | |
* | | | | | Merge 10.3 into 10.4Marko Mäkelä2018-11-191-1/+1
|\ \ \ \ \ \ | |/ / / / /
| * | | | | MDEV-17379: galera_new_cluster throws error in 10.3.10Jan Lindström2018-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Use exit instead of return.
* | | | | | Merge 10.3 into 10.4Marko Mäkelä2018-11-061-7/+4
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge 10.2 into 10.3Marko Mäkelä2018-11-061-7/+4
| |\ \ \ \ \ | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | main.derived_cond_pushdown: Move all 10.3 tests to the end, trim trailing white space, and add an "End of 10.3 tests" marker. Add --sorted_result to tests where the ordering is not deterministic. main.win_percentile: Add --sorted_result to tests where the ordering is no longer deterministic.
| | * | | | Merge 10.1 into 10.2Marko Mäkelä2018-11-061-7/+4
| | |\ \ \ \ | | | |/ / /
| | | * | | Merge branch '10.0' into 10.1Sergei Golubchik2018-10-301-7/+4
| | | |\ \ \ | | | | |/ /
| | | | * | Merge branch '5.5' into 10.0Sergei Golubchik2018-10-271-7/+4
| | | | |\ \ | | | | | |/
| | | | | * MDEV-13912 mysql_upgrade: case (in)sensitivity for stored proceduresSergei Golubchik2018-10-191-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql_upgrade used to convert all columns of mysql.db to utf8_general_ci and then back to utf8_bin. In two separate ALTER's. This failed if UNIQUE indexes in mysql.db contained entries that differ only in the letter case.
* | | | | | Merge 10.3 into 10.4Marko Mäkelä2018-10-054-12/+87
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge branch '10.2' into 10.3Sergei Golubchik2018-09-284-12/+87
| |\ \ \ \ \ | | |/ / / /
| | * | | | Merge branch '10.1' into 10.2Sergei Golubchik2018-09-241-3/+12
| | |\ \ \ \ | | | |/ / /
| | | * | | MDEV-17173: correct parsing of 12.13.14.15:4444/xtrabackup_sst leaving ↵Daniel Black2018-09-131-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LSN/SST_VER blank Correcting commit e78e308e818 $ . scripts/wsrep_sst_common.sh --address 12.13.14.15:4444/xtrabackup_sst ; set | grep WSREP_SST WSREP_SST_OPT_ADDR=12.13.14.15:4444/xtrabackup_sst WSREP_SST_OPT_ADDR_PORT=4444 WSREP_SST_OPT_AUTH= WSREP_SST_OPT_BINLOG= WSREP_SST_OPT_BINLOG_INDEX= WSREP_SST_OPT_BYPASS=0 WSREP_SST_OPT_CONF=' ' WSREP_SST_OPT_DATA= WSREP_SST_OPT_DEFAULT= WSREP_SST_OPT_EXTRA_DEFAULT= WSREP_SST_OPT_HOST=12.13.14.15 WSREP_SST_OPT_HOST_UNESCAPED=12.13.14.15 WSREP_SST_OPT_LSN= WSREP_SST_OPT_MODULE=xtrabackup_sst WSREP_SST_OPT_PATH=xtrabackup_sst WSREP_SST_OPT_PORT=4444 WSREP_SST_OPT_PSWD= WSREP_SST_OPT_SST_VER= WSREP_SST_OPT_SUFFIX_DEFAULT= WSREP_SST_OPT_SUFFIX_VALUE= WSREP_SST_OPT_USER= . scripts/wsrep_sst_common.sh --address 12.13.14.15:4444/xtrabackup_sst/1234/5676 ; set | grep WSREP_SST WSREP_SST_OPT_ADDR=12.13.14.15:4444/xtrabackup_sst/1234/5676 WSREP_SST_OPT_ADDR_PORT=4444 WSREP_SST_OPT_AUTH= WSREP_SST_OPT_BINLOG= WSREP_SST_OPT_BINLOG_INDEX= WSREP_SST_OPT_BYPASS=0 WSREP_SST_OPT_CONF=' ' WSREP_SST_OPT_DATA= WSREP_SST_OPT_DEFAULT= WSREP_SST_OPT_EXTRA_DEFAULT= WSREP_SST_OPT_HOST=12.13.14.15 WSREP_SST_OPT_HOST_UNESCAPED=12.13.14.15 WSREP_SST_OPT_LSN=1234 WSREP_SST_OPT_MODULE=xtrabackup_sst WSREP_SST_OPT_PATH=xtrabackup_sst/1234/5676 WSREP_SST_OPT_PORT=4444 WSREP_SST_OPT_PSWD= WSREP_SST_OPT_SST_VER=5676 WSREP_SST_OPT_SUFFIX_DEFAULT= WSREP_SST_OPT_SUFFIX_VALUE= WSREP_SST_OPT_USER=
| | * | | | Merge branch '10.1' into 10.2Oleksandr Byelkin2018-09-145-10/+76
| | |\ \ \ \ | | | |/ / /
| | | * | | Merge branch '10.0-galera' into 10.1Sergei Golubchik2018-09-071-3/+9
| | | |\ \ \
| | | | * | | Also include InnoDB undo tablespaces in rsync sstVasil Dimov2018-08-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If --innodb-undo-tablespaces is used, then InnoDB stores undo in a separate file(s) which whould also be replicated. This fixes Issue#337 This filter will cause sst failed at applying undo... https://github.com/codership/mysql-wsrep/issues/337
| | | | * | | Put one filter per line in wsrep_sst_rsync.shVasil Dimov2018-08-031-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This way it is more readable and easy to change, also if a new entry is added or one removed, the diff will be easier to read.
| | | | * | | Merge tag 'mariadb-10.0.36' into 10.0-galeraJan Lindström2018-08-025-23/+40
| | | | |\ \ \
| | | | * \ \ \ Merge pull request #645 from grooverdan/10.0-wsrep_sst_common_bashismJan Lindström2018-07-191-1/+1
| | | | |\ \ \ \ | | | | | | | | | | | | | | | | | | MDEV-15549 - wsrep_sst_common: fix per shellcheck
| | | | | * | | | wsrep_sst_common: fix per shellcheckDaniel Black2018-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shellcheck -s sh wsrep_sst_common.sh In wsrep_sst_common.sh line 258: [ -n $3 ] && reval=$3 ^-- SC2070: -n doesn't work with unquoted arguments. Quote or use [[ ]]. ^-- SC2086: Double quote to prevent globbing and word splitting.
| | | | * | | | | fix galera sst testsSergei Golubchik2018-06-151-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | note that ${A#foo} is $A if there's no prefix foo. That's why galera nodes tried to connect to 127.0.0.1:127.0.0.1 if there was no port in the address Followup for 2b35db5ac4e
| | | * | | | | | Merge branch '11.0' into 10.1Oleksandr Byelkin2018-09-061-1/+1
| | | |\ \ \ \ \ \ | | | | | |_|_|/ / | | | | |/| | | |
| | | | * | | | | Fix typo in `--srcdir` option in echo message status of mysql_install_dbAnel Husakovic2018-08-251-1/+1
| | | | | |_|/ / | | | | |/| | |
| | | * | | | | Merge pull request #855 from tempesta-tech/sysprg/10.1-MDEV-10756Jan Lindström2018-09-063-2/+38
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | MDEV-10756: wsrep_sst_xtrabackup-v2 does not support innodb_data_home_dir
| | | | * | | | | MDEV-10756: wsrep_sst_xtrabackup-v2 does not support innodb_data_home_dirJulius Goryavsky2018-08-273-2/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Current versions of xtrabackup-v2 and mariabackup support the option --innodb-data-home-dir, but this parameter is not passed to them from the SST script, since the SST script does not receive this information from mysqld. The transfer of this information to the SST is already fixed by the MDEV-10754 patch, but we need to process it in the SST script. Also, we should take into account that on the joiner side the corresponding information is not read yet from the configuration file (at the mysqld side) during the start of SST, so the script must itself read it. https://jira.mariadb.org/browse/MDEV-10756
| | | * | | | | | MDEV-15436: If log_bin and log_bin_index is different SST with rsync fails.Jan Lindström2018-09-052-8/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | | * | | | | | galera_new_cluster.sh: unused variablesDaniel Black2018-09-031-3/+0
| | | | | | | | |
* | | | | | | | | Merge 10.3 into 10.4Marko Mäkelä2018-09-141-0/+4
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | Merge pull request #850 from HeMan/10.3Jan Lindström2018-09-111-0/+4
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Return code from starting MariaDB.
| | * | | | | | | | Return code from starting MariaDB.Jimmy Hedman2018-08-241-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - When bootstraping the galera cluster it's good to get correct return values from the (failed) execution.
* | | | | | | | | | Merge 10.3 into 10.4Marko Mäkelä2018-09-113-15/+99
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / /
| * | | | | | | | | Merge 10.2 into 10.3Marko Mäkelä2018-09-063-5/+35
| |\ \ \ \ \ \ \ \ \ | | | |/ / / / / / / | | |/| | | | | | |