- 13 Oct, 2022 2 commits
-
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
- 12 Oct, 2022 3 commits
-
-
Marko Mäkelä authored
-
Jan Lindström authored
* MDEV-29142 : Ignore inconsistency warning as we kill cluster * galera_parallel_apply_3nodes : Disabled because it is unstable * MDEV-26597 : Add missing code * galera_sr.galera_sr_ws_size2 : Remove incorrect assertion
-
Marko Mäkelä authored
-
- 11 Oct, 2022 8 commits
-
-
Sergei Golubchik authored
followup for e8acec89
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Zhibo Zhang authored
The statement 'Verify checksum binlog events.' is confusing. Fix word order to make it clear.
-
Julius Goryavsky authored
The problem is related to performing operations without switching wsrep off, this commit fixes this and allows disabled tests.
-
Julius Goryavsky authored
The problem is related to performing operations without switching wsrep off, this commit fixes this and allows disabled tests.
-
- 10 Oct, 2022 4 commits
-
-
Vladislav Vaintroub authored
Avoid relatively expensive THD::store_globals() for every query in the threadpool. Use a lighter version instead, that only resets some thread local storage variables(THD, mysys, PSI), avoids some calculationms and caches syscall gettid (Linux only) in a thread_local variable. Also simplify Worker_context use, with RAII.
-
Alexander Barkov authored
Adding debug output for key and keyseg flags at ha_myisam::open() time. So now there are three points of debug output: 1. In the very end of mysql_prepare_create_table() 2. In ha_myisam::create(), after the table2myisam() call 3. In ha_myisan::open(), after the mi_open() call mi_create(), which is is called between 2 and 3, modifies flags for some data types, so the output in 2 and 3 is different.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
A previous fix in commit efd8af53 failed to cover ALTER TABLE. PageBulk::isSpaceAvailable(): Check for record heap number overflow.
-
- 09 Oct, 2022 6 commits
-
-
Anel Husakovic authored
Reviewer: <wlad@mariadb.com>
-
Jan Lindström authored
MDEV-29707 : Incorrect/bad errno on enabling wsrep_on after setting dummy wsrep_provider on non-Galera build Fix error message to contain correct errno. This commit was tested interactively because mtr will notice if you provide wrong wsrep_provider in config and you may not change wsrep_provider dynamically.
-
Jan Lindström authored
MDEV-25389 : Assertion `!is_thread_specific || (mysqld_server_initialized && thd)' failed in void my_malloc_size_cb_func(long long int, my_bool) If wsrep slave thread creation fails for some reason we need to handle this error correctly and set actual running slave threads accordingly.
-
Jan Lindström authored
MDEV-26597 : Assertion `!wsrep_has_changes(thd) || (thd->lex->sql_command == SQLCOM_CREATE_TABLE && !thd->is_current_stmt_binlog_format_row())' failed. If repl.max_ws_size is set too low following CREATE TABLE could fail during commit. In this case wsrep_commit_empty should allow rolling it back if provider state is s_aborted. Furhermore, original ER_ERROR_DURING_COMMIT does not really tell anything clear for user. Therefore, this commit adds a new error ER_TOO_BIG_WRITESET. This will change some test cases output.
-
Jan Lindström authored
MDEV-27123 : auto_increment_increment and auto_increment_offset reset to 1 in current session after alter table on auto-increment column Problem was that in ALTER TABLE execution variables were set to 1 even when wsrep_auto_increment_control is OFF. We should set them only when wsrep_auto_increment_control is ON.
-
Jan Lindström authored
In test user has set WSREP_ON=OFF this causes streaming replication recovery to fail and this caused call to unireg_abort(). However, this call is not necessary and we can let transaction to fail. Naturally, if real user does this he needs to bootstrap his cluster.
-
- 07 Oct, 2022 6 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
This message would always have been invoked on ptr=NULL.
-
Marko Mäkelä authored
-
Sergei Golubchik authored
after 6b685ea7 one can no longer violate the locking protocol by invoking thd_get_ha_data() on some other thread without protecting that with a mutex
-
- 06 Oct, 2022 11 commits
-
-
Aleksey Midenkov authored
10.5 part: test cases and comments. The code is in the merge commit 74fe1c44 When f.ex. table is partitioned by HASH(a) and we rename column `a' to `b' partitioning filter stays unchanged: HASH(a). That's the wrong behavior. The patch updates partitioning filter in accordance to the new columns names. That includes partition/subpartition expression and partition/subpartition field list.
-
Aleksey Midenkov authored
-
Aleksey Midenkov authored
-
Marko Mäkelä authored
-
Marko Mäkelä authored
row_purge_step(): Process all available purge_node_t::undo_recs. row_purge_end(): Replaced with purge_node_t::end(). TODO: Do we need a "query graph node" at all for purge?
-
Marko Mäkelä authored
purge_sys_t::low_limit_no(): Adjust a comment. Actually, this is protected after all. TrxUndoRsegsIterator::set_next(): Reduce the critical section of purge_sys.rseg->latch. Some purge_sys fields are accessed only by the purge coordinator task.
-
Marko Mäkelä authored
-
Marko Mäkelä authored
ReadViewBase::snapshot(): In case m_low_limit_no==m_low_limit_id and m_ids would include everything between that and m_up_limit_id, set all fields to m_up_limit_id and clear m_ids, to speed up changes_visible() and append(). rw_trx_hash_t::debug_iterator(): Add an assertion.
-
Marko Mäkelä authored
btr_page_reorganize_low(): Do not invoke lock_move_reorganize_page() on a dummy index during change buffer merge. The ibuf.index page latch that we are holding may block a DDL operation that is waiting in ibuf_delete_for_discarded_space() while holding exclusive lock_sys.latch. ibuf_insert_low() would refuse to buffer a change if any locks exist for the index page.
-
Jan Lindström authored
-
Jan Lindström authored
Do not allow setting wsrep_on=ON if no provider is set.
-