Repository navigation
Behavior changes
- New
MetadataHealthycondition onGarageCluster. It goesFalse(DatabaseErrors/WorkerErrors) and emits aMetadataUnhealthyWarning event when a node's metadata DB or its snapshot/Merkle workers keep failing, for example a corrupt Sqlite DB. It returns toTruewith aMetadataHealthyevent on recovery. It does not gateReadyand adds no new Admin API calls. See #704. Ready,HealthyandAvailableare no longerTruewhile Garage has no usable layout. Before, a cluster whose first layout had not been applied reported all three even though Garage rejected every S3/K2V request withLayoutNotReady. See #697.- Federation now refuses to import roles across a replication-factor mismatch. Garage discards layouts from peers with a different
replication_factor. The operator now stops with aFederationReplicationFactorMismatchWarning event instead of applying them or waiting forever. Set the samespec.replication.factoron every site. See #701. - Admission rejects storage-node
capacitybelow 1Ki on create or when the spec changes (the v1beta1 GarageNode webhook). A negative capacity also no longer wraps into an enormous value in the controller. Existing objects can still get finalizer, annotation and deletion updates. See #700. - Table-sync nudge for the Garage v2.6.0 lost wake-up. When a draining layout version is stuck because a node's sync workers sit idle, the operator launches a
Tablesrepair on that node, at most once per 5 minutes and twice per node per layout version, and emits aTableSyncNudgedNormal event. See #699.
Bug Fixes
- name the pod in node alerts and alert once per Garage cluster in #695 by @florissmit10
- do not report Healthy/Available while Garage has no usable layout in #697 by @rajsinghtech
- unblock node retirement on stale inLayout and exempt-node rollout re-list (fixes #696) in #698 by @rajsinghtech
- nudge Garage table sync stalled by the v2.6.0 lost wake-up in #699 by @rajsinghtech
- reject non-positive and sub-1Ki storage capacity before the uint64 cast in #700 by @rajsinghtech
- refuse role import when sites run different replication factors in #701 by @rajsinghtech
- finish the redundancy tables stage when full syncs run back to back (fixes #702) in #703 by @kbpersonal
- void back-to-back full-sync counts on a Garage restart or layout change in #705 by @rajsinghtech
Features
- surface a corrupt metadata DB as a
MetadataHealthycondition (#604), including a new troubleshooting section on recovering a node with a corrupt metadata DB, in #704 by @rajsinghtech
Miscellaneous
Release
- bump chart and docs to v0.9.7 in #706 by @rajsinghtech
Full Changelog: v0.9.6...v0.9.7