Open
Description
The goal here is to loop checking a condition until replication completes. That means that the following steps need to happen:
- Wait for idle
- Check condition
- If condition fulfilled, continue
- Else goto 1
However, in the snippet above the process is this
- Wait for idle
- Stop replication
- Check condition over and over again with delay
Since the replication is stopped, the condition will never recover