Contributing GraalVM metadata to Mongo

43 views
Skip to first unread message

clement escoffier

unread,
Oct 11, 2023, 1:34:22 AM10/11/23
to jeff....@mongodb.com, ashni...@mongodb.com, Quarkus Development mailing list
Hello,

I have been discussing a few native issues with the MongoDB extension with the Mongo development team. The discussion started around the management of crypt, but we also discussed the possibility of moving the MongoDB native metadata to Mongo directly. Mongo requires a few substitutions [0] and some configuration [1], so it would ease the maintenance to have them closer to the driver code. 

We would not remove everything. Typically, the DNS resolver we use [2] is Quarkus-specific and thus would not work elsewhere. Same for our extension points [3].

I'm in favor of moving these metadata, but I wanted your opinion. If you have more technical questions, I've CC two Mongo engineers (as my knowledge about Mongo is quite limited).

Clement

Georgios Andrianakis

unread,
Oct 11, 2023, 7:01:36 AM10/11/23
to clement....@gmail.com, jeff....@mongodb.com, ashni...@mongodb.com, Quarkus Development mailing list
Sounds reasonable to me

--
You received this message because you are subscribed to the Google Groups "Quarkus Development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to quarkus-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/quarkus-dev/CAKW6fieNa6nMHuoip5itq6_zA5utoRgNd8CYmY4wvmHG4zfbEg%40mail.gmail.com.

Loïc MATHIEU

unread,
Oct 11, 2023, 7:51:49 AM10/11/23
to gand...@redhat.com, clement....@gmail.com, jeff....@mongodb.com, ashni...@mongodb.com, Quarkus Development mailing list

Guillaume Smet

unread,
Oct 11, 2023, 8:05:32 AM10/11/23
to clement....@gmail.com, jeff....@mongodb.com, ashni...@mongodb.com, Quarkus Development mailing list
Sounds reasonable but my experience with this is that every time we contributed substitutions/reflection registrations to upstream, we had to ignore them anyway because they were not maintained upstream, mostly because of lack of tests, be they on GraalVM proper, or tests that actually exercise Quarkus (which might require specific tweaks).

So if we do that, let's make sure things are properly tested upstream.

--

clement escoffier

unread,
Oct 11, 2023, 8:42:36 AM10/11/23
to Guillaume Smet, jeff....@mongodb.com, ashni...@mongodb.com, Quarkus Development mailing list
Hello,

I totally agree, Guillaume. That's more of a question for Jeff and Ashni: how could this be set up?

Clement

Loïc MATHIEU

unread,
Oct 18, 2023, 6:43:51 AM10/18/23
to clement....@gmail.com, Guillaume Smet, jeff....@mongodb.com, ashni...@mongodb.com, Quarkus Development mailing list
Hi,

Late feedback but when I upstream some Google Cloud Libraries native stuff to the Google Cloud Library SDK they do add tests on their side for native images. They built several small apps with several frameworks (Quarkus was the first implemented) and test that they work in native.

GraalVM now has testing support so their should be easier way to do this these days without having to depends on Quarkus on MongoDB side.

Reply all
Reply to author
Forward
0 new messages