replication slot getting deleted at start up #403
Unanswered
prakharverma01
asked this question in
Q&A
Replies: 1 comment
-
Hi, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
PGsync version : lastet pull taken today
ES version : AWS OpenSearch 1.3
postgres version : 12.8 (AWS postgres aurora)
Case 1 : Working 👍
When running the latest code of PGSync in my local machine, with docker-compose, the setup works fine with above given infrastructure.
Case 2 : No Working 👎
When running the same code in AWS ECS, the code stops with error
Replication slot "tenancyportal_allpropertiesuat" does not exist
, one thing I noticed is that sequence of command execution while boot-up for creating replication slotsfirst -> PG_CREATE_LOGICAL_REPLICATION_SLOT (creates replication slot)
second -> select * FROM PG_REPLICATION_SLOTS
third -> PG_DROP_REPLICATION_SLOT (drops the replications slot)
In third step its dropping the replication slot for unknown reason.
superuser or have permission to read, create and destroy replication slots
hence i think there is no issue with the DB userlogs :
can someone help here ?
Beta Was this translation helpful? Give feedback.
All reactions