From 3728f38ad7a295286c2233f2cb1c4dbd3455c5b3 Mon Sep 17 00:00:00 2001 From: Michael Klishin Date: Sun, 2 Mar 2014 14:57:08 +0400 Subject: [PATCH] Change log updates --- ChangeLog.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ChangeLog.md b/ChangeLog.md index c40e859..4574fdd 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,5 +1,14 @@ ## Changes between 1.8.0-beta1 and 1.8.0-beta2 +### monger.result Use with WriteConcerns is Deprecated + +MongoDB Java driver 2.12.x [no longer guarantees connection affinity](https://github.com/mongodb/mongo-java-driver/releases/tag/r2.12.0-rc0) for thread pool +threads. + +This means that `WriteConcern#getLastError` is no longer a safe from concurrency +hazards. Therefore the use of `monger.result` functions on `WriteConcern` instances +is now **deprecated** in MongoDB Java client and Monger. + ### MongoDB Java Driver Update MongoDB Java driver dependency has been [updated to 2.12.x](https://github.com/mongodb/mongo-java-driver/releases/tag/r2.12.0-rc0).