summaryrefslogtreecommitdiff
path: root/extra
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/10.3' into 10.4Vicențiu Ciorbaru2021-09-091-0/+2
|\
| * Merge branch '10.2' into 10.3Vicențiu Ciorbaru2021-09-071-0/+2
| |\
| | * Fix potential null pointer access after the allocation errorVladislav Vaintroub2021-09-011-0/+2
| | |
* | | Merge 10.3 into 10.4Marko Mäkelä2021-08-311-1/+1
|\ \ \ | |/ /
| * | Merge 10.2 into 10.3Marko Mäkelä2021-08-311-1/+1
| |\ \ | | |/
| | * typo fixedSergei Golubchik2021-08-261-1/+1
| | |
* | | MDEV-19712 backup stages commented out.Vladislav Vaintroub2021-08-201-2/+0
| | | | | | | | | | | | Remove commented out code, so that occasional reader is not confused.
* | | mariabackup - fix string format in error messageVladislav Vaintroub2021-08-111-1/+1
| | |
* | | Merge branch '10.3' into 10.4Oleksandr Byelkin2021-07-314-97/+110
|\ \ \ | |/ /
| * | Merge 10.2 into 10.3Marko Mäkelä2021-07-222-88/+92
| |\ \ | | |/
| | * MDEV-25361 fixup: Fix integer type mismatchMarko Mäkelä2021-07-221-89/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | InnoDB tablespace identifiers and page numbers are 32-bit numbers. Let us use a 32-bit type for them in innochecksum. The changes in commit 1918bdf32cdbd1f190cc4479f4076ee4a467f25d broke the build on 32-bit Windows. Thanks to Vicențiu Ciorbaru for an initial version of this fixup.
| | * Add feature summary at the end of cmake.Heinz Wiesinger2021-07-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives a short overview over found/missing dependencies as well as enabled/disabled features. Initial author Heinz Wiesinger <heinz@m2mobi.com> Additions by Vicențiu Ciorbaru <vicentiu@mariadb.org> * Report all plugins enabled via MYSQL_ADD_PLUGIN * Simplify code. Eliminate duplication by making use of WITH_xxx variable values to set feature "ON" / "OFF" state. Reviewed by: wlad@mariadb.com (code details) serg@mariadb.com (the idea)
| * | Merge branch '10.2' into 10.3Sergei Golubchik2021-07-213-15/+21
| |\ \ | | |/
| | * avoid searching std::map twice in innochecksumEugene Kosov2021-07-201-6/+1
| | |
| | * MDEV-25361 innochecksum must not report errors for freed pagesEugene Kosov2021-07-201-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | Store and maintain xdes pages always. And doesn't verify checksums for freed pages. innochecksum can work only with the first space file of multiple ones. Tell about it and abort in case of not the first file.
| | * Typo fix in extrabackup.cc and innobackupex.ccOli Sennhauser2021-07-152-2/+2
| | | | | | | | | | | | | | | Thanks to @shinguz for helping with this. This a backport commit from 10.7
* | | MDEV-26092 Remove things we do not use in wolfsslVladislav Vaintroub2021-07-281-2/+9
| | | | | | | | | | | | | | | | | | | | | Add a couple of NO_XXX prprocessor constants to wolfssl build. Looked into cmake defaults, those are set there too. Some of these are (supposedly) weak ciphers, and some just fallen out from wide use.
* | | MDEV-26236 ssl_8k_key test fails on x86Vladislav Vaintroub2021-07-271-2/+18
| | | | | | | | | | | | | | | | | | | | | Workaround WolfSSL bug https://github.com/wolfSSL/wolfssl/issues/4242 (heap overflow) by using fastmath library everywhere, except Windows clang Before the patch, default math library was used on all 32bit platforms.
* | | MDEV-23080: desync and pause node on BACKUP STAGE BLOCK_DDLLeandro Pacheco2021-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | make BACKUP STAGE behave as FTWRL, desyncing and pausing the node to prevent BF threads (appliers) from interfering with blocking stages. This is needed because BF threads don't respect BACKUP MDL locks. Reviewed-by: Jan Lindström <jan.lindstrom@mariadb.com>
* | | cleanup: move thread_count to THD_count::value()Sergei Golubchik2021-07-241-2/+2
| | | | | | | | | | | | | | | | | | because the name was misleading, it counts not threads, but THDs, and as THD_count is the only way to increment/decrement it, it could as well be declared inside THD_count.
* | | MDEV-22221 Compile WolfSSL with TLSv1.3 supportVladislav Vaintroub2021-07-212-1/+13
| | |
* | | WolfSSL 4.8.0Vladislav Vaintroub2021-07-211-0/+0
| | |
* | | Merge 10.3 into 10.4Marko Mäkelä2021-06-211-34/+5
|\ \ \ | |/ /
| * | MDEV-15912: Remove traces of insert_undoMarko Mäkelä2021-06-211-34/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Let us simply refuse an upgrade from earlier versions if the upgrade procedure was not followed. This simplifies the purge, commit, and rollback of transactions. Before upgrading to MariaDB 10.3 or later, a clean shutdown of the server (with innodb_fast_shutdown=1 or 0) is necessary, to ensure that any incomplete transactions are rolled back. The undo log format was changed in MDEV-12288. There is only one persistent undo log for each transaction.
* | | MDEV-22221: MariaDB with WolfSSL doesn't support AES-GCM cipher for SSLVladislav Vaintroub2021-06-092-0/+2
| | | | | | | | | | | | | | | | | | | | | Enable AES-GCM for SSL (only). AES-GCM for encryption plugins remains disabled (aes-t fails, on some bug in GCM or CTR padding)
* | | Remove WolfSSL workaround for old version.Vladislav Vaintroub2021-06-091-1/+1
| | | | | | | | | | | | We're already on 4.4.6
* | | Merge 10.3 into 10.4Marko Mäkelä2021-06-012-144/+41
|\ \ \ | |/ /
| * | Merge 10.2 into 10.3Marko Mäkelä2021-06-012-144/+41
| |\ \ | | |/
| | * MDEV-20556 Remove references to "xtrabackup" and "innobackupex" in ↵Vladislav Vaintroub2021-05-312-143/+41
| | | | | | | | | | | | mariabackup --help
* | | MDEV-25710: Dead code os_file_opendir() in the serverMarko Mäkelä2021-05-184-47/+300
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The functions fil_file_readdir_next_file(), os_file_opendir(), os_file_closedir() became dead code in the server in MariaDB 10.4.0 with commit 09af00cbde1d62dfda574dee10e5c0fd240c3f7f (the removal of the crash recovery logic for the TRUNCATE TABLE implementation that was replaced in MDEV-13564). os_file_opendir(), os_file_closedir(): Define as macros.
* | | Merge 10.3 into 10.4Marko Mäkelä2021-04-211-1/+1
|\ \ \ | |/ /
| * | Merge 10.2 into 10.3Marko Mäkelä2021-04-211-1/+1
| |\ \ | | |/
| | * MDEV-25354: Fix my_print_defaults wordingIan Gilfillan2021-04-141-1/+1
| | |
* | | Merge 10.3 into 10.4Marko Mäkelä2021-04-1413-17/+109
|\ \ \ | |/ /
| * | Merge 10.2 into 10.3Marko Mäkelä2021-04-133-14/+17
| |\ \ | | |/
| | * MDEV-25356: SST scripts should use the new mariabackup interfacebb-10.2-MDEV-25356Julius Goryavsky2021-04-112-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SST scripts for Galera should use the new mariabackup interface instead of the innobackupex interface, which is currently only supported for compatibility reasons. This commit converts the SST script for mariabackup to use the new interface. It does not need separate tests, as any problems will be seen as failures when running multiple tests for the mariabackup-based SST.
| | * Removed extra spaces in generated command lines (minor "cosmetic"bb-10.2-MDEV-25328-v5Julius Goryavsky2021-04-111-7/+7
| | | | | | | | | | | | change after MDEV-24197)
| | * MDEV-25328: --innodb command line option causes mariabackup to failJulius Goryavsky2021-04-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes an issue with launching mariabackup during SST (when used with Galera), when during bootstrap mariabackup receives the "--innodb" option, which is incorrectly interpreted as shortcut for "--innodb-force-recovery". This patch does not require separate test for mtr, as the problem is visible in general testing on buildbot.
| * | Merge 10.2 into 10.3Marko Mäkelä2021-04-0912-14/+103
| |\ \ | | |/
| | * MDEV-25321: mariabackup failed if password is passed via environment variablebb-10.2-MDEV-25321Julius Goryavsky2021-04-011-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The mariabackup interface currently supports passing a password through an explicit command line variable, but does not support passing a password through the MYSQL_PWD environment variable. At the same time, the Galera SST script for mariabackup uses the environment variable to pass the password, which leads (in some cases) to an unsuccessful launch of mariabackup and to the inability to start the cluster. This patch fixes this issue. It does not need a separate test, as the problem is visible in general testing on buildbot.
| | * MDEV-24197: Add "innodb_force_recovery" for "mariabackup --prepare"Srinidhi Kaushik2021-04-013-8/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During the prepare phase of restoring backups, "mariabackup" does not seem to allow (or recognize) the option "innodb_force_recovery" for the embedded InnoDB server instance that it starts. If page corruption observed during page recovery, the prepare step fails. While this is indeed the correct behavior ideally, allowing this option to be set in case of emergencies might be useful when the current backup is the only copy available. Some error messages during "--prepare" suggest to set "innodb_force_recovery" to 1: [ERROR] InnoDB: Set innodb_force_recovery=1 to ignore corruption. For backwards compatibility, "mariabackup --innobackupex --apply-log" should also have this option. Signed-off-by: Srinidhi Kaushik <shrinidhi.kaushik@gmail.com>
| | * MDEV-25221 Do not remove source file, if copy_file() fails in mariabackup ↵Vladislav Vaintroub2021-03-319-5/+27
| | | | | | | | | | | | | | | | | | --move-back Remove an incompletely copied destination file.
* | | arguments overflow fix proposal. the list is assumed to be implictly null ↵David CARLIER2021-03-091-1/+2
| | | | | | | | | | | | terminated at usage time.
* | | mariabackup utility, binary path implementation for Mac.David CARLIER2021-03-091-0/+10
| | | | | | | | | | | | | | | implements in a native way get_exepath which gives reliably the full path.
* | | Merge 10.3 into 10.4Marko Mäkelä2021-03-081-4/+3
|\ \ \ | |/ /
| * | Merge 10.2 into 10.3Marko Mäkelä2021-03-051-4/+3
| |\ \ | | |/
| | * MDEV-22929 fixup. Print "completed OK!" if page corruption and ↵Vladislav Vaintroub2021-03-051-4/+3
| | | | | | | | | | | | | | | | | | | | | --log-innodb-page-corruption Since we do not stop at corrupted page error, there is no reason to log a backup error.
* | | MDEV-20386: Allow RDRAND, RDSEED WITH_MSANMarko Mäkelä2021-01-021-27/+28
| | | | | | | | | | | | | | | Let us use Intel intrinsic functions in WolfSSL whenever possible. This allows such code to be compiled WITH_MSAN.
* | | WolfSSL v4.6.0-stableMarko Mäkelä2021-01-022-1/+1
| | |
* | | Merge branch '10.3' into 10.4bb-10.4-MDEV-23468Oleksandr Byelkin2020-12-251-0/+4
|\ \ \ | |/ /