Skip to content

v0.31.1

Choose a tag to compare

@github-actions github-actions released this 10 Sep 12:14
· 933 commits to develop since this release
v0.31.1
25dbd71

DittoFS v0.31.1

A modular virtual filesystem that decouples file interfaces from storage backends.

Installation

Quick install (macOS / Linux):

curl -fsSL https://github.com/marmos91/dittofs/releases/download/v0.31.1/install.sh | sh

Homebrew (macOS/Linux):

brew tap marmos91/tap
brew install marmos91/tap/dfs      # Server daemon
brew install marmos91/tap/dfsctl   # Client CLI

Debian/Ubuntu (APT):

curl -fsSL https://s3.cubbit.eu/dittofs-binaries/apt/dittofs.gpg.key | gpg --dearmor --yes | sudo tee /usr/share/keyrings/dittofs.gpg > /dev/null
echo "deb [signed-by=/usr/share/keyrings/dittofs.gpg] https://s3.cubbit.eu/dittofs-binaries/apt stable main" | sudo tee /etc/apt/sources.list.d/dfs.list
sudo apt update && sudo apt install dfs
sudo systemctl enable --now dfs

RHEL/Fedora (YUM):

sudo curl -fsSLo /etc/yum.repos.d/dfs.repo https://s3.cubbit.eu/dittofs-binaries/rpm/dfs.repo
sudo yum install dfs
sudo systemctl enable --now dfs

Arch Linux:

curl -fsSLO https://github.com/marmos91/dittofs/releases/download/v0.31.1/dfs_0.31.1_amd64.pkg.tar.zst
sudo pacman -U dfs_0.31.1_amd64.pkg.tar.zst
sudo systemctl enable --now dfs

Scoop (Windows):

scoop bucket add marmos91 https://github.com/marmos91/scoop-bucket
scoop install dfs       # Server daemon
scoop install dfsctl    # Client CLI

Docker:

docker run -d \
  -p 12049:12049 \
  -p 12445:12445 \
  -p 8080:8080 \
  -v /path/to/config.yaml:/config/config.yaml:ro \
  -v dittofs-data:/data \
  marmos91c/dittofs:v0.31.1

Binary Download:

# dfs (server daemon)
curl -sfL https://github.com/marmos91/dittofs/releases/download/v0.31.1/dfs_0.31.1_Linux_x86_64.tar.gz | tar xz

# dfsctl (client CLI)
curl -sfL https://github.com/marmos91/dittofs/releases/download/v0.31.1/dfsctl_0.31.1_Linux_x86_64.tar.gz | tar xz

Changelog

