- 06 Jan, 2014 1 commit
-
-
unknown authored
Add another test case. This one for killing a query that is waiting for a prior commit, when --log-slave-updates=0 (in this case the wait happens in different code from --log-slave-updates=1).
-
- 03 Jan, 2014 1 commit
-
-
unknown authored
Add another test case. This one for killing the SQL driver thread while it is waiting for room in the list of events queued for a worker thread. Fix bugs found: - Several memory leaks in various error cases. - SQL error code was not set (for SHOW SLAVE STATUS etc.) when killed.
-
- 18 Dec, 2013 1 commit
-
-
unknown authored
Add another test case. This one for killing a worker while its transaction is waiting to start until the previous transaction has committed. Fix setting reading_or_writing to 0 in worker threads so SHOW SLAVE STATUS can show something more useful than "Reading from net".
-
- 17 Dec, 2013 2 commits
- 16 Dec, 2013 1 commit
-
-
unknown authored
Fix locking bug / race introduced by previous patch: If we bail out of next_event() due to kill, there was a small window where we could exit without rli->data_lock held, causing an unlock-twice bug.
-
- 13 Dec, 2013 1 commit
-
-
unknown authored
Add a test case for killing a waiting query in parallel replication. Fix several bugs found: - We should not wakeup_subsequent_commits() in ha_rollback_trans(), since we do not know the right wakeup_error() to give. - When a wait_for_prior_commit() is killed, we must unregister from the waitee so we do not race and get an extra (non-kill) wakeup. - We need to deal with error propagation correctly in queue_for_group_commit when one thread is killed. - Fix one locking issue in queue_for_group_commit(), we could unlock the waitee lock too early and this end up processing wakeup() with insufficient locking. - Fix Xid_log_event::do_apply_event; if commit fails it must not update the in-memory @@gtid_slave_pos state. - Fix and cleanup some things in the rpl_parallel.cc error handling. - Add a missing check for killed in the slave sql driver thread, to avoid a race.
-
- 06 Dec, 2013 1 commit
-
-
unknown authored
A couple of more parallel replication waits made killable.
-
- 05 Dec, 2013 1 commit
-
-
unknown authored
Make wait_for_prior_commit killable, and handle the error if killed.
-
- 29 Nov, 2013 2 commits
-
-
unknown authored
This was actually implemented as part of MDEV-4506, parallel replication. Unfortunately, one of the conditionals was reversed. So fsync of master.info was disabled in non-gtid mode, instead of in gtid mode. So fix the conditional to be correct.
-
Alexander Barkov authored
inintentionally broken during merge 5.5->10.0-base modified: mysql-test/r/mysql_tzinfo_to_sql_symlink.result
-
- 27 Nov, 2013 3 commits
-
-
Igor Babaev authored
-
Igor Babaev authored
Always use the value of table::file->stats.records when checking whether a table with HA_STATS_RECORDS_IS_EXACT flag contains not more than 1 record.
-
unknown authored
The update of mysql.gtid_slave_pos during event replication used the wrong way to disable binary logging for the table updates. Fix to instead temporarily clear the OPT_BIN_LOG flag.
-
- 26 Nov, 2013 2 commits
-
-
Igor Babaev authored
The bug was fixed by the patch applied to the 5.3 tree in the revision 3727.
-
Alexander Barkov authored
sort directory data to make sure the same data order in the output of mysql_tzinfo_to_sql on all platforms.
-
- 25 Nov, 2013 4 commits
-
-
Igor Babaev authored
-
unknown authored
Add another column to SHOW SLAVE STATUS, and adjust test suite to cope.
-
Igor Babaev authored
-
Igor Babaev authored
remove_eq_conds() in the function make_join_statistics().
-
- 23 Nov, 2013 3 commits
-
-
Igor Babaev authored
-
Sergei Golubchik authored
-
Igor Babaev authored
-
- 22 Nov, 2013 8 commits
-
-
Sergei Golubchik authored
-
Igor Babaev authored
-
Elena Stepanova authored
-
unknown authored
Attempt to read the master-bin.state file always, even if the binlog files (master-bin.index and master-bin.XXXXXX) have been deleted. This allows to easily preserve the binlog state when provisioning a new server from a copy of an old one, without needing to copy over the binlog files themselves.
-
Alexander Barkov authored
-
Alexander Barkov authored
mysql-test-run: *** ERROR: Could not find any of /mariadb-5.5.34/sql/mysql_tzinfo_to_sql /mariadb-5.5.34/build/client/mysql_tzinfo_to_sql Fixed the directory list to search mysql_tzinfo_to_sql binary in.
-
Igor Babaev authored
-
Igor Babaev authored
-
- 21 Nov, 2013 9 commits
-
-
Igor Babaev authored
The earlier pushed fix for the bug was incomplete. It did not remove the main cause of the problem: the function remove_eq_conds() removed always true multiple equalities from any conjunct, but did not adjust the list of them stored in Item_cond_and::cond_equal.current_level. Simplified the test case for the bug and moved it to another test file. The fix triggered changes in EXPLAIN EXTENDED for some queries.
-
Sergey Petrunya authored
-
unknown authored
MDEV-4725: Incorrect binlog state recovery if crash while writing event group The binlog state was not recovered correctly if XA is not used (eg. InnoDB disabled), or if server crashed in the middle of writing an event group to the binlog. With this patch, we ensure that recovery of binlog state is done even if we do not do the full XA binlog recovery, and we ensure that we only recover fully written event groups into the binlog state.
-
Sergey Petrunya authored
- Make log_slow_statement() always call delete_explain_query().
-
Sergey Petrunya authored
- Added testcase
-
Alexander Barkov authored
-
Alexander Barkov authored
Fixed.
-
Sergey Petrunya authored
-
Alexander Barkov authored
-