Hello,<div><br></div><div>Is it possible to block write to primary node when secondary is not available?</div><div><br></div><div>That is, suppose PostgreSQL asks the filesystem to write some bytes. I&#39;d like drbd to reply with &quot;write OK&quot; *only* if the data is written to both nodes. If secondary is unavailable because of network error, reply should be &quot;not written&quot;.</div>

<div><br></div><div>What I understood from reading the docs is that unavailable secondary is considered non-critical, and drbd continues writing to primary.</div><div><br></div><div>Tested that as well - drbdadm disconnect resource, and primary can still write to mounted device.</div>

<div><br></div><div>Can this behaviour be changed?</div><div><br></div><div>Thanks for help,</div><div>Yuri.</div>