1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00
Files
mariadb/sql
Kristian Nielsen f9ecaa87ce MDEV-33668: Refactor parallel replication round-robin scheduling to use explicit FIFO
This is a preparatory patch to facilitate the next commit to improve
the scheduling of XA transactions in parallel replication.

When choosing the scheduling bucket for the next event group in
rpl_parallel_entry::choose_thread(), use an explicit FIFO for the
round-robin selection instead of a simple cyclic counter i := (i+1) % N.

This allows to schedule XA COMMIT/ROLLBACK dependencies explicitly without
changing the round-robin scheduling of other event groups.

Reviewed-by: Andrei Elkin <andrei.elkin@mariadb.com>
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2024-04-09 11:42:34 +03:00
..
2023-11-08 15:57:05 +01:00
2022-03-23 10:47:27 +11:00
2022-04-06 12:08:30 +03:00
2024-03-18 17:07:32 +02:00
2024-01-17 13:35:05 +02:00
2023-01-27 13:54:14 +01:00
2023-02-10 13:03:01 +02:00
2023-12-17 11:20:43 +01:00
2022-09-05 14:05:30 +03:00
2023-08-15 11:21:34 +03:00
2024-02-13 20:42:59 +02:00
2024-02-13 20:42:59 +02:00
2023-02-10 12:02:11 +02:00
2023-08-04 12:14:00 +02:00
2023-12-17 11:20:43 +01:00
2022-09-26 13:34:38 +03:00
2023-02-10 12:02:11 +02:00
2023-12-18 08:59:07 +02:00
2024-03-13 21:02:34 +01:00
2024-03-13 21:02:34 +01:00
2023-02-10 12:02:11 +02:00
2024-03-13 21:02:34 +01:00
2024-01-31 18:04:03 +01:00
2023-12-02 01:02:50 +01:00
2024-03-12 09:19:57 +02:00
2024-03-18 17:07:32 +02:00
2023-02-10 13:03:01 +02:00
2024-03-13 21:02:34 +01:00
2023-12-17 11:20:43 +01:00
2024-03-13 21:02:34 +01:00
2024-01-31 18:04:03 +01:00
2023-11-08 15:57:05 +01:00
2024-03-27 15:00:56 +02:00
2024-03-12 09:19:57 +02:00
2024-03-12 09:19:57 +02:00
2024-03-12 09:19:57 +02:00
2021-10-13 13:28:12 +03:00
2023-08-01 15:08:52 +02:00
2024-03-27 15:00:56 +02:00
2024-03-13 21:02:34 +01:00
2024-01-31 18:04:03 +01:00
2023-11-08 15:57:05 +01:00
2024-03-18 17:07:32 +02:00
2024-02-13 20:42:59 +02:00
2023-11-08 15:57:05 +01:00
2023-06-26 17:11:38 +03:00
2021-11-16 16:30:45 +02:00
2023-02-10 13:03:01 +02:00
2024-03-12 09:19:57 +02:00
2023-12-17 11:20:43 +01:00
2023-11-08 15:57:05 +01:00
2023-11-08 15:57:05 +01:00
2022-06-09 12:22:55 +03:00
2023-01-10 13:54:17 +02:00
2024-01-17 13:35:05 +02:00
2022-10-02 22:14:21 +02:00
2023-02-10 13:03:01 +02:00
2022-12-13 16:58:58 +02:00
2023-02-10 12:02:11 +02:00
2022-10-25 14:25:42 +03:00
2023-12-17 11:20:43 +01:00
2023-12-17 11:20:43 +01:00
2022-09-26 14:34:43 +03:00
2023-11-08 12:59:00 +01:00
2023-11-08 15:57:05 +01:00
2023-11-15 14:10:21 +02:00
2023-08-01 15:08:52 +02:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2023-11-08 15:57:05 +01:00
2023-12-19 18:41:42 +02:00
2023-02-10 12:02:11 +02:00
2022-01-04 09:26:38 +02:00
2023-02-10 12:02:11 +02:00
2023-05-02 10:09:27 +02:00
2024-01-03 12:07:51 +02:00
2023-12-17 11:20:43 +01:00
2023-09-05 14:44:52 +07:00
2023-11-08 15:57:05 +01:00
2023-12-17 11:20:43 +01:00
2023-02-10 13:03:01 +02:00
2022-12-13 16:58:58 +02:00
2023-02-10 13:03:01 +02:00
2024-03-13 21:02:34 +01:00
2023-02-10 12:02:11 +02:00
2024-02-13 20:42:59 +02:00
2023-02-10 13:03:01 +02:00
2023-12-17 11:20:43 +01:00
2022-09-20 13:17:02 +03:00
2021-08-18 18:22:35 +03:00
2024-03-13 18:27:18 +01:00
2024-02-13 20:42:59 +02:00
2024-01-17 13:35:05 +02:00
2023-02-10 12:02:11 +02:00
2022-08-02 16:35:15 +10:00
2022-11-28 12:20:17 +02:00
2023-02-10 12:02:11 +02:00
2023-02-10 12:02:11 +02:00
2022-12-05 18:04:23 +02:00
2024-01-11 12:59:22 +11:00
2024-01-10 18:01:46 +11:00
2023-02-10 13:03:01 +02:00
2023-11-08 15:57:05 +01:00
2023-02-10 13:03:01 +02:00
2024-02-07 13:51:03 +02:00
2024-03-12 09:19:57 +02:00
2021-06-30 18:41:46 +03:00
2023-11-08 15:57:05 +01:00
2023-11-08 15:57:05 +01:00
2023-11-08 15:57:05 +01:00
2023-11-08 12:59:00 +01:00
2024-02-12 11:38:13 +02:00
2023-02-10 12:02:11 +02:00
2022-05-10 14:01:23 +02:00
2023-02-15 15:08:16 +02:00
2022-05-06 11:11:04 +03:00
2023-11-08 15:57:05 +01:00
2024-01-31 18:04:03 +01:00
2024-03-18 17:07:32 +02:00
2023-05-23 12:25:39 +03:00
2024-02-13 20:42:59 +02:00
2022-09-05 14:05:30 +03:00
2023-08-04 07:52:54 +02:00
2024-02-08 10:38:53 +02:00
2024-02-13 20:42:59 +02:00
2023-12-17 11:20:43 +01:00
2023-12-17 11:20:43 +01:00
2023-12-17 11:20:43 +01:00
2022-09-05 14:05:30 +03:00
2022-09-05 14:05:30 +03:00
2023-12-02 01:02:50 +01:00
2024-03-14 19:52:08 +01:00
2024-02-13 20:42:59 +02:00
2024-02-12 11:38:13 +02:00
2024-03-12 09:19:57 +02:00
2023-02-10 12:02:11 +02:00
2023-04-11 16:15:19 +03:00
2024-03-27 15:00:56 +02:00
2024-03-27 15:00:56 +02:00
2024-02-13 20:42:59 +02:00
2022-10-25 11:26:37 +03:00
2023-12-17 11:20:43 +01:00
2022-10-02 22:14:21 +02:00
2021-09-17 20:07:38 +03:00
2023-12-17 11:20:43 +01:00
2023-09-25 13:06:57 +10:00
2024-01-17 13:35:05 +02:00
2023-08-01 15:08:52 +02:00
2024-03-12 09:19:57 +02:00
2024-03-12 09:19:57 +02:00
2022-09-26 13:34:38 +03:00
2024-02-13 20:42:59 +02:00
2024-01-11 12:59:22 +11:00
2022-10-25 14:25:42 +03:00
2023-11-08 15:57:05 +01:00
2022-08-10 13:06:08 +02:00
2023-12-17 11:20:43 +01:00
2023-12-17 11:20:43 +01:00
2024-01-11 12:59:22 +11:00
2024-01-10 18:01:46 +11:00
2024-02-07 13:51:03 +02:00
2024-02-07 13:51:03 +02:00
2024-03-11 10:08:20 +02:00
2023-02-10 13:03:01 +02:00
2023-02-10 12:02:11 +02:00
2024-02-13 20:42:59 +02:00
2023-01-03 18:13:11 +02:00
2023-02-10 12:02:11 +02:00
2023-12-19 18:41:42 +02:00
2024-01-02 17:37:58 +02:00
2024-03-27 15:00:56 +02:00
2024-01-03 14:24:47 +02:00
2023-09-14 16:30:11 +10:00
2023-08-01 15:08:52 +02:00
2024-01-02 17:37:58 +02:00
2022-06-27 10:14:37 +03:00
2024-01-03 14:24:47 +02:00
2024-01-03 14:24:47 +02:00
2023-12-21 11:30:32 +02:00