postgres-operator icon indicating copy to clipboard operation
postgres-operator copied to clipboard

Can't scale replicas to 3

Open meraladine213 opened this issue 1 year ago • 0 comments

Problem

Hi, i need to scale my replica from 2 to 3 pods. but, the 3rd read replica wont running. and it always stuck on 1/2 Running state image

If i check the log inside, it expose error message like this:

/tmp/postgres:5432 - rejecting connections
2024-10-17 06:20:27,027 INFO: Lock owner: hippo-s3-00-wg6f-0; I am hippo-s3-00-7wd7-0
2024-10-17 06:20:27,027 INFO: Still starting up as a standby.
2024-10-17 06:20:27,028 INFO: Lock owner: hippo-s3-00-wg6f-0; I am hippo-s3-00-7wd7-0
2024-10-17 06:20:27,028 INFO: establishing a new patroni connection to the postgres cluster
2024-10-17 06:20:27,794 INFO: establishing a new patroni connection to the postgres cluster
2024-10-17 06:20:27,797 WARNING: Retry got exception: connection problems
2024-10-17 06:20:27,798 WARNING: Failed to determine PostgreSQL state from the connection, falling back to cached role
2024-10-17 06:20:27,799 INFO: no action. I am (hippo-s3-00-7wd7-0), a secondary, and following a leader (hippo-s3-00-wg6f-0)

I need to know how to solve this issue ? is it a bug ? or do i miss some configurations ?

meraladine213 avatar Oct 17 '24 06:10 meraladine213