-
Notifications
You must be signed in to change notification settings - Fork 126
Implement indexes #310
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
Implement indexes #310
Conversation
|
Appears that is out of date with master, can you rebase it? |
Signed-off-by: Manuel Carmona <manu.carmona90@gmail.com>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
This PR adds support for unpacked objects, which made the index contain different objects and not match the result of the query without indexes. A bunch of integration tests for indexes of all tables testing they output the exact same thing as the same query without indexes have been added as well. Because it's super important to ensure the index is closed so it can be released, each index iterator has now a call to `closeIndexOnError`, which closes the index if there is an error or EOF in an iterator, ensure it's *always* closed. Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
6246981 to
1df4314
Compare
|
Done |
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
|
@erizocosmico LGTM |
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.
Having this issue trying to start gitbase: FATA[0000] unable to start database server error="lstat /home/__/gopkg-index/commit_blobs: no such file or directory"
the name of the error path (the table name) changes on each start retry.
|
That's weird, let me investigate |
|
Upgraded go-mysql-server with the fixes for the issues you mentioned |
5876521 to
f1e1c35
Compare
|
Updated go-mysql-server with |
|
@erizocosmico there is something missing from go-mysql-server or can we upload it to latest master version? |
|
I think this is missed: src-d/go-mysql-server#223 |
|
Yes, that was missing, I'll update that |
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
f1e1c35 to
fca56c6
Compare
Closes #253
We should be able to release a version with indexes after this.