Re: Necessity of upgrading MongoDB Java driver version (currently 2.7.3) for new server version (2.2)

45 views
Skip to first unread message

Gianfranco

unread,
Oct 9, 2012, 11:56:08 AM10/9/12
to mongod...@googlegroups.com
The Java Driver implements features and/or changes to operate with the MongoDB Server.

Check the Release notes of the driver:

And the Compatibility and Behavioral changes of the server:

Of course before upgrading any component on a production server is always recommended doing on a similar test environment and check that everything aspect of the application runs as expected.

On Tuesday, October 9, 2012 4:40:20 PM UTC+1, Kenneth L. wrote:
Hi:

I tried searching on this groups and on the Internet at large, and I couldn't find anything.  Apologies if this question has been addressed previously either here or elsewhere.

I have several servlets in a live environment that are connecting to server 2.0.6, with the java 2.7.3 client.  I'd like to upgrade to server 2.2 to take advantage of write lock improvements.  Server and sharding considerations aside, I'm wondering if it is necessary to update the java client version to the latest (2.9.0) or if it is OK to remain on 2.7.3?

In the long term, having to upgrade client versions will be rather inconvenient each time the server version is upgraded.  Are there notes anywhere, or a table indicating what server versions a given java driver version supports?  Or is it safe to assume that java drivers can interface with any future server version unless explicitly indicated?

Thanks!

Kenneth L.

unread,
Oct 9, 2012, 3:42:37 PM10/9/12
to mongod...@googlegroups.com
Thanks for the info, Gianfranco!  I don't know how I missed the compatibility changes section of the release notes... must've read it before my morning coffee.
Reply all
Reply to author
Forward
0 new messages