Details
-
New Feature
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
None
Description
When doing server recovery, the active transactions will be rolled
back by InnoDB background rollback thread automatically. The
prepared transactions will be committed or rolled back accordingly
by binlog recovery. Binlog recovery is done in main thread before
the server can provide service to users. If there is a big
transaction to rollback, the server will not available for a long
time.
It is better to make the prepared transactions to be rolled back by the background rollback thread.
Attachments
Issue Links
- causes
-
MDEV-35265 wsrep.wsrep-recover, wsrep.wsrep-recover-v25 fail on assertion !wsrep_is_wsrep_xid(&trx->xid)
-
- Closed
-
- relates to
-
MDEV-34909 DDL during SET GLOBAL innodb_log_file_size may hang when using PMEM
-
- Closed
-
I have run a general InnoDB mixed workload performance test on commit e5145b22629 in branch bb-11.6-
MDEV-33853and its predecessor commit 9811d23b6d0. The binlog was enabled in all tests; once async and once sync:MDEV-33853.pdf
The only worrying result is for t_oltp_writes_innodb (OLTP write-only) with sync binlog. There are also differences in t_oltp_full_innodb (OLTP read/write) but they are in favor of
MDEV-33853. And for t_oltp_insert_innodb_batched (10x INSERT per trx) - those are probably bogus. The numbers are generally quite unstable for async binlog. I will repeat the test to see if it's reproducible ...