-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
insert id gets lost for unsharded auto-inc from mysql #2804
Comments
Yikes. Good find. This would be a problem for us, though we run master and can pull in a fix as soon as it's ready |
I feel like this is worthy of a 2.1.1 though |
Yes. It would be good to release the patch. |
I can create a 2.1.1 release. |
The change preserves the insert id coming from mysql autoinc for unsharded tables.
@harshit-gangal Let us know if you're done with the certification. If so, we can cut 2.1.1. Otherwise, we'll wait to see if you run into other issues. |
I am validating 2PC. There is one finding, which we already have discussed that vttablet currently accept one coordinator address. If VTGates are not under service discovery / Load Balancer then there should be a way to add multiple coordinator addresses. We can create a feature request and can work later, if we want to cut 2.1.1 as this is genuine bug. |
Let's wait till you're done with 2PC then, make sure you don't run into any showstoppers. |
@sougou are there any estimates when #v2.1.1 will be released? |
I'll start publishing the 2.1.1 release and only include the auto inc fix. The 2PC validation went fine overall. harshit-gangal found a corner case which could be resolved manually if you run into it: #2850 Sugu will fix that separately and we can do another patch release once he's done with the fix. |
thank you |
https://github.com/youtube/vitess/releases/tag/v2.1.1 is cut and pushed everywhere. I'm closing this issue because it's fixed. |
A recent fix (#2576) accidentally missed the use case where there may still be mysql tables with traditional auto-inc columns.
@harshit-gangal do you need a 2.1 patch for this fix?
The text was updated successfully, but these errors were encountered: