debezium / debezium/dbz

Multiple PostgresConnection objects are created during initialization [DBZ-900]

Open
#162 0 comments 0 reactions 0 assignees View on GitHub
component/postgresql-connector migrated-from-jira type/task
Dominant language
HTML
Stars
6
Forks
8
Avg merge
2d 19h
Merged PRs (30d)
1

Description

Migrated from [DBZ-900](https://issues.redhat.com/browse/DBZ-900)

During initialization, multiple PostgresConnection objects are created. As each object is created, a call to initTypeRegistry() is made.
DBZ-899 is an issue where the initTypeRegistry() call takes ~24 mins. Since multiple PostgresConnection objects are created, multiple calls to this method are made during initialization, and startup takes ~4 hrs.

Contributor guide

Open the contributing guide

Research direction

Start by tracing PostgresConnection initialization and each call to initTypeRegistry(). Confirm how many PostgresConnection objects are created and why the registry is initialized for each one. Done means initialization no longer performs redundant expensive registry setup and startup avoids the repeated delay described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgres
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.