-
Notifications
You must be signed in to change notification settings - Fork 98
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
Update MongoDB driver to the 4.7.1 release #290
Conversation
Something is not working right. I ran |
`mvn verify` should do the trick. I'm looking at the failures atm.
Le lun. 8 août 2022 à 13:35, Jeff Yemin ***@***.***> a écrit :
… Something is not working right. I ran mvn test before submitting, but
that skips most of the tests. What's the best way to debug this locally?
—
Reply to this email directly, view it on GitHub
<#290 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALOLNVU6VOWIZM7YXWO43DVYDWHDANCNFSM55WXU4GQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
It's because I don't have a valid Docker environment:
|
@jyemin you can start an external mongo server (e.g I found that with the new version of the driver, we can't go past the test setup phase because a codec for Changing this: vertx-mongo-client/src/main/java/io/vertx/ext/mongo/impl/config/MongoClientOptionsParser.java Lines 22 to 23 in 8207b56
to: private final static CodecRegistry commonCodecRegistry = CodecRegistries.fromCodecs(new StringCodec(), new IntegerCodec(),
new BooleanCodec(), new DoubleCodec(), new LongCodec(), new BsonDocumentCodec(), new DocumentCodec()); seems to do the trick. But I don't understand why it was not needed before and why it is now. Then the test suite passes with the exception of two tests: I will take care of this second problem but would appreciate if you could shed some light on the first one. |
It looks like in scope of this change we inadvertently added a requirement to be able to decode to a I think it's safe to make the change to the CodecRegistry that you suggested, but let me know if you disagree. |
Also note that as part of that change there is a new dependency on Project Reactor |
Ok, I need to discuss this with the rest of the team. Thanks for the heads-up. Do you know why a high-level RS library was required? Has Mutiny Zero been considered as an alternative? |
We did not consider Mutiny Zero. Thanks for the heads up. I opened JAVA-4704 to track future work to consider it, before we push Project Reactor down into the core of the driver. |
@tsegismont what do you think? Can this be merged? |
@tsegismont Can you please update us on this PR? Our team is interested as well and ready to help if anything needed |
Closing, superseded by #292 @agafox this new version brings a dependency to Project Reactor and we are not sure yet about the consequences across the stack. The work continues in the new PR but it might not make it to 4.3.4. You could patch the Mongo Client temporarily with https://patch-diff.githubusercontent.com/raw/vert-x3/vertx-mongo-client/pull/292.patch until we sort things out. |
Fixes #289