Skip to content

Releases: goadesign/pulse

pulse v1.4.4

24 Dec 21:36
2f3aa04

Choose a tag to compare

Summary

This release adds a local-only shutdown API for distributed tickers and includes several rmap/pool robustness improvements.

Highlights

  • pool: add (*pool.Ticker).Close() to stop a node’s participation in a distributed ticker without deleting the shared ticker-map entry.
    • Use this for safe local restarts/handoff in multi-node pools.
    • Close() does not close the tick channel (matching time.Ticker semantics).

Full changelog (v1.4.3 → v1.4.4)

  • 2f3aa04 pool: add Ticker.Close
  • 6365d9f pool: cleanup maps on shutdown
  • f9d8f4b rmap: add revisioning and list improvements
  • 6037b55 Bump golang.org/x/net from 0.36.0 to 0.38.0 (#56)
  • 28ed733 rmap: robustness + test Redis config (#63)

Compatibility

  • Backwards compatible: existing Stop() behavior is unchanged (still deletes the shared ticker-map entry).

Links

pulse v1.4.3

15 Dec 07:41
104f627

Choose a tag to compare

Fixes

  • Fix rmap SetAndWait data race: remove the waiter notification channel close and make waiter notifications non-blocking, eliminating a race found by FAIL . [setup failed] in downstream consumers (notably goa-ai registry tests).
  • Fix pool hashing data race: make the Jump Consistent Hash implementation concurrency-safe when routing/rebalancing worker events.

Notes

  • No API changes; this is a bugfix release focused on race-detector correctness and stability under concurrency.

v1.4.2

12 Dec 07:38
a2ebdc3

Choose a tag to compare

What's Changed

  • Fix potential job loss during concurrent worker cleanup/rebalancing under churn
  • Add regression test TestJobLossDuringConcurrentWorkerCleanup to reproduce cascading failure scenario
  • Fix weather example event unmarshalling to correctly error on truncated payloads

Full Changelog: v1.4.1...v1.4.2

v1.4.1

12 Apr 18:39
5ed8559

Choose a tag to compare

What's Changed

  • Fix potential panics caused by an invalid regexp by returning an error by @douglaswth in #53
  • Fix streaming Reader race condition by @douglaswth in #55

Full Changelog: v1.4.0...v1.4.1

v1.4.0

05 Mar 19:01
d79f24b

Choose a tag to compare

What's Changed

  • pool: fix job payload cleanup during shutdown by @raphael in #52

Full Changelog: v1.3.0...v1.4.0

v1.3.0

19 Feb 04:57
2598358

Choose a tag to compare

What's Changed

  • pool: Enhance worker lifecycle management and job reliability by @raphael in #51

Full Changelog: v1.2.0...v1.3.0

v1.2.0

22 Jan 20:58
a19129a

Choose a tag to compare

What's Changed

  • Enforce unique job keys: DispatchJob now returns an error when dispatching a job with a key that already exists
  • Proper support for empty string values in rmap: setting an empty string value then calling Get now returns empty string and true.
  • Update dependencies
  • Adds SetIfNotExists to replicated maps that sets a value only if it isn't already in the map.
  • Protect rmap.SetAndWait against corner cases

Full Changelog: v1.1.0...v1.2.0

v1.1.0

30 Nov 02:31
67b2457

Choose a tag to compare

What's Changed

  • Add back option to set reading block duration to node options by @nitinmohan87 in #46
  • Add a debug log when worker fails to start a job by @raphael in #47
  • Fix a few issues by @raphael in #48

New Contributors

Full Changelog: v1.0.6...v1.1.0

v1.0.6

23 Oct 00:47
be67ad4

Choose a tag to compare

What's Changed

Full Changelog: v0.0.6...v1.0.6

v0.0.6

28 May 22:04
3c9387e

Choose a tag to compare

What's Changed

  • Ensure node.Close and node.RemoveWorker properly stop local jobs by @raphael in #15
  • Update dependencies by @raphael in #16

Full Changelog: v0.0.5...v0.0.6