Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WL#10322: Deprecate innodb_undo_logs in 5.7
* Add (deprecated) to innodb-undo-logs description and mention that it is actually setting the number of rollback segments. * Delete “(deprecated)” from innodb-rollback-segments message. * Add a deprecation warning message when innodb_undo_logs is used at runtime and also at startup in a config or the command line. * Return a warning when innodb_undo_logs is used at runtime. * Rename srv_undo_logs to srv_rollback_segments in code * Rename innodb_undo_logs to innodb_rollback_segments in all collections and testcases except sysvars.innodb_undo_logs_basic. * Fix sysvars.innodb_undo_logs_basic to suppress the deprecation warning. Add a restart to exercise the deprecation code for using it at startup. Approved by Satya in RB#15389
- Loading branch information
Showing
26 changed files
with
149 additions
and
62 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
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
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
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
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
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
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
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
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
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
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_max_undo_log_size=10M --innodb_purge_rseg_truncate_frequency=1 --innodb_undo_log_truncate=1 --innodb_undo_logs=35 | ||
--innodb_max_undo_log_size=10M --innodb_purge_rseg_truncate_frequency=1 --innodb_undo_log_truncate=1 --innodb_rollback_segments=35 |
2 changes: 1 addition & 1 deletion
2
mysql-test/suite/innodb_undo/t/trunc_multi_client_01-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_undo_log_truncate=1 --innodb_undo_logs=35 --innodb_max_undo_log_size=10M --innodb_purge_rseg_truncate_frequency=1 | ||
--innodb_undo_log_truncate=1 --innodb_rollback_segments=35 --innodb_max_undo_log_size=10M --innodb_purge_rseg_truncate_frequency=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
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_undo_log_truncate=1 --innodb_undo_logs=35 --innodb_max_undo_log_size=10M --innodb_purge_rseg_truncate_frequency=1 | ||
--innodb_undo_log_truncate=1 --innodb_rollback_segments=35 --innodb_max_undo_log_size=10M --innodb_purge_rseg_truncate_frequency=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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
--innodb_undo_log_truncate=1 --innodb_undo_logs=35 --innodb_max_undo_log_size=10M --innodb_purge_rseg_truncate_frequency=1 | ||
--innodb_undo_log_truncate=1 --innodb_rollback_segments=35 --innodb_max_undo_log_size=10M --innodb_purge_rseg_truncate_frequency=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
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
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
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
Oops, something went wrong.