###### 8.0.22 inplace upgrade to 8.0.33 - Affected

-build

 cat docs/INFO_SRC
commit: b24ac7f28bf413fcd8becec8c4e5c2fa8810d093
date: 2020-09-23 14:11:18 +0200
build-date: 2020-09-23 12:38:50 +0000
short: b24ac7f28bf
branch: mysql-8.0.22-release

MySQL source 8.0.22

rm -rf 110194/
bin/mysqld --no-defaults --initialize-insecure --basedir=$PWD --datadir=$PWD/110194 --log-error-verbosity=3
bin/mysqld_safe --no-defaults --mysqld-version='' --basedir=$PWD --datadir=$PWD/110194 --core-file --socket=/tmp/mysql.sock  --port=3306 --log-error=$PWD/110194/log.err --mysqlx-port=33330 --mysqlx-socket=/tmp/mysql_x_ushastry.sock --log-error-verbosity=3  --secure-file-priv="" --local-infile=1  2>&1 &

 bin/mysql -uroot -S /tmp/mysql.sock
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 8.0.22 MySQL Community Server - GPL

Copyright (c) 2000, 2020, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> shutdown;
Query OK, 0 rows affected (0.00 sec)



- In place upgrade to 8.0.32

 bin/mysqld_safe --no-defaults --mysqld-version='' --basedir=$PWD --datadir=/export/home/tmp/ushastry/mysql-8.0.22/110194 --core-file --socket=/tmp/mysql.sock  --port=3306 --log-error=/export/home/tmp/ushastry/mysql-8.0.23/110194/log.err --mysqlx-port=33330 --mysqlx-socket=/tmp/mysql_x_ushastry.sock --log-error-verbosity=3  --secure-file-priv="" --local-infile=1  2>&1 &

 bin/ibd2sdi  /export/home/tmp/ushastry/mysql-8.0.22/110194/mysql.ibd |grep "schema_ref"
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "dd_upgrade_targets_80032",
        "schema_ref": "mysql",
[ERROR] ibd2sdi: Unexpected page type: 0. Expected page type: 17853.


###### 8.0.23 inplace upgrade to 8.0.32 - Issue not seen as reported
- Build

 cat docs/INFO_SRC
commit: c586d55f06bf915d6506e599deb87dbb89f2496a
date: 2020-12-10 06:56:16 +0100
build-date: 2020-12-11 07:43:19 +0000
short: c586d55f06b
branch: mysql-8.0.23-release

MySQL source 8.0.23

- Startup

rm -rf 110194/
bin/mysqld --no-defaults --initialize-insecure --basedir=$PWD --datadir=$PWD/110194 --log-error-verbosity=3
bin/mysqld_safe --no-defaults --mysqld-version='' --basedir=$PWD --datadir=$PWD/110194 --core-file --socket=/tmp/mysql.sock  --port=3306 --log-error=$PWD/110194/log.err --mysqlx-port=33330 --mysqlx-socket=/tmp/mysql_x_ushastry.sock --log-error-verbosity=3  --secure-file-priv="" --local-infile=1  2>&1 &

 bin/mysql -uroot -S /tmp/mysql.sock
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 8.0.23 MySQL Community Server - GPL

Copyright (c) 2000, 2021, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> shutdown;
Query OK, 0 rows affected (0.00 sec)

### Upgrade to 8.0.32

bin/mysqld_safe --no-defaults --mysqld-version='' --basedir=$PWD --datadir=/export/home/tmp/ushastry/mysql-8.0.23/110194 --core-file --socket=/tmp/mysql.sock  --port=3306 --log-error=/export/home/tmp/ushastry/mysql-8.0.23/110194/log.err --mysqlx-port=33330 --mysqlx-socket=/tmp/mysql_x_ushastry.sock --log-error-verbosity=3  --secure-file-priv="" --local-infile=1  2>&1 &

-
 bin/mysql -uroot -S /tmp/mysql.sock
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 8.0.32 MySQL Community Server - GPL

Copyright (c) 2000, 2023, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> \q


mysql-8.0.32]$ bin/ibd2sdi  /export/home/tmp/ushastry/mysql-8.0.23/110194/mysql.ibd |grep "schema_ref"
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",
        "schema_ref": "mysql",