Skip to content

Release v19.188.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 13:58
61f6e7a

Requires a stop-start deploy: this release cannot share a cluster with any earlier release, so stop every kernel silo before starting the new version. The gRPC client contract and stored data formats stay compatible, so existing clients keep working. The kernel now goes all in on Orleans to cut idle cost and to stay responsive under load.

Added

  • One shared gRPC stream per client connection for all of its reactors and reducers, used automatically when the kernel advertises multiplexed-observation. The .NET client turns it on by default; set MultiplexObservation to false to opt out (part of #6120)
  • Kernel overload metrics (running and pending grain calls, oldest pending call age, open gRPC streams, kernel load status), a degraded readiness state that gives the reason, and an admin Diagnostics query listing the busiest grains (part of #6127)
  • Registration backlog metrics (registration.pending, registration.oldest_pending_age) and a failed-job counter per job type (part of #6127)
  • GC heap size, fragmentation, pause and collection metrics, plus a GC settings experiment harness in the kernel benchmarks (#6112)
  • observers.dormantKinds makes event store subscription observers dormant when idle (#6117)
  • Pattern capture can be switched off per event store or namespace, and its observer goes dormant when quiet (#6118)

Changed

  • Kernel grain payloads use generated Orleans serializers instead of JSON, which cuts CPU and allocations per grain call (part of #6107)
  • Kernel grain contract changes may ship in a minor release marked as a stop-start deploy (#6106)
  • Event types resolve from one immutable registry per event store per silo, and event type lists are shared between grains as immutable sets (#6108)
  • Each projection compiles once per event store and is shared across namespaces; projection definitions are immutable and passed by reference (#6109)
  • Observer definitions come from one immutable registry per event store, and changes reach every silo (#6110)
  • Connected client reactors and reducers no longer hold a grain activation each (#6111)
  • Observers report alerts when their alert state changes, not on every activation, so a healthy woken observer no longer touches alert storage (#6113)
  • The safety net wakes only dormant observers that are behind (#6114)
  • One supervisor per silo replaces the per-activation timers of observers, connected clients, captures, event logs and client keepers (#6115)
  • Observers whose service runs several replicas can become dormant (#6116)
  • Projection registrations are accepted durably and applied in the background; clients wait for the accepted registration instead of the kernel blocking or failing under load (part of #6122)
  • Work on the registration grains is bounded instead of interleaving without limit (#6123)
  • Replay, fast forward, partition retry, partition replay and quarantine clearing return an Accepted outcome at once and run as jobs (#6124)
  • Observers without a connected client do not start catch-up, concurrent catch-up jobs are capped, and the observers furthest behind are admitted first (#6125)
  • Client connect, keep-alive and token issuing no longer wait on grain latency; the keep-alive reports the kernel status (#6126)
  • observers.maxConcurrentRegistrations now defaults to 16 per silo instead of unlimited, so a burst of thousands of reactor and reducer registrations is admitted gradually. Set it to 0 to restore the old behavior (#6082)

Fixed

  • Appends are acknowledged as soon as they are durable. A slow or failed hand-over to observers no longer delays the response or reports the append outcome as unknown (#5246)
  • A failed spill to catch-up and a failed namespace reconcile are retried within seconds with backoff instead of waiting for the watchdog, so observers catch up promptly after a node loss (#5246)
  • Projection join keys, child ordering and array indexers are stored in MongoDB with the same element names whatever naming policy the host configures
  • Two identical operator commands given together start one job instead of two

Removed

  • The IReactor, IReducer and IReducersManager grains and IObserver.GetDefinition (kernel-internal)
  • The unused Orleans streaming package and PubSubStore storage