Repository navigation
Release v19.154.0
Kernels now start, roll out and hold memory more predictably in production: busy silos wait out startup instead of terminating, start-before-stop rollouts can converge, cold-start load is bounded per silo, idle unsubscribed observers are released, and observer and job state can be monitored (part of #5796).
Added
- Observer state and job progress are published as metrics: failed and quarantined partitions and running state per observer (reported only while an observer needs attention, then as zero for a short while after it recovers), resident observers per event store, namespace and type, running catch-up and replay jobs, catch-up and replay progress per observer, and
cratis.chronicle.event_sequence.append.durationas a histogram in seconds. The maximum number of series per metric can be set withTelemetry:MetricSeriesLimit(#4610) - Opt-in standby for start-before-stop rollouts (
Clustering:SingleWriterLease:Standby). A replacement kernel waiting for the single-writer lease reports ready with aStandbystatus so Azure Container Apps, Cloud Run and Kubernetes rolling updates can stop the old instance. Event processing starts only once the lease is held, client calls during standby fail with a retryable status, andClustering:SingleWriterLease:StandbyStartupTimeoutbounds how long a kernel that holds the lease may keep reporting standby while it starts (#5238) observers:maxConcurrentSubscriptionsbounds how many observer subscriptions and failed-partition recoveries a silo runs at once across all event stores. By default it is sized to the machine's CPUsobservers:idleDeactivationAfterreleases an observer that has no subscription and no pending work after it has been idle for that many seconds (900 by default,0turns it off). Releasing an idle observer frees about 40 KB of memory, and a benchmark inBenchmarks/Chronicle.Benchmarks.Kernelmeasures what an activation retains (#5792)
Changed
cratis.chronicle.observer.successful_observationsnow also counts events delivered by catch-up, replay and retry jobs, tagged withcratis.replay, so dashboards show the throughput of replays and catch-ups as well as live delivery- A required startup step whose calls time out against this silo or an active sibling that is busy catching up now waits with backoff, without counting attempts and while the kernel stays unready, instead of terminating the process after its retries. The wait is bounded by
Startup:BusySiloWaitLimit, two hours by default (#5676) - The store entitlements notice is given once the silo is active instead of before the kernel binds its ports, so a kernel enforcing store entitlements binds and reports liveness while it joins a cluster with a backlog (#4040)
Fixed
- A kernel rollout converges under load: a subscribe that times out against a busy observer is retried on the same stream instead of failing the client's stream, reactor and reducer streams in the .NET client reconnect with a jittered backoff that grows while streams keep failing, failed-partition recovery shares the per-silo bound with subscriptions, and a client using
chronicle+srvkeeps retrying while no kernel is published yet instead of failing its first connect (#4068)