Skip to content

server-zd v0.1.18

Choose a tag to compare

@longquanzheng longquanzheng released this 05 Nov 23:32
da4fc21

Breaking Changes

  • dev defaults to strict durability (#1269). dex-server-zd dev now fsyncs every write to its embedded object store before acknowledging it, so a host crash or power loss loses no acknowledged write. Writes are slower, most of all on macOS. For the previous behavior, pass --durability process-crash-safe or set dev.durabilityMode: processCrashSafe.
  • Strict open fails closed. In strict mode, the embedded store flushes the entries of its data directory and every ancestor, following symbolic links, when it opens. If any of these directories cannot be opened or flushed, dev fails to start and names the directory.
  • Old unclean directories. An embedded store directory that a release before v0.1.4 left after an abrupt exit is now refused in every mode, including strict. Delete the data directory to start empty. Directories from v0.1.4 or later, and directories that were stopped cleanly, keep working.

server-zd v0.1.18

Features

  • dex-server-zd dev --durability strict|process-crash-safe|relaxed (#1269). Overrides dev.durabilityMode from --config.

Fixes

  • Strict-mode directory durability (#1269). A strict write no longer depends on a shard, bucket, upload, or data directory whose entry is not yet flushed into its parent. This also covers directories that already exist and concurrent writers.

Changes

  • The embedded object store is renamed from s3mock to s3local (#1267). The on-disk format is unchanged.

Upgrade

  • Stop every old process, including standbys, then start v0.1.18.
  • Before server-zd 1.0, rolling a node back to an older 0.x binary after a newer one has run is not supported.

Artifacts

  • Container image dex-server-zd:0.1.18 for linux/arm64 and linux/amd64.
  • dex-server-zd binaries for Linux amd64, Linux arm64 (glibc 2.28 or newer), macOS arm64 and macOS amd64, with checksums.txt.