-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
unique key columns is not a subset of shared columns in BuildDMLUpdateQuery on JSON table #1000
Comments
In this case: |
Hi |
All, I'm gonna try looking into it, but this isn't on my immediate priorities as I have other tasks on my list, so please understand if this takes a while. I created openark#26 to investigate. However, I'm blocked on an unexpected CI error described in #1001 If anyone wants to investigate either of the two issues, please feel free. |
I think the solution is relatively straighforward. Still blocked on that CI failure though, #1001 |
Please see openark#26 and test artifact https://github.com/openark/gh-ost/suites/3189193666/artifacts/73602792 |
Hi Shlomi, First, I appreciate your effort and dedication, Thank you! Shabat Shalom |
Fixed downstream by openark#26 Submitted fix upstream as #1004 |
Fixed by #1461 |
Hi
we run gh-ost on MySQL 8.0.22 and got the following error when an UPDATE statement is performed on the table while ghost is running:
ERROR unique key columns is not a subset of shared columns in BuildDMLUpdateQuery
This is the scenario:
while gh-ost is running, run any update on the table, for example:
and gh-ost throws:
ERROR unique key columns is not a subset of shared columns in BuildDMLUpdateQuery
The gh-st command that was run is:
It seems to be here:
if !uniqueKeyColumns.IsSubsetOf(sharedColumns)
gh-ost/go/sql/builder.go
Line 474 in 47d49c6
The text was updated successfully, but these errors were encountered: