oceanbase / oceanbase

OceanBase is an enterprise distributed relational database with high availability, high performance, horizontal scalability, and compatibility with SQL standards.
https://open.oceanbase.com
Other
8.22k stars 1.65k forks source link

[Bug]: 4.2.2CE升级4.2.2CE_BP1报错 #2006

Open michael-liumh opened 2 months ago

michael-liumh commented 2 months ago

Describe the bug

Environment

REVISION: 101000012024030709-083a68a2907b6a1a12138c4a9e0994949166bfba BUILD_BRANCH: HEAD BUILD_TIME: Mar 7 2024 10:10:58 BUILD_FLAGS: RelWithDebInfo BUILD_INFO:

Copyright (c) 2011-present OceanBase Inc.

Fast Reproduce Steps(Required)

Steps to reproduce the behavior:

obd cluster upgrade obdemo -c oceanbase-ce -V 4.2.2.1

Expected behavior

顺利升级

Actual Behavior

image [2024-06-16 01:23:37.438] [DEBUG] -- exited code 255, error output: [2024-06-16 01:23:37.438] [DEBUG] Character set '45' is not a compiled character set and is not specified in the '/usr/local/mysql/share/charsets/Index.xml' file [2024-06-16 01:23:37.438] [DEBUG] Character set '45' is not a compiled character set and is not specified in the '/usr/local/mysql/share/charsets/Index.xml' file [2024-06-16 01:23:37.438] [DEBUG] Traceback (most recent call last): [2024-06-16 01:23:37.438] [DEBUG] File "executer27.py", line 51, in [2024-06-16 01:23:37.438] [DEBUG] File "/tmp/10.206.0.2:2882_10.206.0.12:2882_10.206.0.5:2882_10.206.0.13:2882_10.206.0.14:2882_10.206.0.15:2882/ef16f0db100e41625be18924797b9f2bc17967d5/upgrade_checker.py", line 738, in [2024-06-16 01:23:37.438] [DEBUG] raise e [2024-06-16 01:23:37.439] [DEBUG] main.MyError: 'upgrade checker failed with 1 reasons: [compatible is not sync] ' [2024-06-16 01:23:37.439] [DEBUG] [267633] Failed to execute script executer27

Additional context

michael-liumh commented 2 months ago

事实上,我是直接从4.2.2CE升级到4.2.3CE的,只是中间提示缺少4.2.2.1的安装包,所以才添加了4.2.2CE_BP1的包进来


In fact, I upgraded directly from 4.2.2CE to 4.2.3CE, but it was prompted that the 4.2.2.1 installation package was missing, so I added the 4.2.2CE_BP1 package