Skip to content
This repository has been archived by the owner on Nov 18, 2017. It is now read-only.

404 error causing the postgres to go down #17

Open
shashankmjain opened this issue Jun 3, 2015 · 0 comments
Open

404 error causing the postgres to go down #17

shashankmjain opened this issue Jun 3, 2015 · 0 comments

Comments

@shashankmjain
Copy link

Hi ,
my 2 node cluster ran for almost 5 hrs after which I got this error
HTTP Error 404: Not Found
Exception occured in reaching leader

Traceback (most recent call last):
File "./governor.py", line 72, in
logging.info(ha.run_cycle())
File "/home/i074560/shashank/governor/helpers/ha.py", line 47, in run_cycle
if self.state_handler.is_healthiest_node(self.etcd):
File "/home/i074560/shashank/governor/helpers/postgresql.py", line 137, in is_healthiest_node
if (state_store.last_leader_operation() - self.xlog_position()) > self.config["maximum_lag_on_failover"]:
TypeError: unsupported operand type(s) for -: 'int' and 'NoneType'
waiting for server to shut down....LOG: received fast shutdown request
LOG: aborting any active transactions
FATAL: terminating connection due to administrator command
FATAL: terminating connection due to administrator command
FATAL: terminating connection due to administrator command
LOG: autovacuum launcher shutting down
LOG: shutting down
LOG: database system is shut down
. done

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant