1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00
Files
mariadb/mysql-test/include
unknown 13f45b160b WL#3072 Maria recovery:
fix for bug: if a crash happened right after writing a REDO like this:
REDO - UNDO - REDO*, then recovery would ignore the last REDO* (ok),
rollback: REDO - UNDO - REDO* - REDO - CLR, and a next recovery would
thus execute REDO* instead of skipping it again. Recovery now logs
LOGREC_INCOMPLETE_GROUP when it meets REDO* for the first time,
to draw a boundary and ensure it is always skipped. Tested by hand.
Note: ma_test_all fails "maria_chk: error: Key 1 - Found too many records"
not due to this patch (failed before).


BitKeeper/triggers/post-commit:
  no truncation of the commit mail, or how to review patches?
mysql-test/include/maria_verify_recovery.inc:
  let caller choose the statement used to crash (sometimes we
  want the crash to happen at special places)
mysql-test/t/maria-recovery.test:
  user of maria_verify_recovery.inc now specifies statement which the
  script should use for crashing.
storage/maria/ma_bitmap.c:
  it's easier to search for all places using functions from the bitmap
  module (like in ma_blockrec.c) if those exported functions all start
  with "_ma_bitmap": renaming some of them.
  Assertion that when we read a bitmap page, overwriting bitmap->map,
  we are not losing information (i.e. bitmap->changed is false).
storage/maria/ma_blockrec.c:
  update to new names. Adding code (disabled, protected by a #ifdef)
  that I use to test certain crash scenarios (more to come).
storage/maria/ma_blockrec.h:
  update to new names
storage/maria/ma_checkpoint.c:
  update to new names
storage/maria/ma_extra.c:
  update to new names
storage/maria/ma_loghandler.c:
  new LOGREC_INCOMPLETE_GROUP
storage/maria/ma_loghandler.h:
  new LOGREC_INCOMPLETE_GROUP
storage/maria/ma_recovery.c:
  When at the end of the REDO phase we have identified some transactions
  with incomplete REDO groups (REDOs without an UNDO or CLR_END),
  for each of them we log LOGREC_INCOMPLETE_GROUP. This way, the
  upcoming UNDO phase can write more records for such transaction,
  a future recovery won't pair the incomplete group with the
  CLR_END (as there is LOGREC_INCOMPLETE_GROUP to draw a boundary).
2007-12-10 23:26:53 +01:00
..
2003-08-28 06:08:17 +03:00
2006-08-16 14:58:49 +02:00
2005-07-06 17:16:22 +05:00
2007-06-09 16:05:43 +05:00
2007-06-09 16:05:43 +05:00
2007-08-22 10:15:20 -07:00
2007-06-28 21:34:54 +04:00
2005-05-05 10:36:17 -07:00
2007-06-28 21:34:54 +04:00
2003-01-28 08:38:28 +02:00
2007-06-09 16:05:43 +05:00
2004-06-20 19:11:02 +02:00
2007-06-09 16:05:43 +05:00
2007-06-09 16:05:43 +05:00
2005-07-22 21:06:02 +05:00
2007-06-09 16:05:43 +05:00
2007-06-28 21:34:54 +04:00
2006-01-12 19:51:02 +01:00
2003-12-25 20:11:01 +04:00
2007-06-28 21:34:54 +04:00
2006-09-13 15:37:35 -06:00
2006-04-12 15:56:29 +02:00
2007-02-19 15:31:55 +03:00
2007-09-05 18:02:46 +02:00
2007-06-19 11:38:07 +02:00
2006-02-16 16:33:46 +01:00
2007-04-10 18:01:29 +03:00
2006-01-12 19:51:02 +01:00
2004-12-13 21:00:43 +01:00
2006-08-16 19:29:49 +02:00
2007-08-09 23:18:44 +02:00
2007-06-21 21:58:59 +02:00
2006-11-20 22:42:06 +02:00
2006-12-11 11:44:03 -05:00
2007-06-21 21:58:59 +02:00
2007-06-21 21:58:59 +02:00