go-txfile

APACHE-2.0 License

Stars
4
Committers
7

Bot releases are hidden (Show)

go-txfile - 0.0.8 Latest Release

Published by urso over 4 years ago

Changed

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

Published by urso almost 5 years ago

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
go-txfile - 0.0.6

Published by urso over 5 years ago

Fixed

  • Fix flush callback not being executed on success. PR #34
go-txfile - 0.0.5

Published by urso over 5 years ago

Fixed

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

Published by urso over 5 years ago

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
go-txfile -

Published by urso about 6 years ago

Fixed

  • Fix build for *BSD. PR #20
go-txfile -

Published by urso about 6 years ago

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
go-txfile -

Published by urso over 6 years ago

Package Rankings
Top 4.67% on Proxy.golang.org
Badges
Extracted from project README
Build Status
Related Projects