-
Notifications
You must be signed in to change notification settings - Fork 88
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
fix: duplicate entry for key 'gf_versions_uniq_index' #2720
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not explain why we do find 0 versions here, but then fail to create a version.
Have you been able to reproduce the issue?
Here's my case to reproduce this issue:
|
f1ca498
to
f9776ed
Compare
Signed-off-by: Luka Trovic <[email protected]>
Signed-off-by: Luka Trovic <[email protected]>
f9776ed
to
97dcb00
Compare
Read- write split? If it's a clustered setup there's no guarantee a write will have propagated to all nodes by the time we read, no? |
This case might occur, but only if group version records were not created (or already deleted) somehow. The group version record should be created right after a file updated. |
I found the issue. The version backend is given a broken fileinfo in the case the Luka described. This leads to an incorrect query which returns no results, and explain that we then fail to insert an entry as it already exists. Closing in favor of #2758 |
No description provided.