maria:11.3-MDEV-21322-bnestere

Last commit made on 2023-06-14
Get this branch:
git clone -b 11.3-MDEV-21322-bnestere https://git.launchpad.net/maria

Branch merges

Branch information

Name:
11.3-MDEV-21322-bnestere
Repository:
lp:maria

Recent commits

512c289... by Brandon Nesterenko

MDEV-21322: Review note commit

3b8f255... by Anel Husakovic <email address hidden>

timeout=0

020c97e... by Anel Husakovic <email address hidden>

DEBUG_SYNC warning TIMEOUT < NOT GOOD

4f7a52a... by Anel Husakovic <email address hidden>

MDEV-21322: show replica hosts update result with GTID states

+ We are trying to extend the command `SHOW REPLICA HOSTS` that is
executed on master, with columns `GTID_state_sent` and `GTID_state_ack`.
In order to achieve that we have to extend `thd->slave_info` struct with
2 new entries. This struct needs to be populated and must be accessable to primary.

+ The first column `GTID_state_sent`:
  - It is populated by the last event that primary has sent to replica
    (only for semi-sync slave connection, but without need to know
    that replica actually obtained request,
    like it is case in asynchronous replication).
  - Primary executes `mysql_binlog` that first starts the `binlog_dump` thread.
    That thread starts `ack_receiver` thread, that returns second column
    of interest (in first iteration we don't care about).
    After `binlog_dump` thread creating, file is sent with
    `send_one_binlog_file()` function.
    This function is sending event with `send_events()` function,
    during which `send_event_to_slave()` function is executed.
    On that place we are creating the `thd->slave_info->gtid_state_sent` struct.

+ The second column `GTID_state_ack`:
  - It is populated by the `reply_packet_binlog` (a.k.a. `ack`) that is called,
    only for semi-sync replication. It is called on 2 places:
    a) during `binlog_dump` creation, after thread is added to
    `ack_reciver` and after thread is added as semi-sync slave. This
    should be first ack received from replica to primary.
    b) constantly in running phase of `ack_receiver` thread `run()`.
  - A the end of function `reply_packet_binlog` we are creating the
  struct `GTID_state_ack`

Reviewer:<email address hidden>

5bccae1... by Anel Husakovic <email address hidden>

Replication test typo

e9fe39d... by Monty <email address hidden>

MDEV-7389 Request: log warnings into SQL_ERROR_LOG

Changes:
- Audit_null records and displays warning count
- sql_error_log prints warnings

Reviewer: Alexey Botchkov <email address hidden>

7c9f275... by karmengc <email address hidden>

server.cnf: adjust major version to 10.11

Bump section header to 10.11 at rpm file server.cnf

1916bf2... by Marko Mäkelä

Merge 10.10 into 10.11

616ced8... by Marko Mäkelä

Merge 10.9 into 10.10

45a879f... by Sergey Petrunia

Fix ./mtr --view-protocol opt_trace

Follow the approach taken in the rest of the test.