Rita wrote on 11/10/21 5:36 PM:
Oh yes, I'm sorry. I see now that was your original question, and my suggestion doesn't help you there. But I would say that, in my experience with monitoring streaming replication, I haven't cared so much about if the replica is streaming vs. rebuilding, but rather how far behind it has fallen when it is supposedly streaming. Pausing replication lets you see what it will look like when a disk failure blocks your replica's writes, or client activity blocks wal replay, which are absolutely situations you want to monitor for. |