bolthole / zrep

ZREP ZFS based replication and failover script from bolthole.com
Other
251 stars 57 forks source link

On FreeBSD 15 CURRENT, `ZREP_R=-R zrep sync <dataset>` also syncs `zrep:master` #206

Open svmhdvn opened 6 months ago

svmhdvn commented 6 months ago

This causes an immediate split-brain situation.

Repro steps:

  1. Start with ZREP_R=-R zrep init zroot/dataset host2 zroot/dataset
  2. Then run ZREP_R=-R zrep sync zroot/dataset
  3. Run zfs get zrep:written on the secondary host to observe that zrep:master is a received property and is set to yes