Commit Graph

  • 50c1549865 pruner: fixup 69bfcb7bed: add missing progress updates for watchdog Christian Schwarz 2018-10-20 10:58:22 +02:00
  • 6e21a67473 build: detect if generate made things dirty and break release build in that case 0.1.0-rc2 Christian Schwarz 2018-10-19 17:46:30 +02:00
  • 17ab39d646 build: add missing subpackages Christian Schwarz 2018-10-19 17:16:00 +02:00
  • 44d2057df8 client/configcheck: check logging config Christian Schwarz 2018-10-19 17:15:24 +02:00
  • 3e359aaeda zfs: fixup 6fcf0635a5: broken test Christian Schwarz 2018-10-19 17:13:32 +02:00
  • 8cfeeee23a config: fixup 1f072936c5: broken test Christian Schwarz 2018-10-19 17:12:55 +02:00
  • f535b2327f pruner: use envconst to configure retry interval Christian Schwarz 2018-10-19 15:58:51 +02:00
  • e63ac7d1bb pruner: log transitions to error state + log info to confirm pruning is done in active job Christian Schwarz 2018-10-19 15:58:04 +02:00
  • 359ab2ca0c pruner: fail on every error that is not net.OpError.Temporary() Christian Schwarz 2018-10-19 15:57:38 +02:00
  • 45373168ad replication: fix retry wait behavior Christian Schwarz 2018-10-19 15:53:58 +02:00
  • 69bfcb7bed daemon/active: implement watchdog to handle stuck replication / pruners Christian Schwarz 2018-10-19 16:27:05 +02:00
  • 4ede99b08c replication: simpler PermanentError state + handle context cancellation Christian Schwarz 2018-10-19 16:18:19 +02:00
  • 814fec60f0 endpoint + zfs: context cancellation of util.IOCommand instances (send & recv for now) Christian Schwarz 2018-10-19 16:12:21 +02:00
  • ace4f3d892 transport/tlsclientauth: handle cancellation of dialCtx Christian Schwarz 2018-10-19 16:08:20 +02:00
  • 82f0060eec Revert "daemon/job/active: push mode: awful hack for handling of concurrent snapshots + stale remote operation" Christian Schwarz 2018-10-19 09:35:30 +02:00
  • 53ac853cb4 client/configcheck: build jobs for checking config and allow selecting what to print Christian Schwarz 2018-10-18 16:35:29 +02:00
  • a5376913fd daemon/job: fix buildJob returning nil error on job uild error Christian Schwarz 2018-10-18 16:18:53 +02:00
  • 6fcf0635a5 zfs: generalize dry send information for normal sends and with resume token Christian Schwarz 2018-10-18 15:45:58 +02:00
  • 1f072936c5 fix default stdout outlet Christian Schwarz 2018-10-18 15:43:50 +02:00
  • 3c06235dca replication + zfs: leave From field instead of To field empty for initial send Christian Schwarz 2018-10-14 13:06:23 +02:00
  • f13749380d docs: add warnings of changing semantics for manually created snapshots in 0.1 Christian Schwarz 2018-10-13 18:29:40 +02:00
  • eadb6f823d docs: remove unreleased annotation from changelog for 0.1 0.1.0-rc1 Christian Schwarz 2018-10-13 17:35:38 +02:00
  • e7497ab3d0 LICENSE + docs: adjust copyright Christian Schwarz 2018-10-13 17:33:39 +02:00
  • 59a4e2db5f replication: regenerate pdu.pb with new protoc-gen-go Christian Schwarz 2018-10-13 17:23:39 +02:00
  • 2c994e879c filters: fix broken error message Christian Schwarz 2018-10-13 17:17:34 +02:00
  • de2768c91d build: produce darwin binaries Christian Schwarz 2018-10-13 16:57:25 +02:00
  • fb6f58b735 client/status: switch to package tcell which works with solaris Christian Schwarz 2018-10-13 16:56:30 +02:00
  • be4e244f1f build: fixup af3d96dab8: syntax error in builddep install Christian Schwarz 2018-10-13 16:29:33 +02:00
  • 074f989547 Merge branch 'replication_rewrite' (in fact it's a 90% rewrite) Christian Schwarz 2018-10-13 16:26:23 +02:00
  • 87c8957889 build: fixup be962998ba: broken makefile Christian Schwarz 2018-10-13 16:00:13 +02:00
  • f6cf23779f docs: Remove stale TIP for dry-run zrepl test subcommand. Christian Schwarz 2018-10-13 15:55:54 +02:00
  • 92a1a6d2ca docs: fix wrong subcommand for configcheck Christian Schwarz 2018-10-13 15:55:16 +02:00
  • 63169c51b7 add 'test filesystems' subcommand for testing filesystem filters Christian Schwarz 2018-10-13 15:53:52 +02:00
  • 5c3c83b2cb cli: refactor to allow definition of subcommands next to their implementation Christian Schwarz 2018-10-13 15:07:50 +02:00
  • aeb87ffbcf daemon/job/active: push mode: awful hack for handling of concurrent snapshots + stale remote operation Christian Schwarz 2018-10-12 22:46:34 +02:00
  • a85abe8bae client/status: improve hiding of data if current state makes it obsolete Christian Schwarz 2018-10-12 22:16:11 +02:00
  • d584e1ac54 daemon/job/active: fix race in updateTasks Christian Schwarz 2018-10-12 22:15:07 +02:00
  • af3d96dab8 use enumer generate tool for state strings Christian Schwarz 2018-10-12 22:10:49 +02:00
  • 89e0103abd move wakeup subcommand into signal subcommand and add reset subcommand Christian Schwarz 2018-10-12 20:50:30 +02:00
  • 025fbda984 client/status: only show progress bar in non-planning states Christian Schwarz 2018-10-12 16:00:37 +02:00
  • 9bb7b19c93 pruner: handle replication cursor being older than any snapshot correctly Christian Schwarz 2018-10-12 15:29:07 +02:00
  • cb83a26c90 replication: wakeup + retry handling: make wakeups work in retry wait states Christian Schwarz 2018-10-12 13:12:28 +02:00
  • d17ecc3b5c replication/fsrep: report Pending[0] problem as fsrep problem in RetryWait state Christian Schwarz 2018-10-12 12:45:37 +02:00
  • f9d24d15ed move wakup mechanism into separate package Christian Schwarz 2018-10-12 12:44:40 +02:00
  • 1fb59c953a implement transport protocol handshake (even before streamrpc handshake) Christian Schwarz 2018-10-11 21:18:44 +02:00
  • be962998ba move serve and connecter into transports package Christian Schwarz 2018-10-11 21:20:55 +02:00
  • a97684923a refactor: socketpair into utils package (useful elsewhere) Christian Schwarz 2018-10-11 21:17:43 +02:00
  • 1643198713 docs: reflect changes in replication_rewrite branch Christian Schwarz 2018-10-11 17:46:26 +02:00
  • 125b561df3 rename root_dataset to root_fs for receiving-side jobs Christian Schwarz 2018-10-11 18:00:23 +02:00
  • 0c3a694470 fixup: add test for global section Christian Schwarz 2018-10-11 17:46:41 +02:00
  • 525a875825 main: better descriptions for root subcommands Christian Schwarz 2018-10-11 17:45:41 +02:00
  • 4e16952ad9 snapshotting: support 'periodic' and 'manual' mode Christian Schwarz 2018-10-11 15:22:52 +02:00
  • 14febbeb4c config: skip files that do not end in .yml Christian Schwarz 2018-10-11 13:09:04 +02:00
  • 93c90cd705 pruning: fix YAML representation of PruneKeepRegex Christian Schwarz 2018-10-11 13:07:52 +02:00
  • 01668a989e transport local: named listeners + struct renaming Christian Schwarz 2018-10-11 13:06:47 +02:00
  • 976c1f3929 util.IOCommand: add stderr logging for unexpected crashes in calls to ProcessState.Sys() Christian Schwarz 2018-09-27 12:06:59 +02:00
  • 75e42fd860 pruner: implement Report method + display in status command Christian Schwarz 2018-09-24 19:22:44 +02:00
  • 2990193512 replication: export SleepUntil in report Christian Schwarz 2018-09-24 19:23:10 +02:00
  • 75ba5874a5 active side: track activities in Run() as atomically updated member Christian Schwarz 2018-09-24 17:48:45 +02:00
  • 9e941d5be5 pruning: implement 'grid' keep rule Christian Schwarz 2018-09-24 17:30:03 +02:00
  • 328ac687f6 Remove obsolete cmd/** package + subpackages Christian Schwarz 2018-09-24 14:48:12 +02:00
  • 1ce0c69e4f implement local replication using new local transport Christian Schwarz 2018-09-24 14:43:53 +02:00
  • f3e8eda04d fixup 4e04f8d3d2: snapper with separate stopped state for clean shutdown Christian Schwarz 2018-09-24 14:40:47 +02:00
  • cf5d63ee88 config: fix broken tests + reduce example configs Christian Schwarz 2018-09-24 12:40:02 +02:00
  • 4e04f8d3d2 snapper: make error mode an error wait mode Christian Schwarz 2018-09-24 12:29:34 +02:00
  • d04b9713c4 implement pull + sink modes for active and passive side Christian Schwarz 2018-09-24 12:31:29 +02:00
  • 6889f441b2 endpoint: support remote ReplicationCursor endpoint Christian Schwarz 2018-09-24 12:34:53 +02:00
  • 9c86e03384 endpoint Remote: fix broken Send endpoint for DryRun=true Christian Schwarz 2018-09-24 12:27:57 +02:00
  • ffe33aff3d fix pruner: protobuf one-ofs require non-zero value, even if no public fields Christian Schwarz 2018-09-24 12:26:55 +02:00
  • e3be120d88 refactor push + source into active + passive 'sides' with push and source 'modes' Christian Schwarz 2018-09-23 23:04:31 +02:00
  • 9446b51a1f status: infra for reporting jobs instead of just replication.Report Christian Schwarz 2018-09-23 21:08:03 +02:00
  • 4a6160baf3 update to streamrpc 0.4 & adjust config (not breaking) Christian Schwarz 2018-09-23 20:28:30 +02:00
  • 9dd662df08 status: raw output subcommand Christian Schwarz 2018-09-23 14:44:53 +02:00
  • 7f9eb62640 sink: concurrent connection handling Christian Schwarz 2018-09-18 22:44:00 +02:00
  • 6c3f442f13 daemon control / jsonclient: fix connection leak due to open request body Christian Schwarz 2018-09-13 12:44:46 +02:00
  • fa47667f31 bring back prometheus metrics, with new metrics for replication state machine Christian Schwarz 2018-09-07 22:03:41 -07:00
  • ab9446137f fix missing import of errors pacakge Christian Schwarz 2018-09-07 22:03:51 -07:00
  • 0c2ac3a168 pprof subcommand Christian Schwarz 2018-09-07 00:04:03 -07:00
  • bf5099baac version subcommand: unified client & server Christian Schwarz 2018-09-06 23:52:11 -07:00
  • 7836ea36fc serve TLS: validate client CNs against whitelist in config file Christian Schwarz 2018-09-06 13:34:39 -07:00
  • 1edf020ce7 status command: better handling of 'nothing to do' Complete state Christian Schwarz 2018-09-06 11:46:02 -07:00
  • c60ed78bc5 status subcommand: only draw one big progress bar of the entire replication Christian Schwarz 2018-09-06 11:05:32 -07:00
  • 82d51cd0dc go vet fix Christian Schwarz 2018-09-05 21:48:52 -07:00
  • 0f75677e59 daemon/pruner: fix exercise (don't call it test) Christian Schwarz 2018-09-05 21:47:44 -07:00
  • 2c25f28972 simplify mapping & filtering in endpoints (re-rooting only) Christian Schwarz 2018-09-05 19:49:26 -07:00
  • 1323a30a0c zfs: ability to specify sources for zfsGet Christian Schwarz 2018-09-05 19:44:35 -07:00
  • 975fdee217 replication & pruning: ditch replicated-property, use bookmark as cursor instead Christian Schwarz 2018-09-05 18:24:15 -07:00
  • acd2418803 handle DryRun send size estimate errors with bookmarks Christian Schwarz 2018-09-05 17:41:25 -07:00
  • 9eca269ad8 fixup 308e5e35fb: remove fprintf debug output Christian Schwarz 2018-09-05 08:35:31 -07:00
  • c21222ef13 serve/tls: use handshake timeout from config Christian Schwarz 2018-09-05 08:32:59 -07:00
  • 6c988d0ebb add small subcommand to validate config Christian Schwarz 2018-09-05 08:32:38 -07:00
  • 4b39a18178 zfs: disable resume token test because it doesn't work in docker Christian Schwarz 2018-09-04 17:31:46 -07:00
  • 6c31c66562 hidden bashcomp command Christian Schwarz 2018-09-04 17:27:20 -07:00
  • adab06405b make go vet happy Christian Schwarz 2018-09-04 17:25:10 -07:00
  • 52f0c0c33b update Makefile Christian Schwarz 2018-09-04 17:02:16 -07:00
  • bfc631f6a6 fix broken pruner exercise (don't call it test...) Christian Schwarz 2018-09-04 17:19:39 -07:00
  • 1e27720b99 zfs: skip test with ZFS_BINARY mock (doesn't work in parallel) Christian Schwarz 2018-09-04 17:02:02 -07:00
  • 8eade3d20a replication/pdu: fix broken test Christian Schwarz 2018-09-04 17:01:46 -07:00
  • 308e5e35fb Multi-client servers + bring back stdinserver support Christian Schwarz 2018-09-04 16:41:54 -07:00
  • e161347e47 Implement periodic snapshotting. Christian Schwarz 2018-09-04 14:46:02 -07:00