Skip to content

Releases: elastic/go-txfile

0.0.8

03 Apr 18:20
b222776
Compare
Choose a tag to compare

Changed

  • Relax build tags to compile on other platforms out of the box, if supported by our dependencies. PR #44

0.0.7

03 Jan 16:54
4acb750
Compare
Choose a tag to compare

Added

  • Add FlagWaitLock to wait on Open until the file lock can be acquired. PR #42

Changed

  • Create separate lock file on non windows systems. PR #42

Fixed

  • Open now by default returns an error if the file lock can not be acquired. PR #42

0.0.6

24 Jan 17:29
fa3d87c
Compare
Choose a tag to compare

Fixed

  • Fix flush callback not being executed on success. PR #34

0.0.5

23 Jan 13:13
c1b61de
Compare
Choose a tag to compare

Fixed

  • Panic on atomic operation (arm, x86-32) and File lock not released when panic occurs. PR #31

0.0.4

20 Jan 01:30
6ea1d41
Compare
Choose a tag to compare

Added

  • Added Observer to txfile for collecting per transaction metrics. PR #23
  • Make file syncing configurable. PR #29
  • Added Observer to pq package for collecting operational metrics. PR #26

Changed

  • Queue reader requires explicit transaction start/stop calls. PR #27

v0.0.3

07 Aug 16:53
389b527
Compare
Choose a tag to compare

Fixed

  • Fix build for *BSD. PR #20

v0.0.2

03 Aug 22:24
6599714
Compare
Choose a tag to compare

Added

  • Add (*pq.Reader).Begin/Done to reuse a read transaction for multiple reads. PR #4
  • Add Flags to txfile.Options. PR #5
  • Add support to increase a file's maxSize on open. PR #5
  • Add support to reduce the maximum file size PR #8
  • Add support to pre-allocate the meta area. PR #7
  • Improved error handling and error reporting. PR #15, #16, #17, #18
  • Begin returns an error if transaction is not compatible to file open mode. PR #17
  • Introduce Error type to txfile and pq package. PR #17, #18

Changed

  • Refine platform dependent file syncing. PR #10
  • Begin methods can return an error. PR #17

Fixed

  • Windows Fix: Add missing file unlock on close, so file can be reopened and locked. PR #11
  • Windows Fix: Can not open file because '' can not be locked right now. PR #11
  • Windows Fix: Max mmaped area must not exceed actual file size on windows. PR #11

v0.0.1

29 Mar 16:54
Compare
Choose a tag to compare
Fix test max file size