Quader Docs 0.176.0

Storage

See whether every blob survives the loss of a store, what Quader encrypts, how stored data are checked and what went wrong.

On this page

The connections are configuration, config.storage.connections (Configuration keys); the page shows them and changes none. Its acts (Count now, Run the reconciliation now, Scrub now, Check again, Acknowledge) delete nothing and are audited. Adding, draining and removing a connection: Maintenance.

The summary

Who
settings:read (admin, security-admin, auditor) reads; settings:write (admin) runs the page's acts
Where
Admin area › Settings › Storage
Tile States, best first
Connections Healthy, Degraded (one unreachable on some replica, or detached), Unreachable
Availability Redundant (every blob on every connection), Catching up, At risk (blobs on one connection while another is out), One store
Encryption Encrypted (by Quader on every connection), Partly, Provider only (server-side encryption), Off
Integrity Verified, Checking, Behind, Repairing, Damaged (a blob without a whole copy)
Problems None, Resolved, Open, Ongoing, over the period chosen beside the title (24 hours to a year, 30 days unless chosen)
Stored The stored bytes and blobs

One store and Off are no faults: one store without Quader's encryption is the plain setup. The page reads again every 30 seconds while seen; copies, scrub coverage and damage come from the hourly task storage-summary, which Count now runs at once. The history is kept for storage.history.retention.

Connections

One row per connection in the order of the configuration, which is the order of uploads and of reads. State says Active, Filling (a new connection the reconciliation fills), Draining, Drained, Detached or Unreachable on m of n replicas. Use shows the stored bytes against the capacity you stated, Nearly full from 80 %; Quader refuses no upload for it. The chevron opens each setting of the connection with its key, never a credential.

Availability

Quader keeps every blob on every connection without drain. An upload is answered once storage.replication.min_copies copies are written; the task storage-reconcile copies the rest every minute. The section shows the copies per blob, whether the installation survives the loss of any one connection or which loss would cost most, and per connection what only it holds and how far its backlog is behind. A blob that no connection holds whole is listed, not served until a copy returns, and Check again reads its copies again; quader admin storage verify lists every such blob.

Encryption

Line Shows
Quader Since when Quader encrypts a connection (encrypted: true) and with Keyed names; any copy in another format is a fault
Object store The server-side encryption asked for (sse_mode) against what the store reported at its start check; Differs warns
Storage keys, Root key Identifiers and generations only; the keys never leave the database

encrypted: true hides the artifacts from the provider. It costs the signed links to clients from that connection and the CPU of every read and write, and the key ring becomes the key to its blobs, in the bucket and in every backup. It is fixed once the connection holds a copy; switching is a new connection. Keep the export of the storage keys beside the key ring's copy, after the first start and every key change:

shell
kubectl -n quader exec deploy/quader-api -- /usr/local/bin/quader admin storage keys export > quader-storage-keys.json

Leaving a provider of an encrypted connection: Maintenance. What Quader encrypts lists every kind of stored data and says which stays plain, such as the spool on the pod's disk and the database outside its secrets.

Integrity

Every upload keeps its digests, and a whole download is checked against its SHA-256 before its last bytes leave. On an encrypted connection every read, ranges included, is authenticated. The scrub reads each copy whole within the connection's scrub_period and repairs a damaged one from another connection; Scrub now starts it. Findings lists each damaged copy with its state (Open, Acknowledged, Repaired, Found again, Resolved, …). Quader repairs copies itself; Acknowledge only records that you know.

Problems

A strip per connection, one cell per hour to week of the period: red where clients were refused, amber where Quader absorbed a fault. The list below names each outage, failed start check, damaged copy or refused upload, and whether it lasts. A replica records an outage only after five failures in a row opened its circuit.

The last section switches the delivery by signed links of the object store (Download links). Every figure of the page is in the management API: /api/v1/storage/…, /api/v1/system/storage-connections and /api/v1/system/encryption (Management API).