1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-22 17:44:29 +03:00
Files
mariadb/mysql-test/r
unknown d4fa9ef0c7 MWL#163: release of row locks in InnoDB during prepare
Port the Facebook patch for releasing InnoDB row locks early to the
MWL#116 framework.

A new --innodb-release-locks-early option (off by default) enables a
prepare_ordered() handlerton method which will release row locks and
commit a transaction to memory immediately after successful prepare.

If the server subsequently tries to rollback (ie. due to binlog error),
crashes the server to prevent corrupting the InnoDB state.

mysql-test/r/innodb_release_row_locks_early.result:
  Test case.
mysql-test/t/innodb_release_row_locks_early-master.opt:
  Test case.
mysql-test/t/innodb_release_row_locks_early.test:
  Test case.
sql/log.cc:
  Add DEBUG_SYNC points for testing.
storage/xtradb/handler/ha_innodb.cc:
  Release locks during prepare phase if --innodb-release-locks-early.
  Crash the server if we are asked to rollback after releasing locks and
  committing the transaction to memory.
storage/xtradb/include/srv0srv.h:
  Add variable for --innodb-release-locks-early option.
storage/xtradb/include/trx0sys.ic:
  If --innodb-release-locks-early, treat a transaction as committed to memory
  as soon as it enters the TRX_PREPARED state.
storage/xtradb/srv/srv0srv.c:
  Add variable for --innodb-release-locks-early option.
2010-11-03 17:07:08 +01:00
..
2009-02-10 16:27:35 +03:00
2009-08-20 14:30:59 +02:00
2010-02-25 23:13:11 +04:00
2010-01-15 17:27:55 +02:00
2010-03-04 09:03:07 +01:00
2010-03-09 16:09:32 +01:00
2009-08-10 15:46:20 -03:00
2010-05-26 21:55:40 +03:00
2010-01-15 17:27:55 +02:00
2009-06-01 16:00:38 +04:00
2010-08-27 17:12:44 +03:00
2010-10-19 15:58:35 +02:00
2010-08-27 17:12:44 +03:00
2009-02-03 14:45:17 +01:00
2009-05-06 15:00:14 +05:30
2010-01-15 16:58:25 +01:00
2010-10-19 15:58:35 +02:00
2010-09-12 21:25:57 -07:00
2010-09-26 09:12:34 -07:00
2009-03-16 20:54:50 +01:00
2010-09-06 02:15:34 +03:00
2010-04-28 14:52:24 +02:00
2009-10-28 09:52:34 +02:00
2010-09-06 02:15:34 +03:00
2009-12-17 12:06:36 -08:00
2009-10-04 01:20:51 +02:00
2010-09-06 02:15:34 +03:00
2009-02-19 18:22:28 +01:00
2010-09-20 15:17:59 +02:00
2010-10-19 15:58:35 +02:00
2009-11-06 17:54:19 +03:00
2009-12-10 17:38:01 +02:00
2009-02-03 14:45:17 +01:00
2010-03-12 11:52:38 +01:00
2010-03-12 11:52:38 +01:00
2009-09-08 00:50:10 +04:00
2009-06-10 01:11:33 +04:00
2009-10-27 14:09:36 +04:00
2010-04-30 15:27:17 +04:00
2009-06-09 17:08:46 +02:00
2010-08-02 12:01:24 +03:00
2009-11-27 18:10:28 +02:00
2009-06-10 11:58:36 +03:00
2010-10-19 15:58:35 +02:00
2010-08-02 12:01:24 +03:00
2009-02-09 22:00:15 +01:00
2010-09-11 08:20:35 -07:00
2009-02-19 18:24:25 -05:00
2010-10-19 15:58:35 +02:00
2009-02-14 20:14:10 +03:00
2010-04-28 14:52:24 +02:00
2010-09-20 15:17:59 +02:00
2010-08-13 14:18:46 +03:00
2009-10-04 01:20:51 +02:00
2010-08-02 12:01:24 +03:00
2010-09-11 08:20:35 -07:00