Skip to content

Releases: lbp0200/BoltDB

Release v8.1.6

11 Apr 13:04

Choose a tag to compare

Release v8.1.5

11 Apr 00:18

Choose a tag to compare

Release v8.1.4

11 Apr 00:03

Choose a tag to compare

Release v8.1.3

02 Apr 09:26

Choose a tag to compare

Release v8.1.2

02 Apr 09:16

Choose a tag to compare

Release v8.1.1

02 Apr 09:06

Choose a tag to compare

Release v8.1.0

02 Apr 06:42

Choose a tag to compare

Release v8.0.9

28 Mar 19:10

Choose a tag to compare

Release v8.0.8

26 Mar 17:52

Choose a tag to compare

v8.0.8: Fix Redis-compatible transaction/WATCH behavior

Bug Fixes

  • MULTI/WATCH interaction: MULTI no longer clears WATCH state
  • Dirty flag tracking: EXEC now properly checks if watched keys were modified
  • MULTI nested detection: Now correctly errors when MULTI called inside transaction
  • WATCH inside MULTI detection: Now correctly errors when WATCH called after commands queued

Changes

  • Added InTransaction and DirtyKeys fields to TransactionState
  • Added resetTransaction() and markDirtyKeys() helper functions
  • Added dirty key marking to all write commands (SET, INCR, DEL, HSET, etc.)

Files Changed

  • internal/server/handler.go - Transaction handlers
  • cmd/integration/integration_test.go - Tests updated

Test Coverage

  • All transaction tests pass
  • golangci-lint: 0 issues

Full Changelog: v8.0.7...v8.0.8

Release v8.0.7

22 Mar 11:23

Choose a tag to compare