Wednesday, August 08, 2018

2018-08-08 Wednesday - Jepsen.io Benchmark Report on MongoDB 3.4.0-rc3 (Feb 7, 2017)

If you are using MongoDB somewhere in your solution stack, you may be interested in the Feb 7th 2017 report prepared by Jepsen.io

https://jepsen.io/analyses/mongodb-3-4-0-rc3
"In April 2015, we discussed stale and dirty reads in MongoDB 2.6.7. However, writes appeared to be safe; update-only workloads with majority write concern were linearizable. This conclusion was not entirely correct. In this Jepsen analysis, we develop new tests which show the MongoDB v0 replication protocol is intrinsically unsafe, allowing the loss of majority-committed documents. In addition, we show that the new v1 replication protocol has multiple bugs, allowing data loss in all versions up to MongoDB 3.2.11 and 3.4.0-rc4. While the v0 protocol remains broken, fixes for v1 are available in MongoDB 3.2.12 and 3.4.0, and now pass the expanded Jepsen test suite. This work was funded by MongoDB, and conducted in accordance with the Jepsen ethics policy."

You may also be interested in the MITRE CVE (Critical Vulnerabilities database entries)


And finally, I would highly recommend reviewing the CIS Benchmarks (tm) report published by CIS Center for Internet Security

2018-12-04 Update

My friend and colleague Bob Harwood, mentioned that there was an update posted on 2018-10-23

"In February 2017, we discussed data loss and fixes in MongoDB 3.4.0-rc3’s v0 and v1 replication protocols. In this Jepsen report, we will verify that MongoDB 3.6.4’s sharded clusters offer comparable safety to non-sharded deployments. We’ll also discuss MongoDB’s new support for causal consistency (CC) in version 3.6.4 and 4.0.0-rc1, and show that sessions prevent anomalies so long as user stick to majority reads and writes. However, with MongoDB’s default consistency levels, CC sessions fail to provide the claimed invariants"

No comments:

Copyright

© 2001-2021 International Technology Ventures, Inc., All Rights Reserved.