Skip to content
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

New Cottontail API, PolyphenyDB #224

Merged
merged 119 commits into from
Feb 7, 2022
Merged

New Cottontail API, PolyphenyDB #224

merged 119 commits into from
Feb 7, 2022

Conversation

silvanheller
Copy link
Member

@silvanheller silvanheller commented Oct 18, 2021

Major Changes

  • Updated Cottontail DB connector to version 0.13.x
  • Added Polypheny DB connector (experimental)
  • Deprecated ADAMpro connector
  • Refactored DB integration tests to me more in line with Cineast API
  • Changed connection management in Cineast (which is going to be part of a future discussion)

Breaking

  • Versions of Cottontail DB older than 0.13.0 are no longer supported.

Ralph Gasser and others added 30 commits August 25, 2021 17:17
# Conflicts:
#	cineast-core/src/main/java/org/vitrivr/cineast/core/db/cottontaildb/CottontailSelector.java
@ppanopticon
Copy link
Member

ppanopticon commented Feb 4, 2022

I fixed the exists() unit test by changing the query, since I do not have any influence over how and when the causing bug will be fixed in Polypheny DB.

As to handling of connections between Cottontail DB and Polypheny DB: I don't see an inconsistency here. JDBC connections are closed right away after an instance of a Wrapper is closed(). This is a bit different to gRPC, because the general recommendation for ManagedChannels is to keep them open for multiple calls. This is why there is some kind of connection pooling in the CottontailWrapper.

Edit: There was a (masked) problem with MetadataTest due to the wrapper being closed before each test, which means for Polypheny DB, that the JDBC connection is closed and subsequent tests fail (no effect for Cottontail DB).

@ppanopticon ppanopticon marked this pull request as ready for review February 4, 2022 11:26
@ppanopticon
Copy link
Member

I have addressed all the issues. This PR is ready for final review.

I will open an issue regarding DB connection handling in Cineast.

Copy link
Member

@lucaro lucaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks all good, with the minor exception of the changes to the default config.

cineast.json Outdated Show resolved Hide resolved
lucaro
lucaro previously approved these changes Feb 4, 2022
@silvanheller
Copy link
Member Author

LGTM, thanks to everyone for all the work! I've tested this on the VBS data manually a bit and found no issues

@silvanheller silvanheller merged commit c450c76 into master Feb 7, 2022
@silvanheller silvanheller deleted the polyphenydb branch February 7, 2022 14:31
silvanheller added a commit that referenced this pull request Jun 10, 2022
* Upgraded to new Cottontail API
* New Polypheny-DB Connector
* New DB Abstractions
* LSC Import Code which needed the new Cottontail API

Co-authored-by: Ralph Gasser <ralph.gasser@unibas.ch>
Co-authored-by: Loris Sauter <loris.sauter@unibas.ch>
Former-commit-id: c450c76
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants