- 06 Feb, 2023 3 commits
-
-
Oleksandr Byelkin authored
-
Daniel Bartholomew authored
-
Daniel Black authored
__gcov_flush was never an external symbol in the documentation. It was removed in gcc-11. The correct function to use is __gcov_dump which is defined in the gcov.h header.
-
- 03 Feb, 2023 9 commits
-
-
Vicențiu Ciorbaru authored
When running with DBUG trace enabled, print all current active signals. The output looks like this with the signals present in curr: T@6 ... debug_sync_exec: wait for 'nothing' at: 'now', curr: 'something,from_function,from_myvar'
-
Vicențiu Ciorbaru authored
-
Vicențiu Ciorbaru authored
After introducing multiple signals possible for debug_sync, the test changes are no longer necessary. Revert them to the original state.
-
Vicențiu Ciorbaru authored
One can now do: set DEBUG_SYNC='... SIGNAL s1,s2,s3...' Multiple signals can be fired, they need to be split by commas.
-
Vicențiu Ciorbaru authored
One shouldn't have to instantiate a Binary_string every time a strstr call is needed.
-
Vicențiu Ciorbaru authored
When waiting on a signal, NO_CLEAR_EVENT allows one to not clear the signal, effectively allowing other threads to wait for the same signal.
-
Vicențiu Ciorbaru authored
The patch is inspired from MySQL. Instead of using a single String to hold the current active debug_sync signal, use a Hash_set to store LEX_STRINGS. This patch ensures that a signal can not be lost, by being overwritten by another thread via set DEBUG_SYNC = '... SIGNAL ...'; All signals are kepts "alive" until they are consumed by a wait event. This requires updating test cases that assume the GLOBAL signal is never consumed. Follow-up work needed: Port the additional syntax that allows one to set multiple signals and also conditionally deactivate signals when waiting.
-
Vicențiu Ciorbaru authored
If the Hash_set is not initialized, one can not call find() on it before at least one element has been inserted into it.
-
Vicențiu Ciorbaru authored
-
- 01 Feb, 2023 3 commits
-
-
Julius Goryavsky authored
Unstable test (galera_insert_bulk) temporarily disabled.
-
Oleksandr Byelkin authored
Starting wth 10.6 it goes via ps protocol so the subselect removed only once on prepare.
-
Marko Mäkelä authored
mtr_t::commit(): Add special handling of innodb_immediate_scrub_data_uncompressed for TEMPORARY TABLE. This fixes a regression that was caused by commit de4030e4 (MDEV-30400).
-
- 31 Jan, 2023 2 commits
-
-
Marko Mäkelä authored
btr_cur_t::open_leaf(): When we have to reopen the root page in a different mode, ensure that we will actually acquire a latch upfront, instead of using RW_NO_LATCH. This prevents a race condition where the index tree would be split between the time we released the root page S latch and finally acquired a latch in mtr->upgrade_buffer_fix(), actually on a non-leaf root page. This race condition was introduced in commit 89ec4b53 (MDEV-29603).
-
Oleksandr Byelkin authored
-
- 30 Jan, 2023 5 commits
-
-
Andrei authored
-
Oleksandr Byelkin authored
-
Anel Husakovic authored
Reviewer: <>
-
Oleksandr Byelkin authored
- 28 Jan, 2023 4 commits
-
-
Sergei Petrunia authored
Enable use of Rowid Filter optimization with eq_ref access. Use the following assumptions: - Assume index-only access cost is 50% of non-index-only access cost. - Take into account that "Eq_ref access cache" reduces the number of lookups eq_ref access will make. = This means the number of Rowid Filter checks is reduced also = Eq_ref access cost is computed using that assumption (see prev_record_reads() call), so we should use it in all cost ' computations.
-
Oleksandr Byelkin authored
-
Andrei authored
-
Andrei authored
-
- 27 Jan, 2023 1 commit
-
-
Oleksandr Byelkin authored
-
- 26 Jan, 2023 4 commits
-
-
Sergei Petrunia authored
Enable use of Rowid Filter optimization with eq_ref access. Use the following assumptions: - Assume index-only access cost is 50% of non-index-only access cost. - Take into account that "Eq_ref access cache" reduces the number of lookups eq_ref access will make. = This means the number of Rowid Filter checks is reduced also = Eq_ref access cost is computed using that assumption (see prev_record_reads() call), so we should use it in all cost ' computations.
-
Marko Mäkelä authored
page_copy_rec_list_start(): Do not update the PAGE_MAX_TRX_ID on the compressed copy of the page. The modification is supposed to be logged as part of page_zip_compress() or page_zip_reorganize(). If the page cannot be compressed (due to running out of space), then page_zip_decompress() must be able to roll back the changes. This fixes a regression that was introduced in commit 56f6dab1 (MDEV-21174).
-
Thirunarayanan Balathandayuthapani authored
MDEV-30429 InnoDB: Failing assertion: stat_value != UINT64_UNDEFINED in storage/innobase/dict/dict0stats.cc line 3647 In dict_stats_analyze_index(), InnoDB sets the maximum value for index_stats_t to indicate the bulk under bulk insert operation. But InnoDB fails to empty the statistics of the table in that case.
-
Oleksandr Byelkin authored
-
- 25 Jan, 2023 7 commits
-
-
Marko Mäkelä authored
-
Marko Mäkelä authored
-
Jan Lindström authored
After d7d3ad69 we should use KILL_CONNECTION_HARD to interrupt debug_sync waits. Test case uses debug_sync and then disconnects connection from cluster.
-
Jan Lindström authored
Add wait_condition so that all rows expected are really replicated before we check it.
-
Heiko Becker authored
Fixes the following error when building with gcc 13: "tpool/aio_liburing.cc:64:18: error: 'runtime_error' is not a member of 'std' 64 | throw std::runtime_error("aio_uring()");"
-
Daniel Black authored
This was an accidential deletion looking at an outdated list.
-
Yuchen Pei authored
This is Kentoku's patch for MDEV-22979 (e6e41f04 + 22a00977), which fixes 30370. It changes the wait to a timed wait for the first sts thread, which waits on server start to execute the init queries for spider. It also flips the flag init_command to false when the sts thread is being freed. With these changes the sts thread can check the flag regularly and abort the init_queries when it finds out the init_command is false. This avoids the deadlock that causes the problem in MDEV-30370. It also fixes MDEV-22979 for 10.4, but not 10.5. I have not tested higher versions for MDEV-22979. A test has also been done on MDEV-29904 to avoid regression, given MDEV-27233 is a similar problem and its patch caused the regression. The test passes for 10.4-11.0. However, this adhoc test only works consistently when placed in the main testsuite. We should not place spider tests in the main suite, so we do not include it in this commit. A patch for MDEV-27912 should fix this problem and allow a proper test for MDEV-29904. See comments in the jira ticket MDEV-30370/29904 for the adhoc testcase used for this commit.
-
- 24 Jan, 2023 2 commits
-
-
Vladislav Vaintroub authored
Add /fd parameter. It is now mandatory for the recent versions of signtool
-
Andrei authored
ANALYZE was observed to race over a preceding in binlog order DML in updating the binlog and slave gtid states. Tagging ANALYZE and other admin class commands in binlog by the fixes of MDEV-17515 left a flaw allowing such race leading to the gtid mode out-of-order error. This is fixed now to observe by ADMIN commands the ordered access to the slave gtid status variables and binlog.
-