Bug #112148 | Description Failed to upgrade mysql from 8.0.20 to 8.0.34 | ||
---|---|---|---|
Submitted: | 23 Aug 2023 3:34 | Modified: | 23 Aug 2023 12:53 |
Reporter: | qifx qi | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 8.0.34 | OS: | Red Hat (Red Hat Enterprise Linux Server 7.7(Maipo)) |
Assigned to: | CPU Architecture: | x86 (Hygon C86 7375) | |
Tags: | 8.0.34, failed, Hygon, redhat, upgrade |
[23 Aug 2023 3:34]
qifx qi
[23 Aug 2023 12:53]
MySQL Verification Team
Hi Mr. qi, Thank you so much for your bug report. However, we were not able to repeat it. Our MySQL upgrade on Red Hat 7 had no problems what so ever. Hence, there are several possibilities. First one is that your bug is a duplicate of this verified bug: https://bugs.mysql.com/bug.php?id=110810 That bug is private, so you can't read it. Hence, we have to ask you some questions. Our first question is the following one: Have you tried downloading a proper RPM for MySQL and then trying running the upgrade. Our RPM packages are on dev.mysql.com. There are packages for many versions of Red Hat Enterprise Linux. Please, try downloading and installing the one for the RH version 7 !!!!!! Next ...... Let us know, what kind of CPU is Hygon C86 7375 ???? Is it Intel compatible ??? Would be possible for you to post the output of the following shell command? getconf LEVEL1_DCACHE_LINESIZE Next, can you run the following commands: # grep cache_alignment /proc/cpuinfo # cat /sys/devices/system/cpu/cpu0/cache/*/coherency_line_size Maybe there's a bug in glibc, which the outputs from these commands would reveal. Next, please write the following program and name it test.c: #include <unistd.h> #include <stdio.h> int main(int argc, char *argv[]) { int cacheLineSize = sysconf(_SC_LEVEL1_DCACHE_LINESIZE); printf("LEVEL1_DCACHE_LINESIZE: %d\n", cacheLineSize); return 0; } Next, build the test program, as the user root, like this: # gcc -o test test.c Then run it as user root, like this: # ./test Send us also the output from that program. Next, if your CPU is from AMD, let us know whether does your CPU happen to be an older AMD CPU where cpuid only returns cache details in the 0x80000005 leaf but not in the 0x8000001d leaf? In order to find out that, run program `cpuid` with no options, then with all other options, one by one, including `cpuid -1` and `cpuid -r`. The above feedback would be fine as a start. However, do not forget to use a proper RPM for RH 7 from our GPL download pages.