Features

  • 02f2be1: feat(nfs): grant delegations to NFSv4.1 clients on a verified callback path (#2479) (@marmos91)

Bug Fixes

  • ecdb4ed: fix(api): drop RealIP so the request log records an unforgeable address (#2291) (@marmos91)
  • f793f27: fix(block): hold the retention pin in the local store so Start cannot lift it (#2302) (@marmos91)
  • 4ac5071: fix(block): never evict bytes a share has no way to fetch back (#2376) (@marmos91)
  • 29ffe1d: fix(block): route the carve block size to the loop that reads it (#2311) (@marmos91)
  • 9314a04: fix(block): stop reporting a local-tier check that never ran (#2347) (@marmos91)
  • 2406afb: fix(ci): analyse cold so a bumped go.sum cannot poison the lint cache (#2443) (@marmos91)
  • 8b05dc1: fix(conformance): stop reporting a setup failure as new test failures (#2477) (@marmos91)
  • 5454e4f: fix(deps): bump grpc to 1.83.1 in the operator module (#2411) (@marmos91)
  • a2791f9: fix(journal): fail a restore whose shard can never be made durable (#2390) (@marmos91)
  • d3172e6: fix(journal): fence a hydrate against the truncate marker's own version (#2386) (@marmos91)
  • ad6162b: fix(journal): order unstamped segments by age, not ahead of everything (#2308) (@marmos91)
  • 90a7b8d: fix(journal): record which writer made a cold entry, and stop restore guessing (#2478) (@marmos91)
  • 58dc7c2: fix(journal): size the carve block arena to the share's own chunk ceiling (#2480) (@marmos91)
  • bc58034: fix(lint): stop the citation check scanning nested working copies (#2267) (@marmos91)
  • a02d55f: fix(metadata): make the xattr read-modify-write atomic (#2452) (@marmos91)
  • 111192f: fix(metadata): persist the create verifier on SQL backends, and rename the row the transaction read (#2379) (@marmos91)
  • 9f35691: fix(metadata): release a file's bytes from the share usage counters when its last link goes (#2288) (@marmos91)
  • cde7dd9: fix(metadata): rename over an existing file never freed the clobbered file's bytes (#2309) (@marmos91)
  • 2a3b305: fix(nfs): DESTROY_CLIENTID must not gate on the requester's client ID, and must report an unrecognized target first (#2489) (@marmos91)
  • 1d69f4d: fix(nfs): bind NFSv4 stateids to their owning client and make the stateid other unpredictable (#2448) (@marmos91)
  • 48671a2: fix(nfs): call the cross-protocol lock manager without holding the global state mutex (#2459) (@marmos91)
  • 47a439e: fix(nfs): check read permission in NFSv4 READ, READ_PLUS and SEEK (#2427) (@marmos91)
  • 5f05f50: fix(nfs): check the stateid belongs to the caller in CLOSE, LOCK, LOCKU, OPEN_DOWNGRADE, OPEN_CONFIRM and TEST_STATEID (#2466) (@marmos91)
  • 1a478fc: fix(nfs): default max_version to 4.0 until full NFSv4.1 lands (@marmos91)
  • 06cef31: fix(nfs): draw the server boot epoch at random instead of reading the clock (#2485) (@marmos91)
  • c5dd09b: fix(nfs): enforce CREATE_SESSION channel-size floors, flag validation, and NOSPC session cap (#2471) (#2494) (@marmos91)
  • 13931d0: fix(nfs): implement the EXCHANGE_ID flag validation and record algorithm of RFC 8881 18.35.4 (#2491) (@marmos91)
  • f9ebda7: fix(nfs): key the RECLAIM_COMPLETE duplicate check on the client, not the grace period (#2486) (@marmos91)
  • c810d03: fix(nfs): merge same-owner byte-range locks and keep one lease per client ID (#2361) (@marmos91)
  • 1cee59f: fix(nfs): narrow the SECINFO flavor list to the target share's auth-flavor policy (#2460) (@marmos91)
  • 2acb10d: fix(nfs): reject bad, old and stale stateids in CLOSE, OPEN_CONFIRM, OPEN_DOWNGRADE and LOCK (#2484) (@marmos91)
  • a4b0ee9: fix(nfs): reject cross-share LINK — the v3 share check was a tautology (#2432) (@marmos91)
  • 14fd86a: fix(nfs): return NFS4ERR_NOT_ONLY_OP when a session-exempt op shares its COMPOUND (#2481) (@marmos91)
  • 321a443: fix(nfs3): narrow ACCESS replies to the request and drop DELETE for non-directories (#2273) (@marmos91)
  • a8c8772: fix(nfs4): translate the all-ones lock length into the manager's end-of-file range (#2274) (@marmos91)
  • 655f12b: fix(nfsv4): REMOVE never freed the removed file's payload bytes (#2286) (@marmos91)
  • fc16cb0: fix(nfsv4): put space_avail/free/total at their RFC 7530 attribute numbers (#2458) (@marmos91)
  • 2a6ac1b: fix(postgres): create the filesystem_meta table the share queries read (#2316) (@marmos91)
  • b608506: fix(smb): answer a CHANGE_NOTIFY that registers after a directory is marked deleted (#2283) (@marmos91)
  • 93c8116: fix(smb): authorize the parent-dir frozen-timestamp restore by the frozen handle's grant (#2319) (@marmos91)
  • 99d2203: fix(smb): bind a client-supplied FileId to the session that opened it (#2461) (@marmos91)
  • 24846cb: fix(smb): correct the seven wrong spec citations and empty the allowlist (#2269) (@marmos91)
  • ee3ab6a: fix(smb): don't announce a rename that a hard link made a no-op (#2387) (@marmos91)
  • 923c40e: fix(smb): hardlink replace never freed the replaced file's bytes (#2318) (@marmos91)
  • 63b1aa4: fix(smb): keep the ChangeTime a client observed across rename (#2284) (@marmos91)
  • c77afc8: fix(smb): let FILE_WRITE_ATTRIBUTES authorize a timestamp write (#2313) (@marmos91)
  • a39ec44: fix(smb): let rename's ChangeTime advance stand, and pin frozen timestamps across rename + CLOSE (#2279) (@marmos91)
  • c5ba24c: fix(smb): make the rename ChangeTime preserve conditional (#2343) (@marmos91)
  • 0bc01b3: fix(smb): scope async-flagged CANCEL lookups to the arriving connection (#2426) (@marmos91)
  • 9295779: fix(smb): scope the tree lookup to the requesting session (#2424) (@marmos91)
  • 3c22a38: fix(smbtorture): anchor the NT_STATUS_NO_MEMORY flake excuse to a connection diagnostic (#2272) (@marmos91)
  • 025de21: fix(test): stop the known-failures parser reading fenced examples as rows (#2412) (@marmos91)

Performance Improvements

Others


Full Changelog: v0.31.0...v0.31.1

Verifying Checksums

sha256sum -c checksums.txt

Verifying Signatures

Release checksums are signed with Sigstore cosign using keyless OIDC:

cosign verify-blob \
  --bundle checksums.txt.sigstore.json \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  --certificate-identity-regexp '^https://github\.com/marmos91/dittofs/\.github/workflows/release\.yml@refs/tags/' \
  checksums.txt

Docker Images

Multi-architecture images are available for linux/amd64 and linux/arm64:

  • marmos91c/dittofs:v0.31.1 - This specific version
  • marmos91c/dittofs:latest - Latest stable release
  • marmos91c/dittofs:v0 - Latest v0.x.x
  • marmos91c/dittofs:v0.31 - Latest v0.31.x