maria:10.6-mdev7317

Last commit made on 2021-02-26
Get this branch:
git clone -b 10.6-mdev7317 https://git.launchpad.net/maria

Branch merges

Branch information

Name:
10.6-mdev7317
Repository:
lp:maria

Recent commits

8e5a096... by varun

Updating test results

7d2a478... by varun

MDEV-7317: Make an index ignorable to the optimizer

This feature adds the functionality of ignorability for indexes.
Indexes are not ignored be default.

To control index ignorability explicitly for a new index,
use IGNORE or NOT IGNORE as part of the index definition for
CREATE TABLE, CREATE INDEX, or ALTER TABLE.

Primary keys (explicit or implicit) cannot be made ignorable.

The table INFORMATION_SCHEMA.STATISTICS get a new column named IGNORE that
would store whether an index needs to be ignored or not.

27d66d6... by Jan Lindström

MENT-411 : Implement wsrep_replicate_aria

Introduced two new wsrep_mode options
* REPLICATE_MYISAM
* REPLICATE_ARIA

Depracated wsrep_replicate_myisam parameter and we use
wsrep_mode = REPLICATE_MYISAM instead.

This required small refactoring of wsrep_check_mode_after_open_table
so that both MyISAM and Aria are handled on required DML cases.
Similarly, added Aria to wsrep_should_replicate_ddl to handle DDL
for Aria tables using TOI. Added test cases and improved MyISAM testing.
Changed use of wsrep_replicate_myisam to wsrep_mode = REPLICATE_MYISAM

74281fe... by Marko Mäkelä

MDEV-24884 fixup: Remove a bogus assertion

rw_lock::upgrade_trylock(): If the compare-and-swap fails,
only assert that we are still holding the U lock and that
no conflicting lock exists. If the upgrade to X would fail due
to some thread holding an S latch, we will terminate the loop.

5c9229b... by Marko Mäkelä

MDEV-24951 Assertion m.first->second.valid(trx->undo_no) failed

trx_t::commit_in_memory(): Invoke mod_tables.clear().

trx_free_at_shutdown(): Invoke mod_tables.clear() for transactions
that are discarded on shutdown.

Everywhere else, assert mod_tables.empty() on freed transaction objects.

21987e5... by Marko Mäkelä

MDEV-20612 fixup: Reduce hash table lookups

Let us calculate the hash table cell address while we are calculating
the latch address, to avoid repeated computations of the address.
The latch address can be derived from the cell address with a simple
bitmask operation.

7953bae... by Marko Mäkelä

Merge 10.5 into 10.6

f159061... by Marko Mäkelä

Merge 10.4 into 10.5

ad0f0d2... by Vicențiu Ciorbaru

Merge branch '10.3' into 10.4

13f0e1e... by Vicențiu Ciorbaru

Merge branch '10.2' into 10.3