mariadb/storage
Kristian Nielsen 8f6b69de3f MDEV-34705: Binlog-in-engine: Fix 3 race bugs
- Update the end_offset for file_no=N+1 before file_no=N, so that a reader
   does not have a window where it can see a record partially written,
   present in N but not N+1.

 - Fix a case when the writer changes to the next file exactly at the same
   time that the reader loads the current state. In this case the reader
   detects a potentially inconsistent state read and retries, and the code
   forgot to release its latch on the page.

 - Fix a race when flush_one_page() runs in parallel with RESET MASTER.

Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2025-04-03 22:37:09 +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 branch '10.11 into 11.4 2025-01-30 12:01:11 +01: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 3 race bugs 2025-04-03 22:37:09 +02:00
maria Merge 10.11 into 11.4 2025-03-03 11:07:56 +02:00
mroonga Merge 10.11 into 11.4 2025-01-09 07:58:08 +02:00
myisam Merge branch '10.11 into 11.4 2025-01-30 12:01:11 +01: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-03-03 11:07:56 +02:00
test_sql_discovery Merge 10.5 into 10.6 2024-06-24 13:09:47 +03:00