zrepl/docs/configuration
Christian Schwarz 2642c64303 make initial replication policy configurable (most_recent, all, fail)
Config:

```
- type: push
  ...
  conflict_resolution:
    initial_replication: most_recent | all | fali
```

The ``initial_replication`` option determines which snapshots zrepl
replicates if the filesystem has not been replicated before.
If ``most_recent`` (the default), the initial replication will only
transfer the most recent snapshot, while ignoring previous snapshots.
If all snapshots should be replicated, specify ``all``.
Use ``fail`` to make replication of the filesystem fail in case
there is no corresponding fileystem on the receiver.

Code-Level Changes, apart from the obvious:
- Rework IncrementalPath()'s return signature.
  Now returns an error for initial replications as well.
- Rename & rework it's consumer, resolveConflict().

Co-authored-by: Graham Christensen <graham@grahamc.com>

Fixes https://github.com/zrepl/zrepl/issues/550
Fixes https://github.com/zrepl/zrepl/issues/187
Closes https://github.com/zrepl/zrepl/pull/592
2022-06-26 14:36:59 +02:00
..
conflict_resolution.rst make initial replication policy configurable (most_recent, all, fail) 2022-06-26 14:36:59 +02:00
filter_syntax.rst docs: filter syntax: reference 'snap' job type 2020-02-14 21:40:48 +01:00
jobs.rst client/signal: Revert "add signal 'snapshot', rename existing signal 'wakeup' to 'replication'" 2021-03-25 22:26:17 +01:00
logging.rst Spellcheck all files 2020-02-24 16:06:09 +01:00
misc.rst pre- and post-snapshot hooks 2019-09-27 21:25:59 +02:00
monitoring.rst docs/monitoring: change suggested prometheus port to 9811 2021-03-28 18:18:02 +02:00
overview.rst docs: Fix typo in disjoing to disjoint 2022-05-07 22:13:56 +02:00
prune.rst docs: prune: improve docs for 'grid' rule 2021-11-14 17:34:32 +01:00
replication.rst replication: simplify parallel replication variables & expose them in config 2021-03-14 17:30:10 +01:00
sendrecvoptions.rst docs: sendrecvoptions: placeholders: fix wrong link name and add summarizing config snippet for recv.placeholders 2022-02-05 10:59:33 +01:00
snapshotting.rst client/signal: Revert "add signal 'snapshot', rename existing signal 'wakeup' to 'replication'" 2021-03-25 22:26:17 +01:00
transports.rst docs: transport: fix easyrsa script (fixup of 6b4c6fc) 2020-08-23 20:36:43 +02:00