mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Merge 10.3 into 10.4
This commit is contained in:
commit
d3e4fae797
65 changed files with 708 additions and 568 deletions
|
|
@ -1310,6 +1310,16 @@ dberr_t srv_start(bool create_new_db)
|
|||
|| is_mariabackup_restore_or_export());
|
||||
|
||||
|
||||
if (srv_force_recovery) {
|
||||
ib::info() << "!!! innodb_force_recovery is set to "
|
||||
<< srv_force_recovery << " !!!";
|
||||
}
|
||||
|
||||
if (srv_force_recovery) {
|
||||
ib::info() << "!!! innodb_force_recovery is set to "
|
||||
<< srv_force_recovery << " !!!";
|
||||
}
|
||||
|
||||
if (srv_force_recovery == SRV_FORCE_NO_LOG_REDO) {
|
||||
srv_read_only_mode = true;
|
||||
}
|
||||
|
|
@ -1828,7 +1838,11 @@ files_checked:
|
|||
All the remaining rollback segments will be created later,
|
||||
after the double write buffer has been created. */
|
||||
trx_sys_create_sys_pages();
|
||||
trx_lists_init_at_db_start();
|
||||
err = trx_lists_init_at_db_start();
|
||||
|
||||
if (err != DB_SUCCESS) {
|
||||
return(srv_init_abort(err));
|
||||
}
|
||||
|
||||
err = dict_create();
|
||||
|
||||
|
|
@ -1884,7 +1898,10 @@ files_checked:
|
|||
case SRV_OPERATION_RESTORE:
|
||||
/* This must precede
|
||||
recv_apply_hashed_log_recs(true). */
|
||||
trx_lists_init_at_db_start();
|
||||
err = trx_lists_init_at_db_start();
|
||||
if (err != DB_SUCCESS) {
|
||||
return srv_init_abort(err);
|
||||
}
|
||||
break;
|
||||
case SRV_OPERATION_RESTORE_DELTA:
|
||||
case SRV_OPERATION_BACKUP:
|
||||
|
|
@ -2347,11 +2364,6 @@ skip_monitors:
|
|||
<< "; transaction id " << trx_sys.get_max_trx_id();
|
||||
}
|
||||
|
||||
if (srv_force_recovery > 0) {
|
||||
ib::info() << "!!! innodb_force_recovery is set to "
|
||||
<< srv_force_recovery << " !!!";
|
||||
}
|
||||
|
||||
if (srv_force_recovery == 0) {
|
||||
/* In the insert buffer we may have even bigger tablespace
|
||||
id's, because we may have dropped those tablespaces, but
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue