Skip to content

Releases: juju/txn

v3.2.0

09 Mar 02:24
7d6a18c

Choose a tag to compare

When creating a txn runner, accept the passed in parameter requesting server side txns at face value and do not attempt to do another check based on mongodb version. It is the caller's responsibility to ensure compatibility.

v3.1.0

04 Mar 04:07
3ff0283

Choose a tag to compare

When doing the check to see if server side txns are supported, any error querying the mongodb build info was being ignored.

v2.1.1

07 Jun 03:28
393bb2b

Choose a tag to compare

What's Changed

Full Changelog: v2.1.0...v2.1.1

v2.0.0

13 Jul 09:48
a47ef96

Choose a tag to compare

What's Changed

  • Expose PruneTxns in order to allow external tools to use it by @mjs in #16
  • Add progress logging while pruning transactions by @mjs in #17
  • Retry errors that finish with 'unexpected message'. by @howbazaar in #18
  • Add export_test.go by @howbazaar in #19
  • Use mgo.Collection.Bulk to prune docs by @axw in #20
  • Add RunTransaction observer by @axw in #21
  • Use disk-based pruning strategy by @mjs in #22
  • Make prune log output consistent by @mjs in #23
  • Cleanup txn.Stash as part of regular pruning by @jameinel in #24
  • Cleanup all collections by @jameinel in #25
  • Don't create transactions that have no operations. by @jameinel in #27
  • Abstract out "Completed Transaction" functionality by @jameinel in #26
  • Properly test no-op does the right thing, as does real errors. by @jameinel in #28
  • Add a command-line utility to clean and purge txns. by @cmars in #30
  • Add logging information about the pruning result. by @jameinel in #29
  • Turns out it isn't safe to use aggregation in 2.4 at all. by @jameinel in #31
  • support using RemoveAll($in) instead of Bulk. by @jameinel in #32
  • Various cleanups by @mjs in #35
  • track what is actually removed by Oracle.RemoveTxns() by @jameinel in #34
  • Expose a NewestTime for PruneOptions. by @jameinel in #36
  • Handle Bulk.Run() result being nil by @mjs in #37
  • When observing transactions include the run Duration. by @jameinel in #40
  • Change Clock back to being optional. by @jameinel in #41
  • Allow passing in a parameter to limit the number of transactions evaluated by @jameinel in #42
  • Expose the batch size and number of batches. by @jameinel in #43
  • No need for uint64 and it makes default printing ugly by @jameinel in #44
  • Use juju/clock package for the clock. by @howbazaar in #45
  • Incremental prune by @jameinel in #46
  • 2.4 prune options by @jameinel in #47
  • Pass the transaction attempt by @SimonRichardson in #48
  • Revert "Merge pull request #48 from SimonRichardson/txn-attempt" by @SimonRichardson in #51
  • Add testing.SetFailIfTransaction. by @jameinel in #49
  • Retry i/o timeouts. by @howbazaar in #52
  • Thread through the transaction by @SimonRichardson in #50
  • juju/txn with server side transactions by @jameinel in #55
  • Add help text to explain why hooks do not run by @timClicks in #56
  • Properly handle when RemoveAll returns an error. by @jameinel in #57
  • Use github.com/juju/mgo/v2 and convert to go mod by @wallyworld in #58
  • Add extra txn backoff tuning parameters for sstxn by @wallyworld in #59
  • Make retry fuzz a percent and use durations instead of floats by @wallyworld in #60
  • Update to go 1.17 and latest upstream by @wallyworld in #61
  • Add support for no change log, used when upgrading to SSTXN. by @hpidcock in #62

New Contributors

Full Changelog: https://github.com/juju/txn/commits/v2.0.0