-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #1651657, failback from backup for legacy for small BP instance size
- Loading branch information
Showing
5 changed files
with
48 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
include/assert.inc [Small buffer pool instances should use legacy] | ||
call mtr.add_suppression("InnoDB: innodb_empty_free_list_algorithm = 'backoff' requires at least 20MB buffer pool instances."); | ||
SET GLOBAL innodb_empty_free_list_algorithm="backoff"; | ||
ERROR 42000: Variable 'innodb_empty_free_list_algorithm' can't be set to the value of 'backoff' | ||
include/assert.inc [Small buffer pool instances should use legacy] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--innodb-buffer-pool-size=1026M --innodb-buffer-pool-instances=54 --innodb-empty-free-list-algorithm=backoff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--source include/have_innodb.inc | ||
--let $assert_text= Small buffer pool instances should use legacy | ||
--let $assert_cond= @@innodb_empty_free_list_algorithm = "legacy" | ||
--source include/assert.inc | ||
|
||
call mtr.add_suppression("InnoDB: innodb_empty_free_list_algorithm = 'backoff' requires at least 20MB buffer pool instances."); | ||
--error ER_WRONG_VALUE_FOR_VAR | ||
SET GLOBAL innodb_empty_free_list_algorithm="backoff"; | ||
--let $assert_text= Small buffer pool instances should use legacy | ||
--let $assert_cond= @@innodb_empty_free_list_algorithm = "legacy" | ||
--source include/assert.inc |
2 changes: 1 addition & 1 deletion
2
mysql-test/suite/sys_vars/t/innodb_empty_free_list_algorithm_basic-master.opt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
--innodb-buffer-pool-size=20M | ||
--innodb-buffer-pool-size=20M --innodb_buffer_pool_instances=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters