Skip to content

Migrate raptor connector to MySQL Connector/J 8.x#11450

Merged
hashhar merged 1 commit intotrinodb:masterfrom
hashhar:hashhar/mysql-8
Apr 27, 2022
Merged

Migrate raptor connector to MySQL Connector/J 8.x#11450
hashhar merged 1 commit intotrinodb:masterfrom
hashhar:hashhar/mysql-8

Conversation

@hashhar
Copy link
Copy Markdown
Member

@hashhar hashhar commented Mar 13, 2022

NOTE: Depends on airlift/airlift#986 and will require a new airlift release

Description

Upgrading to Connector/J 8.x allows using both MySQL 5.x and 8.x with
raptor plugin.

Related issues, pull requests, and links

Fixes #8302

Documentation

(x) No documentation is needed.

Release notes

(x) No release notes entries required.
( ) Release notes entries required with the following suggested text:

pom.xml Outdated
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Assuming that's the airlift version which includes airlift/airlift#986.

This PR is blocked until newer airlift is released.

@electrum
Copy link
Copy Markdown
Member

Can you see what it would look like to inline the necessary configuration code for H2 and MySQL? It would be better if we can deprecate the dbpool module.

@hashhar
Copy link
Copy Markdown
Member Author

hashhar commented Mar 15, 2022

I'll take a look @electrum. If it's a larger lift I'd create a separate PR.

Upgrading to Connector/J 8.x allows using both MySQL 5.x and 8.x with
raptor plugin.
@hashhar
Copy link
Copy Markdown
Member Author

hashhar commented Apr 26, 2022

rebased. I couldn't see way to remove dbpool without loosing features (i.e. connecting to sharded MySQL setup).

@hashhar hashhar merged commit b892316 into trinodb:master Apr 27, 2022
@hashhar hashhar deleted the hashhar/mysql-8 branch April 27, 2022 06:55
@github-actions github-actions bot added this to the 379 milestone Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Update raptor-legacy to use mysql-connector version 8.0.22

3 participants