Skip to content

Agent Supervisor 0.3.5

Version 0.3.5 keeps a long-running Supervisor service's coordinator working.

Fixed

  • The coordinator persists its whole snapshot on every change, and the journal refuses a snapshot over 4 MiB. Finished records were never dropped, so a service running for about a day reached the bound and its coordinator stopped: every later call failed with "coordinator loop is closed". The snapshot now keeps at most 128 finished runs (with their activities and attempts) and 256 exited processes. Records still in use are always kept.
  • A change that would still exceed the bound drops every finished record and is persisted.
  • When a change cannot be persisted, the service logs why and answers later calls with "coordinator persistence failed; reopen the service to recover" instead of "coordinator loop is closed".

License

Version 0.3.5 is licensed under Apache-2.0. See the repository LICENSE file for the complete terms.