Page MenuHomeSolus

Update python-pymongo to 3.8.0
ClosedPublic

Authored by maverick1 on Apr 26 2019, 3:20 PM.

Details

Summary

Update python-pymongo to 3.8.0.
Changes

  • Fixed a bug in retryable writes where a previous command's "txnNumber" field could be sent leading to incorrect results.
  • Fixed a memory leak of a few bytes on some insert, update, or delete commands when running against MongoDB 3.6+.
  • Authentication fails when SCRAM-SHA-1 is used to authenticate users with only MONGODB-CR credentials.
  • A millisecond rounding problem when decoding datetimes in the pure Python BSON decoder on 32 bit systems and AWS lambda.
  • Support for single replica set multi-document ACID transactions.
  • Support for wire protocol compression
Test Plan

Ran mongodb and imported pymongo and did some changes to database as per instructions given in README.md

Diff Detail

Repository
R4309 python-pymongo
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
maverick1 created this revision.Apr 26 2019, 3:20 PM
maverick1 requested review of this revision.Apr 26 2019, 3:20 PM
JoshStrobl requested changes to this revision.May 1 2019, 12:49 PM
JoshStrobl added a subscriber: JoshStrobl.

Sorry, looks like the initial arc patch was not correctly landed and was sitting in the arcpatch-D624 branch. I've resolved this and merged it into the master branch. Please rebase your work.

This revision now requires changes to proceed.May 1 2019, 12:49 PM
maverick1 updated this revision to Diff 14893.May 1 2019, 1:06 PM

Rebased to master branch

JoshStrobl accepted this revision.May 1 2019, 1:19 PM

Yea, this looks saner. Thanks!

This revision is now accepted and ready to land.May 1 2019, 1:19 PM
This revision was automatically updated to reflect the committed changes.