Description:
I am using the Percona PostgreSQL operator 1.4. I have observed that when I set the standby count from 2 to 0 the operator always stops the pods with the name <pod_name>-repl1 and <pod_name>-repl2, and leaves <pod_name> running.
This behavior seems strange, since -repl1 and -repl2 can become the leader pods at any time.
Can someone explain to me why this is the case? I am very new to this and believe I am missing something fundamental.
Steps to Reproduce:
Make -repl1 or -repl2 the leader and then set standby count from > 0 to 0.
Version:
Percona PostgreSQL operator 1.4.
Logs:
[If applicable, include any relevant log files or error messages]
Expected Result:
[What the user expected to see or happen before the issue occurred]
Actual Result:
[What actually happened when the user encountered the issue]
Additional Information:
[Include any additional information that could be helpful to diagnose the issue, such as browser or device information]