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
MongoDB read preferences by query #13824
MongoDB read preferences by query #13824
Conversation
Thanks for your pull request! The title of your pull request does not follow our editorial rules. Could you have a look?
|
@evanchooly before I finish this one I wanted to have you take on this one. To be able to set read preferences for a query as we discussed on #10909 we need to use the Some day, transaction will arrives to MongoDB with Panache ( see #10097) and it will also allows to set read preferences but at the transaction level so maybe it'll be enought and we can not implement this one. |
...-common/runtime/src/main/java/io/quarkus/mongodb/panache/runtime/CommonPanacheQueryImpl.java
Show resolved
Hide resolved
...-common/runtime/src/main/java/io/quarkus/mongodb/panache/runtime/CommonPanacheQueryImpl.java
Outdated
Show resolved
Hide resolved
...-common/runtime/src/main/java/io/quarkus/mongodb/panache/runtime/CommonPanacheQueryImpl.java
Outdated
Show resolved
Hide resolved
comments inlined. |
a0954ec
to
63e8de2
Compare
63e8de2
to
fb21fdf
Compare
LGTM but it look like you need to run the formatter over the tree. |
fb21fdf
to
b2c6b4c
Compare
@evanchooly thanks, strange I may have forgot to run it on one lib. Should be fixed now. |
Fixes #10909