Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

innodb_track_changed_pages removed as of mysql 8.0.30 breaks bgbackup.sh #47

Open
jdanilson opened this issue Jan 12, 2023 · 0 comments

Comments

@jdanilson
Copy link

We are running bgbackup.sh but it's an older copy as we have modifications therein.

We just updated a bunch of servers to percona server 8.0.30 and found that innodb_track_changed_pages is no longer valid. This is tested within bgbackup.sh and results in an error when the value returns nothing. It's around line 419 as:

bitmaps=$(mysql --login-path=root -BNe "select variable_value from performance_schema.global_variables where variable_name = 'innodb_track_changed_pages'")

if [ $bitmaps = "ON" ]; then

As of mysql 8.0.27 innodb_track_changed_pages is deprecated.
As of mysql 8.0.30 innodb_track_changed_pages is removed

Our fix is to add this before the check:
if [ -z "$bitmaps" ]; then
bitmaps='OFF' # as of 8.0.30 innodb_track_changed_pages is removed and no longer available. this tests for no value returned.
fi

Sorry I don't know how to pull or push code to this group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant