github achtungsoftware/alarik 1.0.0-beta-17

pre-release30 minutes ago

Upgrade notes

  • JWT must be at least 32 bytes; shorter values refuse to boot.
  • Object keys with a path component ending in .obj, .versions or .ecshards are now stored under an escaped file name. On first boot each node renames existing objects once and writes Storage/key-escaping-migrated. The node is not ready until the walk is done; it takes seconds on most stores. Back up Storage/ before upgrading.
  • The erasure-coding layout is now pinned to the store on first boot. Make sure every node still runs the CLUSTER_EC_DATA_SHARDS/CLUSTER_EC_PARITY_SHARDS the data was written with. Changing them later fails boot.
  • Finish upgrading all cluster nodes before draining or decommissioning any.
  • Bucket policies using Condition, NotAction or other unsupported elements are no longer enforced and must be re-created without them.
  • Browser clients talking to the S3 API directly now need a bucket CORS configuration.
  • GET /api/v1/objects is a cursor page (items, nextMarker, isTruncated). Non-admins on /api/v1/admin/* get 403.
  • CLUSTER_METADATA_REPLICA_COUNT is renamed CLUSTER_OUTBOX_REPLICA_COUNT (old name still works).

S3 API

  • Per-bucket CORS (?cors) with browser preflight handling.
  • Cache-Control, Content-Disposition, Content-Encoding, Content-Language and Expires are stored and replayed; response-* overrides on signed GETs. aws-chunked is stripped from the stored encoding.
  • GET/HEAD ?partNumber with x-amz-mp-parts-count; Delimiter, EncodingType, Owner/Initiator on listings.
  • Bucket policies with Principal: "*" now also apply to signed requests from non-owner keys.
  • Every error on the S3 surface is S3 XML; NoSuchBucket for PUT/DELETE on a missing bucket; 507 InsufficientStorage when the disk is near full.
  • Fixed: continuation-token precedence, ListObjectVersions paging, conditional-header precedence, conditional PUT on erasure-coded objects, zero-byte parts, double-decoded keys, lifecycle sweeps on buckets over 10 000 keys. Listings now sort by UTF-8 bytes like S3.
  • Multi-object delete runs in parallel. Non-final multipart parts must be ≥ 5 MiB.

Storage and durability

  • Parent directories are fsynced after every rename; version pointers and multipart metadata are written atomically.
  • Plain object reads are verified against their checksum/ETag (ALARIK_VERIFY_ON_READ).
  • Uploads are refused before transfer when they would cross ALARIK_MIN_FREE_PERCENT (default 1%).
  • Stale multipart uploads are aborted after ALARIK_MULTIPART_MAX_AGE_DAYS (default 7).
  • Keys that collide with internal file names are stored escaped; existing objects are renamed once at first boot (see upgrade notes).
  • Orphaned temp files are swept at boot and hourly; only .tmp-<UUID> files are touched.

Clustering

  • Erasure-coded overwrites are staged and committed only after quorum; a failed overwrite keeps the old object.
  • Read-repair only rebuilds a shard when every owner answered, so a down node's shards are no longer re-created elsewhere.
  • Nodes announce shutdown so peers stop forwarding immediately; drain/decommission propagate as authoritative status.
  • Webhook and replication outbox rows are mirrored to peers and adopted once their owner has left the cluster or been silent for 10 minutes. A restart or drain does not trigger adoption. Delivery is at-least-once.
  • Membership records are placed like other metadata instead of pinned to the node they describe.
  • DeleteBucket asks every registered node, not only live ones. Metadata creates no longer block on unrelated down nodes.
  • Faster failure on dead peers; rebalance walks are debounced; shard-repair rows are deduplicated.

Webhooks and replication

  • Deliveries never follow redirects. IPv6 and embedded-IPv4 private targets are classified as internal.
  • Replicated writes carry x-amz-replication-status: REPLICA and are never replicated onward, so two buckets replicating to each other no longer loop. Deletes name the generation they remove.
  • The first failed delivery attempt is logged.

Console

  • Copy, move, rename and version restore from the object browser.
  • Lifecycle and CORS rule editors; inline bucket policy validation; decommission from the cluster page.
  • Chunked uploads for files ≥ 32 MiB; cancelled uploads are aborted on the server. Downloads and previews stream through signed tickets instead of buffering in the browser.
  • Cursor-paged object listing and cached storage stats (#27, #28). Editable access-key descriptions (#23).
  • Renaming your account requires the current password; linked SSO accounts cannot be rebound.
  • Nuxt 4.6, Nuxt UI 4.13; server on Swift 6.4.

Fixes

  • Empty folders deletable, no phantom folders after EC deletes (#25).
  • Clear error for an empty OIDC JWKS (#30).
  • Negative list limits no longer crash the process.

Full Changelog: 1.0.0-beta-16...1.0.0-beta-17

Don't miss a new alarik release

NewReleases is sending notifications on new releases.