Skip to content

v5.0.16

Latest

Choose a tag to compare

@github-actions github-actions released this 10 Nov 22:21
· 2 commits to main since this release

Found by filling the disks of a test server and by cluster load tests that cut
nodes off the network, freeze them and slow their network down.

Added

  • A free disk space reserve (storage.min_free_mb, default 100 MiB,
    VAULTS3_MIN_FREE_MB). Below it new object data is refused with 507 Insufficient Storage (uploads, copies, multipart uploads, dashboard uploads,
    batch jobs, migrations, copies between cluster nodes) while reads, deletes
    and settings go on, so a legal hold can be released or a lifecycle rule
    added to make room. A completely full
    metadata disk could not be emptied: its database writes new pages even to
    delete, so every delete failed and the server stayed full until the disk
    grew. Found by filling the disks of a test server.

Changed

  • A write that runs out of disk space is answered 507 Insufficient Storage. It was a 500 for object data and a 503 SlowDown for metadata,
    which S3 SDKs retry although only freeing space helps.

Fixed

  • On a cluster, a read no longer catches a copy from another node being
    installed.
    The node drops its record of the file, replaces the file and
    records it again; a read in between found the previous object's file with
    no record and, for a multipart object of the same size (which has no
    content check), served it. Seen in load tests as one stale read in an
    hour, seconds after a node restarted and caught up. A read now opens and
    checks the file under the key's lock, which a copy holds only for the
    local install.
  • On a cluster, replica repair no longer reports current objects as lost
    ("no surviving copy") right after a node rejoins from a network partition.
    It judged every copy against the node's own stale record; it now catches up
    with the leader first and leaves the object for the next pass when it
    cannot. Repair also no longer waits two seconds for each object deleted
    since its walk began.

Installation

Docker (recommended):

docker pull eniz1806/vaults3:5.0.16

Binary download:
Download the archive for your platform below, extract, and run:

tar xzf vaults3-<os>-<arch>.tar.gz
./vaults3

Supported platforms: Linux (amd64, arm64), macOS (amd64, arm64), Windows (amd64)


Full Changelog: v5.0.15...v5.0.16