maria:bb-10.5-julius

Last commit made on 2021-12-26
Get this branch:
git clone -b bb-10.5-julius https://git.launchpad.net/maria

Branch merges

Branch information

Name:
bb-10.5-julius
Repository:
lp:maria

Recent commits

c50b26a... by Julius Goryavsky <email address hidden>

Duplicate line deleted

55bb933... by Julius Goryavsky <email address hidden>

Merge branch 10.4 into 10.5

681b778... by Julius Goryavsky <email address hidden>

Merge branch 10.3 into 10.4

9769567... by Julius Goryavsky <email address hidden>

Merge branch 10.2 into 10.3

b5cbe50... by Julius Goryavsky <email address hidden>

MDEV-24097: galera[_3nodes] suite tests in MTR sporadically fails

This is the first part of the fixes for MDEV-24097. This commit
contains the fixes for instability when testing Galera and when
restarting nodes quickly:

1) Protection against a "stuck" old SST process during the execution
   of the new SST (after restarting the node) is now implemented for
   mariabackup / xtrabackup, which should help to avoid almost all
   conflicts due to the use of the same ports - both during testing
   with mtr, so and when restarting nodes quickly in a production
   environment.
2) Added more protection to scripts against unexpected return of
   the rc != 0 (in the commands for deleting temporary files, etc).
3) Added protection against unexpected crashes during binlog transfer
   (in SST scripts for rsync).
4) Spaces and some special characters in binlog filenames shouldn't
   be a problem now (at the script level).
5) Daemon process termination tracking has been made more robust
   against crashes due to unexpected termination of the previous SST
   process while new scripts are running.
6) Reading ssl encryption parameters has been moved from specific
   SST scripts to a common wsrep_sst_common.sh script, which allows
   unified error handling, unified diagnostics and simplifies script
   revisions in the future.
7) Improved diagnostics of errors related to the use of openssl.
8) Corrections have been made for xtrabackup-v2 (both in tests and in
   the script code) that restore the work of xtrabackup with updated
   versions of innodb.
9) Fixed some tests for galera_3nodes, although the complete solution
   for the problem of starting three nodes at the same time on fast
   machines will be done in a separate commit.

No additional tests are required as this commit fixes problems with
existing tests.

3376668... by Julius Goryavsky <email address hidden>

Merge branch 10.2 into 10.3

4b020bf... by Sergey Petrunia

Fix typos in optimizer trace output

397f5cf... by Sergey Petrunia

MDEV-27238: Assertion `got_name == named_item_expected()' failed in Json_writer

make_join_select() calls const_cond->val_int(). There are edge cases
where const_cond may have a not-yet optimized subquery.

(The subquery will have used_tables() covered by join->const_tables. It
will still have const_item()==false, so other parts of the optimizer
will not try to evaluate it. We should probably mark such subqueries
as constant but that is outside the scope of this MDEV)

0165a06... by Leandro Pacheco <email address hidden>

result of wsrep logic in queue_for_group_commit was being ignored

This could cause out of order wsrep checkpoints due wsrep specific leader
code not being executed in `MYSQL_BIN_LOG::write_transaction_to_binlog_events`.
Move original result assignment to before wsrep logic to prevent that.

Reviewed-by: Jan Lindström <email address hidden>

ca2ea4f... by Monty <email address hidden>

Only apply wsrep_trx_fragment_size to InnoDB tables

MDEV-22617 Galera node crashes when trying to log to slow_log table in
streaming replication mode

Other things:
- Changed name of wsrep_after_row(two arguments) to
  wsrep_after_row_internal(one argument) to not depended on the
  function signature with unused arguments.

Reviewed-by: Jan Lindström <email address hidden>
      Added test case