Documentation

VLite 0.7.11 upgrade and rollback

VLite 0.7.11 adds an opt-in, unqualified automatic-failover supervisor with an off-by-default switch in the dashboard, a dashboard view of the server's HA role and replication status, and fixes to the experimental high-availability building blocks introduced in 0.7.9 and first published in 0.7.10. Check published releases for downloadable artifacts; a Git tag alone does not publish them.

The database, admin-state, memory-bindings-v1 and recovery-bundle formats are unchanged from 0.7.10. No data migration is required. With none of the HA commands, flags or files, a server runs exactly as 0.7.10 does. No benchmark campaign was run for this patch; earlier measurements do not measure 0.7.11.

This is not production HA. Automatic failover is unqualified: the failover drills and loss-report review of GATE-005 have not passed, and when it is on, recent commits can be lost without a person reviewing the loss report. There is still one writer per database and no qualified RPO, RTO or availability SLO. Read Opt-in HA operations on Azure Container Apps before trying any of it, and only in an isolated environment.

What is new

Automatic failover supervisor (unqualified, off by default)

vlite-server failover auto --config <json> runs an operator-started supervisor that probes the writer's /ready. After a configured number of consecutive failures for the same authority epoch, it fences the old writer with an operator-supplied command, takes a loss report and transfers writer authority exactly as failover execute does, then optionally starts a replacement. It makes one attempt and exits. Nothing changes unless the switch is on and a supervisor is running.

The private config, its limits, every hold and abort reason, and the back-out procedure are in Automatic failover and the API reference. Run exactly one supervisor per authority target, and turn the switch off before any planned maintenance, restart or manual failover of the writer.

Dashboard: server role and replication

The live monitor gains a Server role and replication panel built on GET /v1/admin/serve-status. It shows the configured role, write behavior, draining, data position, archive health and reader freshness. With agent memory on, sign-in and this panel still work while metrics stay off. The dashboard shows status and the automatic-failover switch; it does not perform failover.

Gateway, archive and harness fixes

Upgrade

Verify release checksums and back up the database, private bindings file and admin state. Stop 0.7.10 before starting 0.7.11; keep one writer per database file. Preserve existing authentication, durability, proxy, storage and memory settings. No HA feature, including automatic failover, is enabled by the upgrade. Keep a separate dashboard image at the same version as the API.

When upgrading from 0.7.8 or earlier, also read the 0.7.9 upgrade notes.

Rollback

Before rolling back, turn the automatic-failover switch off with vlite-server failover policy disable and stop every supervisor. Then stop 0.7.11 before starting 0.7.10. Formats are compatible; no reverse migration is required. 0.7.10 ignores auto-failover.json and has neither the supervisor nor the dashboard panels. For earlier rollback targets, follow the 0.7.10 rollback guidance.

Compatibility and known limits

The 0.7.9 limits apply, except that an unqualified automatic failover now exists and the dashboard shows HA status. In short:

View or edit this page on GitHub ↗