Help us shape the future of Go! Take the 2026 Go Developer Survey

elastickv-snapshot-decode

command
v0.0.0-...-429f5ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Command elastickv-snapshot-decode is the Phase 0a snapshot decoder described in docs/design/2026_04_29_proposed_snapshot_logical_decoder.md.

It reads a snapshot in any form backup.ReadSnapshotFile accepts: the `fsm-snap/<index>.fsm` file a node persists (FSM snapshot header, store payload, CRC32C footer, which is verified), an encoder-produced stream, or a store's SST ingest bundle. It keeps the newest version of each key and writes a vendor-independent per-adapter directory tree rooted at --output. The output tree carries a MANIFEST.json describing the dump and a sha256sum(1)-compatible CHECKSUMS file the operator can verify with stock UNIX tooling — `sha256sum -c CHECKSUMS` from the dump root suffices, with no elastickv binary involved.

Phase 0a is offline-only. The tool needs a `.fsm` on disk; it does not talk to a running cluster. Phase 1 (separate design) adds a live-cluster extraction path that produces the same directory tree from a pinned read_ts.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL