Ruby Driver 1.5.0.rc0 Released

24 views
Skip to first unread message

Kyle Banker

unread,
Nov 18, 2011, 5:24:49 PM11/18/11
to mongo...@googlegroups.com
The MongoDB Ruby driver v1.5.0.rc0 has been released. The gem command will not install release candidates by default, but you can force an install like so:

gem install bson --version 1.5.0.rc0
gem install bson_ext --version 1.5.0.rc0
gem install mongo --version 1.5.0.rc0

Your assistance in testing this new release will be much appreciated. I believe we've gotten all the bugs, but any exercise in your staging environments will only help. Please post comments either here or on JIRA. If no issues are encountered in the next few days, we'll do a full release.

Many thanks for all the bugs reports,
Kyle


Chuck Remes

unread,
Nov 23, 2011, 7:28:13 AM11/23/11
to mongo...@googlegroups.com

I've been running this on OSX, Linux & Windows under both Rubinius and JRuby for the past few days. So far I have not encountered any obvious bugs.

I would like to point out that it's surprising that ReplSetConnection's "refresh_mode" no longer supports the :async property. Was the background refresh a source of the recent problems? It had just been introduced a short time ago, so to see it disappear already was a bit surprising to me.

cr


Kyle Banker

unread,
Nov 23, 2011, 5:03:18 PM11/23/11
to mongo...@googlegroups.com
Hi Chuck,

I appreciate your testing the release. Thanks much!

Yes, I'm quite concerned about the 'async' refresh. Given that you cannot reliably kill a thread in C Ruby (which represents the vast majority of users), I have some serious reservations about releasing the functionality. If the goal of the driver is to be as reliable as possible, I'm not sure having a background thread with so much responsibility (opening lots of sockets, etc.) is such a good idea. So I want to hold off on it for now.

As long as 'sync' refresh isn't called frequently, it shouldn't create any real performance problems. You can always invoke refresh manually via ReplSetConnection#refresh if you don't want automatic sync refresh.

Kyle
Reply all
Reply to author
Forward
0 new messages