8000 Change tx driver handling. by DGuhr · Pull Request #10378 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

Change tx driver handling. - #10378

Merged
pedroigor merged 1 commit into
keycloak:mainfrom
DGuhr:iss10191_db_driver_xa
Feb 22, 2022
Merged

pedroigor merged 1 commit into
keycloak:mainfrom
DGuhr:iss10191_db_driver_xa

Conversation

@DGuhr
@DGuhr DGuhr commented Feb 22, 2022 •
Copy link
Copy Markdown
Contributor

Introduce a non-tx driver for the vendors and map based on new build option transaction-tx-enabled

Closes #10191 and others.

@DGuhr
DGuhr force-pushed the iss10191_db_driver_xa branch 2 times, most recently from ab09df8 to c76fabe Compare February 22, 2022 11:16
@pedroigor pedroigor left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What about the database tests? We have one using non-xa for MSSQL and I think it should be updated.

And we probably want to update another database test too such as mysql or postgres?

@DGuhr
DGuhr commented Feb 22, 2022 •
Copy link
Copy Markdown
Contributor Author

@pedroigor for updating existing test: sure, done. but the process is the same, we have a configuration test covering the mechanism and one "smoke" test using mysql with a non-xa driver. imo this suffices, but yes I can add more tests. Then again, a meaningful test would be to really spin up a database like mariadb_galera in a testcontainer that can only be used with non-xa. Should I work on that instead? Shouldn't be that hard I think. I have a working setup here: https://gist.github.com/DGuhr/59c17fc6ec461a5ec3421fa4bb8eacd8 I just want to avoid running too many tests testing kind of the same thing, as the time of the testsuite run is pretty high. but not sure.

@DGuhr
DGuhr force-pushed the iss10191_db_driver_xa branch 3 times, most recently from 3a02c86 to de562c9 Compare February 22, 2022 11:45
Comment thread docs/guides/src/main/server/db.adoc Resolved
@pedroigor
Copy link
Copy Markdown
Contributor

@DGuhr More tests better. But we can do that as a follow-up because the mechanics are already being covered at some degree.

@DGuhr
DGuhr force-pushed the iss10191_db_driver_xa branch from de562c9 to 6015054 Compare February 22, 2022 12:01
Introduce a non-tx driver for the vendors and map based on new build option transaction-tx-enabled

Closes keycloak#10191 and others.

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
@DGuhr
DGuhr force-pushed the iss10191_db_driver_xa branch from b4e6945 to a654d96 Compare February 22, 2022 14:30
@mcattle
mcattle commented Mar 21, 2022
Copy link
Copy Markdown

Is there a (rough) ETA on the next release that includes this change?

@DGuhr
DGuhr commented Mar 22, 2022
Copy link
Copy Markdown
Contributor Author

@mcattle rough ETA is always hard. but considering we did most of the backports for 17.0.1 yesterday, including this fix, let's say "shortly. very shortly." :)

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.

Quarkus-based distribution cannot use MariaDB with Galera replication due to XA transactions being unsupported

3 participants

0