zrepl/config
Christian Schwarz 30cdc1430e replication + endpoint: replication guarantees: guarantee_{resumability,incremental,nothing}
This commit

- adds a configuration in which no step holds, replication cursors, etc. are created
- removes the send.step_holds.disable_incremental setting
- creates a new config option `replication` for active-side jobs
- adds the replication.protection.{initial,incremental} settings, each
  of which can have values
    - `guarantee_resumability`
    - `guarantee_incremental`
    - `guarantee_nothing`
  (refer to docs/configuration/replication.rst for semantics)

The `replication` config from an active side is sent to both endpoint.Sender and endpoint.Receiver
for each replication step. Sender and Receiver then act accordingly.

For `guarantee_incremental`, we add the new `tentative-replication-cursor` abstraction.
The necessity for that abstraction is outlined in https://github.com/zrepl/zrepl/issues/340.

fixes https://github.com/zrepl/zrepl/issues/340
2020-07-26 20:32:35 +02:00
..
samples replication + endpoint: replication guarantees: guarantee_{resumability,incremental,nothing} 2020-07-26 20:32:35 +02:00
config_dep_test.go config: add test for fromdefaults behavior 2020-07-26 20:32:35 +02:00
config_global_test.go Spellcheck all files 2020-02-24 16:06:09 +01:00
config_jobid_test.go new features: {resumable,encrypted,hold-protected} send-recv, last-received-hold 2020-02-14 22:00:13 +01:00
config_minimal_test.go format source tree using goimports 2019-03-22 19:41:12 +01:00
config_positiveintervalormanual_test.go pull job: support manual-only invocation 2019-03-16 14:24:05 +01:00
config_send_test.go replication + endpoint: replication guarantees: guarantee_{resumability,incremental,nothing} 2020-07-26 20:32:35 +02:00
config_snapshotting_test.go pre- and post-snapshot hooks 2019-09-27 21:25:59 +02:00
config_test.go Spellcheck all files 2020-02-24 16:06:09 +01:00
config_transport_test.go config: validate presence of port in addresses 2019-09-28 14:25:14 +02:00
config.go replication + endpoint: replication guarantees: guarantee_{resumability,incremental,nothing} 2020-07-26 20:32:35 +02:00
retentiongrid.go Spellcheck all files 2020-02-24 16:06:09 +01:00