summaryrefslogtreecommitdiff
path: root/storage/tokudb/PerconaFT/ft
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '10.1' into 10.2Oleksandr Byelkin2020-01-2020-96/+168
|\
| * Merge branch 'merge-tokudb-5.6' into 10.1Oleksandr Byelkin2020-01-1920-96/+168
| |\
| | * 5.6.46-86.2Oleksandr Byelkin2020-01-1920-96/+168
| | |
* | | Merge branch '10.1' into 10.2Oleksandr Byelkin2019-07-264-0/+44
|\ \ \ | |/ /
| * | Merge branch 'merge-tokudb-5.6' into 10.1Oleksandr Byelkin2019-07-264-0/+44
| |\ \ | | |/
| | * 5.6.44-86.0Oleksandr Byelkin2019-07-264-0/+44
| | |
| | * 5.6.43-84.3Sergei Golubchik2019-04-261-2/+2
| | |
* | | Merge 10.1 into 10.2Marko Mäkelä2019-06-121-6/+2
|\ \ \ | |/ /
| * | MDEV-15734 - calculation inside sizeof() warningSergey Vojtovich2019-05-301-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reverted incorrect change introduced by 548d03d7. As result is char**, third qsort() parameter must be sizeof(char*). Not sizeof(result[0] + 2), which is same as sizeof(result[0]). Not even sizeof(result[0]) + 2, which would cause invalid memory access. Proper sorting is responsibility of logfilenamecompare() callback.
* | | Merge 10.1 into 10.2Marko Mäkelä2019-02-031-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | Temporarily disable a test for commit 2175bfce3e9da8332f10ab0e0286dc93915533a2 because fixing it in 10.2 requires updating libmariadb.
| * | Merge branch 'merge-tokudb-5.6' into 10.0Oleksandr Byelkin2019-01-281-2/+2
| |\ \
| | * | 5.6.42-84.2Oleksandr Byelkin2019-01-241-2/+2
| | |/
* | | Merge branch '10.1' into 10.2Oleksandr Byelkin2018-09-1467-305/+581
|\ \ \ | |/ /
| * | Merge branch 'merge-tokudb-5.6' into 10.0Oleksandr Byelkin2018-09-0667-305/+581
| |\ \ | | |/
| | * 5.6.41-84.1Oleksandr Byelkin2018-09-0366-305/+578
| | |
* | | Merge branch '10.1' into 10.2Sergei Golubchik2018-06-213-70/+70
|\ \ \ | |/ /
| * | Ensure TokuDB compiles both on Linux and OS XVicențiu Ciorbaru2018-06-112-34/+34
| | | | | | | | | | | | | | | | | | | | | On OS X, (u)int64_t is defined as (unsigned) long long int while on 74 bit Linux it is defined as (unsigned) long int. Ensure the type matches when doing printf on all systems.
| * | Followup for make TokuDB compile with GCC-8Vicențiu Ciorbaru2018-06-101-2/+2
| | | | | | | | | | | | Missed printfs from: 21246066b296bd9c6e44272a8f93cb7dc73ea43c
| * | MDEV-15778: Fix TokuDB build issues on macOS 10.13.4Teodor Mircea Ionita2018-06-103-34/+34
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Several issues were encountered and fixed as explained bellow: * missing link to dbug lib; * user proper fprintf format specifier; * ZERO_COND_INITIALIZER was using wrong toku_cond_t struct initializer for first member of type pthread_cond_t and not considering the TOKU_PTHREAD_DEBUG case which has one extra struct member of type pfs_key_t; * Remove likely(!opt_debug_sync_timeout), argument is declared extern and not available to Toku; * pthread_mutex_timedlock() is not available in pthreads for Mac, as it's not part of the POSIX pthreads spec. The encompassing event_t::wait(ms) methods are unused, thus have been removed;
* | Merge branch '10.1' into 10.2Sergei Golubchik2018-05-103-5/+92
|\ \ | |/
| * 5.6.39-83.1Sergei Golubchik2018-04-243-5/+92
| |
* | Merge branch 'github/10.1' into 10.2Sergei Golubchik2018-02-0652-587/+1210
|\ \ | |/
| * 5.6.38-83.0Vicențiu Ciorbaru2018-01-2352-587/+1210
| |
* | Merge branch '10.1' into 10.2Sergei Golubchik2017-08-1712-219/+762
|\ \ | |/
| * 5.6.36-82.1Vicențiu Ciorbaru2017-08-0313-222/+769
| |
* | Fixed compilation warnings (while testing 32 bit builds)Monty2017-07-013-5/+5
| |
* | Merge 10.1 into 10.2Marko Mäkelä2017-05-231-136/+257
|\ \
| * \ Merge 10.0 into 10.1Marko Mäkelä2017-05-201-136/+257
| |\ \ | | |/ | | | | | | | | | | | | Significantly reduce the amount of InnoDB, XtraDB and Mariabackup code changes by defining pfs_os_file_t as something that is transparently compatible with os_file_t.
| | * 5.6.36-82.0Vicențiu Ciorbaru2017-05-161-136/+257
| | |
* | | Merge branch '10.1' into 10.2Sergei Golubchik2017-03-307-43/+66
|\ \ \ | |/ /
| * | Merge 10.0 into 10.1Marko Mäkelä2017-03-097-43/+66
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | Also, implement MDEV-11027 a little differently from 5.5 and 10.0: recv_apply_hashed_log_recs(): Change the return type back to void (DB_SUCCESS was always returned). Report progress also via systemd using sd_notifyf().
| | * 5.6.35-80.0Vicențiu Ciorbaru2017-03-057-43/+66
| | |
* | | Merge branch '10.1' into 10.2Sergei Golubchik2016-12-2946-2436/+4104
|\ \ \ | |/ /
| * | fix bogus stalls in the lock tree for low concurrency applicationsKristian Nielsen2016-11-232-5/+9
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge into the MariaDB tree the pull request from Rich Prohaska for PerconaFT. These changes are needed to get parallel replication to work with TokuDB. Once the pull request is accepted by Percona and the new upstream version enters MariaDB, this commit can be superseded. Original commit message from Rich Prohaska: 1. Fix the release before wait race The release before wait race occurs when a lock is released by transaction A after transaction B tried to acquire it but before transaction B has a chance to register it's pending lock request. There are several ways to fix this problem, but we want to optimize for the common situation of minimal lock conflicts, which is what the lock acquisition algorithm currently does. Our solution to the release before wait race is for transaction B to retry its lock request after its lock request has been added to the pending lock set. 2. Fix the retry race The retry race occurs in the current lock retry algorithm which assumes that if some transaction is running lock retry, then my transaction does not also need to run it. There is a chance that some pending lock requests will be skipped, but these lock requests will eventually time out. For applications with small numbers of concurrent transactions, timeouts will frequently occur, and the application throughput will be very small. The solution to the retry race is to use a group retry algorithm. All threads run through the retry logic. Sequence numbers are used to group retries into batches such that one transaction can run the retry logic on behalf of several transactions. This amortizes the retry cost. The sequence numbers also ensure that when a transaction releases its locks, all of the pending lock requests that it is blocking are retried. 3. Implement a mechanism to find and kill a pending lock request Tags lock requests with a client id, use the client id as a key into the pending lock requests sets to find a lock request, complete the lock request with a lock timeout error. Copyright (c) 2016, Rich Prohaska All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
| * 5.6.33-79.0Sergei Golubchik2016-10-2512-17/+408
| |
| * 5.6.32-78.1Sergei Golubchik2016-09-2737-2423/+3697
| |
* | Merge branch '10.1' into 10.2Sergei Golubchik2016-06-3048-780/+1758
|\ \ | |/
| * 5.6.30-76.3Sergei Golubchik2016-06-1027-16/+18
| |
| * 5.6.27-76.0Sergei Golubchik2015-12-1534-764/+1740
| |
* | Fixed compiler warningsMonty2016-06-2228-5/+34
| | | | | | | | Added my_global.h to PerconeFT to avoid "error <my_config.h> MUST be included first"
* | General spell fixing in comments and stringsOtto Kekäläinen2016-06-081-1/+1
| |
* | Merge branch 'merge-tokudb-5.6' into 10.0Sergei Golubchik2015-12-152-3/+3
|/
* 5.6.26-74.0Sergei Golubchik2015-10-26310-0/+91828