-
Bug
-
Resolution: Done
-
Major
-
0.10.0.Final
-
None
After taking a snapshot on a postgres db, a transaction remains open on connection that debezium holds open. Post snapshot, pg_stat_activity shows a row for the debezium connection that is in a state of idle in transaction. Ex:
application_name | state | query ------------------------+---------------------+------------------------------------------------------------------------------------------------------------------------------------------------ PostgreSQL JDBC Driver | idle in transaction | SELECT relreplident FROM pg_catalog.pg_class c LEFT JOIN pg_catalog.pg_namespace n ON c.relnamespace=n.oid WHERE n.nspname=$1 and c.relname=$2
There is a workaround, if the connector is deleted and restarted after the snapshot is finished, the state is idle.
It appears this issue only affects the 0.10 release.