mariadb/storage/innobase
Marko Mäkelä e0e096faaa MDEV-29982 Improve the InnoDB log overwrite error message
The InnoDB write-ahead log ib_logfile0 is of fixed size,
specified by innodb_log_file_size. If the tail of the log
manages to overwrite the head (latest checkpoint) of the log,
crash recovery will be broken.

Let us clarify the messages about this, including adding
a message on the completion of a log checkpoint that notes
that the dangerous situation is over.

To reproduce the dangerous scenario, we will introduce the
debug injection label ib_log_checkpoint_avoid_hard, which will
avoid log checkpoints even harder than the previous
ib_log_checkpoint_avoid.

log_t::overwrite_warned: The first known dangerous log sequence number.
Set in log_close() and cleared in log_write_checkpoint_info(),
which will output a "Crash recovery was broken" message.
2022-11-14 12:18:03 +02:00
..
btr Merge 10.4 into 10.5 2022-11-09 09:30:37 +02:00
buf MDEV-29982 Improve the InnoDB log overwrite error message 2022-11-14 12:18:03 +02:00
data Merge 10.4 into 10.5 2022-10-25 11:26:37 +03:00
dict Merge 10.4 into 10.5 2022-11-09 09:30:37 +02:00
eval Merge 10.4 into 10.5 2019-12-16 07:47:17 +02:00
fil Merge 10.4 into 10.5 2022-09-20 13:17:02 +03:00
fsp Merge 10.4 into 10.5 2022-08-22 13:38:40 +03:00
fts Merge 10.4 into 10.5 2022-10-06 08:29:56 +03:00
fut MDEV-22110 preparation: Remove mtr_memo_contains macros 2020-06-10 07:50:09 +03:00
gis Merge 10.4 into 10.5 2022-10-25 11:26:37 +03:00
ha MDEV-22871: Remove pointer indirection for InnoDB hash_table_t 2020-06-18 14:16:01 +03:00
handler Merge 10.4 into 10.5 2022-11-08 17:01:28 +02:00
ibuf Merge 10.4 into 10.5 2022-11-08 17:01:28 +02:00
include MDEV-29982 Improve the InnoDB log overwrite error message 2022-11-14 12:18:03 +02:00
lock MDEV-28709 unexpected X lock on Supremum in READ COMMITTED 2022-10-25 00:52:10 +03:00
log MDEV-29982 Improve the InnoDB log overwrite error message 2022-11-14 12:18:03 +02:00
mem Merge 10.4 into 10.5 2020-07-02 09:41:44 +03:00
mtr MDEV-29982 Improve the InnoDB log overwrite error message 2022-11-14 12:18:03 +02:00
mysql-test/storage_engine MDEV-20907 Set innodb_log_files_in_group=1 by default 2019-10-28 17:11:10 +02:00
os Merge 10.4 into 10.5 2022-09-20 13:17:02 +03:00
page MDEV-29471 Buffer overflow in page_cur_insert_rec_low() 2022-09-06 11:33:52 +03:00
pars Merge 10.4 into 10.5 2021-11-09 08:50:33 +02:00
que Merge 10.4 into 10.5 2022-11-08 17:01:28 +02:00
read Merge branch '10.3' into 10.4 2021-07-31 22:59:58 +02:00
rem Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
row Merge 10.4 into 10.5 2022-11-08 17:01:28 +02:00
srv MDEV-29905 fixup: Remove some unnecessary code 2022-11-14 10:22:29 +02:00
sync Merge 10.4 into 10.5 2022-04-21 15:33:50 +03:00
trx MDEV-28709 unexpected X lock on Supremum in READ COMMITTED 2022-10-25 00:52:10 +03:00
unittest MDEV-19522 fixup: Use correct printf format 2021-10-21 15:53:35 +03:00
ut Merge 10.4 into 10.5 2022-06-09 12:22:55 +03:00
.clang-format-old switch off storage/innobase/.clang-format: InnoDB uses a common formatting style for all new code 2021-03-17 11:01:15 +03:00
bzip2.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
CMakeLists.txt Merge 10.4 into 10.5 2022-10-12 11:29:32 +03:00
compile-innodb Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
COPYING.Google
COPYING.Percona
lz4.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
lzma.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
lzo.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00
snappy.cmake Add feature summary at the end of cmake. 2021-07-21 10:22:56 +03:00