You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #24 from hpidcock/fix-read-concern
#24
For safety, we need to set the readConcern and writeConcern in transactions and ensure readPreference is on the primary.
Merge pull request #20 from hpidcock/master
#20
This PR:\r
- Bumps to github.com/juju/mgo/v3\r
- Fixes all the unit tests (skips a few that don't work in mongo 4.4 or features we don't use i.e. MapReduce)\r
- Improve sstxn retrying on retry-able errors (added error code handling here, will update juju/txn library which has the actual retry logic)\r
- sstxn txn log writes need the same error handling as any other write op.\r
- Improve CommitTransaction and AbortTransaction by bringing across the double-tap from Mongo Driver\r
- Simplify possible Query errors returned to callers by converting net.OpError to io.EOF, this improves test stability too.\r
- Non primary write errors force a cluster sync and discard the primary socket for that session. If there is a current transaction, abort it.