Great Sea Dragons

This morning I released version 1.2.2 of libbson and libmongoc, the libraries that compose the MongoDB C Driver.

This release fixes an edge case where the driver can query hidden secondaries unintentionally. The bug manifests rarely: the hidden node must be in the seed list, and your application must be reading with a non-primary read preference while no primary is available.

(If the hidden node is not in the seed list it is never discovered. If it is in the seed list but a primary is available, the driver trusts the primary's host list, which omits the hidden member.)

This release also includes fixes and improvements to the build system. I'm particularly excited about some factoring I did in our Autoconf and CMake files. Before this, I had to update the libraries' version number in a dozen places. Now the version is defined exactly once.

Links:

Meanwhile, I hope you're trying out the C Driver's 1.3.0 beta, it brings significant features for the imminent MongoDB 3.2 release. As always, if you have an issue with the driver, please open a ticket in Jira in the "CDRIVER" project and we'll respond promptly.

Peace,
A. Jesse Jiryu Davis


Image: Wikipedia