Help with patroni[raft] #108
-
Hello guys, recently I was trying to start patroni with raft backend. Everything going well, except that after starting patroni spams logs with messages on the replica hosts:
In the postgres leader logs:
In the postgres replica logs:
Moreover, if I run this command on each server:
It would return correct values:
Could you please help me with this? PostgreSQL: 12 (3 hosts setup) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
new version of psycopg2 was released, it seems that autocommit = True is ignored in the with connection block: psycopg/psycopg2@e5ad0ab I can suggest to stick with psycopg2 <= 2.8.6 for now. In the next version of Patroni will be added compatibility with psycopg2 2.9 - patroni/patroni@e5bfd4f |
Beta Was this translation helpful? Give feedback.
@johnatannvmd
new version of psycopg2 was released, it seems that autocommit = True is ignored in the with connection block: psycopg/psycopg2@e5ad0ab
I can suggest to stick with psycopg2 <= 2.8.6 for now.
patroni/patroni#1969
In the next version of Patroni will be added compatibility with psycopg2 2.9 - patroni/patroni@e5bfd4f