- 01 Apr, 2015 1 commit
-
-
Nirbhay Choubey authored
-
- 31 Mar, 2015 1 commit
-
-
Jan Lindström authored
MDEV-7878: innodb_scrub_background fails sporadically in buildbot (Failing assertion: offset > 0 && offset < UNIV_PAGE_SIZE) Problem was that when encrypted space was flushed page 0 is also updated but crypt data offset was sometimes not calculated.
-
- 30 Mar, 2015 4 commits
-
-
Kristian Nielsen authored
Conflicts: mysql-test/suite/rpl/r/rpl_parallel.result sql/rpl_parallel.cc
-
Kristian Nielsen authored
MDEV-7847: "Slave worker thread retried transaction 10 time(s) in vain, giving up", followed by replication hanging This patch fixes a bug in the error handling in parallel replication, when one worker thread gets a failure and other worker threads processing later transactions have to rollback and abort. The problem was with the lifetime of group_commit_orderer objects (GCOs). A GCO is freed when we register that its last event group has committed. This relies on register_wait_for_prior_commit() and wait_for_prior_commit() to ensure that the fact that T2 has committed implies that any earlier T1 has also committed, and can thus no longer execute mark_start_commit(). However, in the error case, the code was skipping the register_wait_for_prior_commit() and wait_for_prior_commit() calls. Thus commit ordering was not guaranteed, and a GCO could be freed too early. Then a later mark_start_commit() would reference deallocated GCO, which could lead to lost wakeup (causing slave threads to hang) or other corruption. This patch makes also the error case respect commit order. This way, also the error case gets the GCO lifetime correct, and the hang no longer occurs.
-
Kristian Nielsen authored
When a transaction in parallel replication needs to retry (eg. because of deadlock kill), first wait for all prior transactions to commit before doing the retry. This way, we avoid the retry once again conflicting with a prior transaction, requiring yet another retry. Without this patch, we saw "in the wild" that transactions had to be retried more than 10 times to succeed, which exceeds the default --slave_transaction_retries value and is in any case undesirable. (We already do this in 10.1 in "optimistic" parallel replication mode; this patch just makes the code use the same logic for "conservative" mode (only mode in 10.0)).
-
Alexander Barkov authored
making Item_string::is_cs_specified() virtual instead.
-
- 29 Mar, 2015 3 commits
-
-
Elena Stepanova authored
-
Elena Stepanova authored
MDEV-7874 deb package installation fails with "dpkg: dependency problems prevent configuration of mariadb-server" Added usr/share/mysql/maria_add_gis_sp_bootstrap.sql to the file lists
-
Oleksandr Byelkin authored
Tracking total time added in UPDATE/DELETE Fixed selectivity calculation in UPDATE/DELETE Macro definitions of time tracting fixed.
-
- 27 Mar, 2015 2 commits
-
-
Sergei Petrunia authored
-
Jan Lindström authored
-
- 26 Mar, 2015 1 commit
-
-
Alexander Barkov authored
MDEV-6218 Wrong result of CHAR_LENGTH(non-BMP-character) with 3-byte utf8 - Moving get_text() as a method to Lex_input_stream. - Moving the unescaping part into a separate function, this piece of code will later go to /strings most likely. - Removing Lex_input_string::yytoklen, as it's not needed any more.
-
- 25 Mar, 2015 7 commits
-
-
Oleksandr Byelkin authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
Fix BigEndian build for Cassandra SE
-
Dinar Valeev authored
On BigEndian build fails with: [ 109s] /home/abuild/rpmbuild/BUILD/mariadb-10.0.17/storage/cassandra/ha_cassandra.cc:890:22: error: invalid conversion from 'longlong* {aka long long int*} ' to 'long long int' [-fpermissive] [ 109s] value->x.long_value= (longlong *)*cass_data; [ 109s] ^ This commit fixes it Signed-off-by: Dinar Valeev <dvaleev@suse.com>
-
Sergei Petrunia authored
-
Alexander Barkov authored
-
- 24 Mar, 2015 5 commits
-
-
Kristian Nielsen authored
The patch for optimistic parallel replication as a memory optimisation moved the gco->installed field into a bit in gco->flags. However, that is just plain wrong. The gco->flags field is owned by the SQL driver thread, but gco->installed is used by the worker threads, so this will cause a race condition. The user-visible problem might be conflicts between transactions and/or slave threads hanging. So revert this part of the optimistic parallel replication patch, going back to using a separate field gco->installed like in 10.0.
-
Sergei Petrunia authored
-
Sergei Petrunia authored
-
Sergei Petrunia authored
Switch from relying on PERFORMANCE_SCHEMA to using our own hooks for counting the time spent reading rows from tables.
-
Sergei Petrunia authored
-
- 23 Mar, 2015 1 commit
-
-
Alexander Barkov authored
-
- 21 Mar, 2015 1 commit
-
-
Vicențiu Ciorbaru authored
Moved the privilege checking code which does not apply for embedded to a separate test case.
-
- 20 Mar, 2015 5 commits
-
-
Jan Lindström authored
Currently crypt data is written to file space always. Use that to obtain random IV for every object (file). Beatify code to confort InnoDB coding styles. Conflicts: storage/innobase/fil/fil0crypt.cc storage/xtradb/fil/fil0crypt.cc
-
Alexander Barkov authored
Removing "bool Key::create_if_not_exists" and deriving Key from DDL_options instead.
-
Alexander Barkov authored
MDEV-7801 Unexpected syntax error in ALTER TABLE t1 ADD INDEX TYPE BTREE MDEV-7284 INDEX: CREATE OR REPLACE
-
Vicențiu Ciorbaru authored
Updated information_schema test result;
-
Nirbhay Choubey authored
-
- 19 Mar, 2015 4 commits
-
-
Vicențiu Ciorbaru authored
Implemented the status variables for use with the feedback plugin.
-
Nirbhay Choubey authored
Fix for failing tests. * Update mysql_system_tables_fix.sql to makeup the differences in system tables in 5.1.17 (main.system_mysql_db_fix50117) * Removed system_mysql_db tests for versions 5.0.30 & 4.1.23.
-
Jan Lindström authored
MDEV-7803: Encryption metadata (crypt_data) is written to InnoDB file space page 0 even when encryption is not enabled
-
Jan Lindström authored
redo operations.
-
- 18 Mar, 2015 2 commits
-
-
Alexander Barkov authored
for incorrect byte sequences
-
Sergey Vojtovich authored
innodb_buffer_pool_pages_total depends on page size. On Power8 it is 65k compared to 4k on Intel. As we round allocations on page size we may get slightly more memory for buffer pool. Sort XA RECOVER as rows order depend on endianness.
-
- 17 Mar, 2015 3 commits
-
-
Jan Lindström authored
-
Alexey Botchkov authored
-
Alexey Botchkov authored
Installation scripts added to setup the required SP-s with the mysql_install_db.
-