Bug #108759 | InnoDB multi-primary auto_increment_increment, auto_increment_offset bug | ||
---|---|---|---|
Submitted: | 13 Oct 2022 7:08 | Modified: | 1 Feb 2023 11:22 |
Reporter: | MINJUNG SUN | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Shell AdminAPI InnoDB Cluster / ReplicaSet | Severity: | S3 (Non-critical) |
Version: | 8.0.29, 8.0.30 | OS: | Ubuntu (20.04) |
Assigned to: | CPU Architecture: | x86 | |
Tags: | auto_increment_increment, auto_increment_offset, multi-primary |
[13 Oct 2022 7:08]
MINJUNG SUN
[13 Oct 2022 7:08]
MINJUNG SUN
edit synopsis
[13 Oct 2022 9:19]
MINJUNG SUN
edit Category
[13 Oct 2022 13:26]
MySQL Verification Team
Hi Mr. Sun, Thank you for your bug report. We need additional info from you. We need exactly the steps for fully reproducing this behaviour. That means entire set of SQL statements. We also require full description of the architecture of your Innodb Cluster. Waiting on your feedback.
[13 Oct 2022 14:05]
MySQL Verification Team
Hi, > when members are composed of 8 or 9 what do you mean by this? Composed of 8 or 9 what? Note that you should always setup a Group Replication / InnoDB Cluster with odd (2n+1) number of nodes. Not relevant to this bug but you should always strive to have odd number of nodes. > I've attached detailed test results below Would be better if you attached the whole test too :). You should write exactly what config you used, what number of nodes you have and how you created the cluster (step by step). > This result is different from that announced in the official MySQL documentation. auto_increment_offset looks ok but auto_increment_increment seems not ok. How did you end up with this? Did you create a cluster with 7 nodes and then added a new node (and then another one for 9) or you created cluster with 8 (9) nodes from scratch? Thanks
[17 Oct 2022 8:49]
MINJUNG SUN
We recorded a full test of the Innodb cluster configuration and reported the bug again. Id : 108794 https://bugs.mysql.com/bug.php?id=108794
[17 Oct 2022 19:16]
MySQL Verification Team
Hi, Thanks for clarification. I verified the bug. kind regards
[25 Oct 2022 7:38]
MINJUNG SUN
Hello, When are you going to fix this bug? What minor version are you planning to patch to? This bug is fatal when creating a total of 9 instances when using innodb cluster multi-primary. Please tell me the version to be patched.
[25 Oct 2022 7:39]
MINJUNG SUN
Hello, When are you going to fix this bug? What minor version are you planning to patch to? This bug is fatal when creating a total of 9 instances when using innodb cluster multi-primary. Please tell me the version to be patched.
[31 Oct 2022 13:48]
MySQL Verification Team
Hi, Decision on bug fixing scheduling is strictly internal and not known even to the Bug Verification Team.
[11 Jan 2023 17:32]
Alfredo Kojima
Posted by developer: As a clarification, this issue is not "fatal". Worst case, transactions with identical auto_inc column values executed at the exact same time will conflict and one of them will be rolled back, but consistency is never compromised.
[12 Jan 2023 12:31]
MySQL Verification Team
Thank you, Alfredo ......
[1 Feb 2023 11:22]
Edward Gilmore
Posted by developer: Added the following note to the MySQL Shell 8.0.33 release notes: When adding a member to a cluster, the values of auto_increment_increment and auto_increment_offset were miscalculated and were off by 1. As a result, when adding or rejoining an eighth member to a cluster, the new member was configured with the correct values, while the other seven members continued with the configuration of a seven-member cluster.