Skip to content

MariaDB connections remain open indefinitely after sync execution #887

@ObaydaAlesawi

Description

@ObaydaAlesawi

Describe the bug
MariaDB connections are not properly closed after data sync or discovery operations. This causes the number of active connections on the MariaDB server to continuously increase, leading to “Too many connections” errors over time.

To Reproduce
Steps to reproduce the behavior:

  1. Configure a Multiwoven source using the MariaDB connector.
  2. Run a sync or schema discovery job.
  3. Inspect active connections on the MariaDB server using SHOW PROCESSLIST;.
  4. Observe that connections remain “Sleep” even after the job completes.

Expected behavior
Connections should be closed gracefully at the end of each sync/discover/read cycle — no lingering “Sleep” connections should persist on the MariaDB server.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Mac
  • Browser chrome
  • Version [e.g. 22]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions