This causes an immediate split-brain situation.
Repro steps:
- Start with
ZREP_R=-R zrep init zroot/dataset host2 zroot/dataset
- Then run
ZREP_R=-R zrep sync zroot/dataset
- Run
zfs get zrep:written on the secondary host to observe that zrep:master is a received property and is set to yes
This causes an immediate split-brain situation.
Repro steps:
ZREP_R=-R zrep init zroot/dataset host2 zroot/datasetZREP_R=-R zrep sync zroot/datasetzfs get zrep:writtenon the secondary host to observe thatzrep:masteris areceivedproperty and is set toyes