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
[dolt migrate]: migration failed with conflicts #4790
Comments
I went to check the code, I found this err will be throwed when [HasConflicts] fn is called. but it still show failed with conflicts (auth). I am a frontend programmer, “go” language is hard to read for me. |
Hey @druvv , @mango-lzp has been very patient working through system table performance improvements with me. Would you mind helping them migrate this repo? I think they will see a happy speed up in some of their join queries on |
@mango-lzp currently there is no path to migrate conflicts in the history. Conflict storage works very differently in the old and new storage formats. Are you hoping to migrate the conflicts for this commit? Or would it be sufficient to drop them on migration? |
Hi @mango-lzp, if you want the migration to work and you don't care about the conflicts themselves you can run this query: dolt filter-branch --all "delete * from dolt_conflicts_auth;" This will delete the conflicts from all branches and commits where you may have had conflicts. After running the above, try |
Hi @andrew-wm-arthur , It suggests that there is a conflict, but I can't see any conflicts in dolt_conflicts table. It is so confusing. |
I tried to run [dolt filter-branch --all "delete from dolt_conflicts_auth;"], but it still failed. |
Hey @mango-lzp, Sorry for the frustration. We're going to add a Thanks, Zach |
@zachmu Thank you very much! I will keep my eyes on it. |
@mango-lzp you can now use |
|
@andrew-wm-arthur @max-hoffman Thanks a lot, I am trying to write shell script to deal with conflicts left over from history. I use --drop-conflicts in another dolt, It did work!. I got a fast query time in log query about 2 sec! Thanks again! |
I can't see any conflicts in this table, and it blocked migration.
I successed migrate in another database, but this one doesn't work.
Am I missed something ?
Thanks to help me!
The text was updated successfully, but these errors were encountered: