[MDEV-28020] CHECKSUM TABLE calculates different checksums Created: 2022-03-07 Updated: 2022-04-26 Resolved: 2022-04-26 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Affects Version/s: | 10.5.15, 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9 |
| Fix Version/s: | 10.2.44, 10.3.35, 10.4.25, 10.5.16, 10.6.8, 10.7.4 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Marc | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
linux |
||
| Issue Links: |
|
||||||||
| Description |
|
I have a master slave setup. And two tables calculate different checksums, while the data seems be in sync.
Empty set (2.461 sec)
Empty set (2.418 sec) Any other command to check for differences in tables? |
| Comments |
| Comment by Marc [ 2022-03-07 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
made a copy of both tables and put them together in a new database - so I'm able to reproduce it, with the actual data. | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2022-03-09 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
Is there any way I can repeat it? Are your tables big, can you share them? | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Marc [ 2022-03-09 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
not really big: 23M, 31524 entries. The table contains user data (like username, password-hash, ..). So I can't share them.
| |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2022-03-09 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
Okay. Please, show the output of SHOW CREATE TABLE. May be if you do UPDATE a SET colname='' for all user data columns you'll be able to get rid of personal data while still having checksum difference? | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Sergei Golubchik [ 2022-03-10 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
Hold on, we'll try to reproduce based on that | |||||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Lena Startseva [ 2022-03-24 ] | |||||||||||||||||||||||||||||||||||||||||||||||||
|
The problem is repeated in all active versions: 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9
Failed with error:
|