mariadb/storage
Kristian Nielsen 30bbac9c0d MDEV-34705: Binlog-in-engine: Fix hang with event group of specific size
If the event group fitted in the binlog cache without the GTID event but not
with, the code would attempt to spill part of the GTID event as out-of-band
data, which is not correct. In release builds this would hang the server as
the spilling would try to lock an already owned mutex.

Fix by checking if the GTID event fits, and spilling any non-GTID data as
oob if it does not.

Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2025-06-01 21:49:38 +02:00
..
archive Merge 10.6 into 10.11 2024-06-27 10:26:09 +03:00
blackhole Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
columnstore Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
connect Merge 10.11 into 11.4 2025-03-28 13:55:21 +02:00
csv Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
example Merge 10.11 into 11.4 2025-01-09 07:58:08 +02:00
federated Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
federatedx Merge 10.11 into 11.4 2025-03-03 11:07:56 +02:00
heap Fixed costs in JOIN_TAB::estimate_scan_time() and HEAP 2025-02-10 15:59:28 +02:00
innobase MDEV-34705: Binlog-in-engine: Fix hang with event group of specific size 2025-06-01 21:49:38 +02:00
maria Merge 10.11 into 11.4 2025-03-28 13:55:21 +02:00
mroonga Merge 10.11 into 11.4 2025-01-09 07:58:08 +02:00
myisam Merge 10.11 into 11.4 2025-03-28 13:55:21 +02:00
myisammrg Merge 10.11 into 11.4 2025-01-09 07:58:08 +02:00
oqgraph Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
perfschema Merge branch '10.11' into 11.4 2025-01-14 23:45:41 +01:00
rocksdb MDEV-35773 fix test results 2025-01-15 09:49:33 +01:00
sequence Merge branch '10.11' into 11.1 2024-07-08 22:40:16 +02:00
sphinx Merge 10.11 into 11.4 2024-12-02 11:35:34 +02:00
spider Merge 10.11 into 11.4 2025-04-02 10:15:08 +03:00
test_sql_discovery Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00