open-nomad/helper
Tim Gross b6dd1191b2
snapshot restore-from-archive streaming and filtering (#13658)
Stream snapshot to FSM when restoring from archive
The `RestoreFromArchive` helper decompresses the snapshot archive to a
temporary file before reading it into the FSM. For large snapshots
this performs a lot of disk IO. Stream decompress the snapshot as we
read it, without first writing to a temporary file.

Add bexpr filters to the `RestoreFromArchive` helper.
The operator can pass these as `-filter` arguments to `nomad operator
snapshot state` (and other commands in the future) to include only
desired data when reading the snapshot.
2022-07-11 10:48:00 -04:00
..
args address review comments 2018-10-30 13:58:52 -04:00
boltdd helpers: use unreachable assertion 2022-07-06 17:05:35 -05:00
broker core: allow pausing and un-pausing of leader broker routine (#13045) 2022-07-06 16:13:48 +02:00
bufconndialer test: test the buffered pipe used by nsd (#12563) 2022-04-14 08:38:25 -07:00
codec Pull inmem codec to helper 2018-02-15 13:59:00 -08:00
constraints/semver chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
discover chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
envoy ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
escapingfs test: use `T.TempDir` to create temporary test directory (#12853) 2022-05-12 11:42:40 -04:00
escapingio Fixup uses of `sanity` (#10187) 2021-03-16 18:05:08 -04:00
fields goimports 2019-01-22 15:44:31 -08:00
flags ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
flatmap Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
freeport ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
gated-writer gatedwriter: Fix race condition (#9791) 2021-01-14 12:43:14 -08:00
grpc-middleware/logging Add gosimple linter (#9590) 2020-12-09 11:05:18 -08:00
ipaddr helper: add ipaddr pkg to check for any IP addresses. 2022-03-03 11:24:50 +01:00
logging cli Ui implementation that logs to a hclogger 2019-02-19 17:53:14 -06:00
mount deps: upgrade docker and runc 2022-01-18 08:35:26 -06:00
noxssrw lint: mark false positive or fix gocritic append lint errors. 2021-09-06 10:49:44 +02:00
pluginutils cli: update default redis and use nomad service discovery 2022-05-17 10:24:19 -05:00
pointer helpers: provide a few generic helper functions 2022-06-09 10:43:54 -05:00
pool feat: remove dependency to consul/lib 2022-04-09 13:22:44 +02:00
raftutil snapshot restore-from-archive streaming and filtering (#13658) 2022-07-11 10:48:00 -04:00
snapshot snapshot restore-from-archive streaming and filtering (#13658) 2022-07-11 10:48:00 -04:00
stats chore: fix incorrect docstring formatting. 2021-08-30 11:08:12 +02:00
testlog ci: limit gotestsum to circle ci 2022-03-18 09:15:01 -05:00
testtask gofmt all the files 2021-10-01 10:14:28 -04:00
tlsutil ci: swap ci parallelization for unconstrained gomaxprocs 2022-03-15 12:58:52 -05:00
useragent Set user-agent when talking to GCE metadata 2018-04-10 10:36:46 -04:00
uuid e2e: add e2e test for service registration 2021-01-05 08:48:12 -06:00
winsvc gofmt all the files 2021-10-01 10:14:28 -04:00
cluster.go feat: remove dependency to consul/lib 2022-04-09 13:22:44 +02:00
eof.go feat: remove dependency to consul/lib 2022-04-09 13:22:44 +02:00
funcs.go helpers: provide a few generic helper functions 2022-06-09 10:43:54 -05:00
funcs_test.go helpers: provide a few generic helper functions 2022-06-09 10:43:54 -05:00
math.go feat: remove dependency to consul/lib 2022-04-09 13:22:44 +02:00
path.go feat: remove dependency to consul/lib 2022-04-09 13:22:44 +02:00