Source connector leaks JMX MBeans on shutdown

Description

The CouchbaseReader is not closing the Micrometer JMX MeterRegistry, so the meter MBeans stick around after the connector stops. Some of the meters hold references to DcpChannel instances, and through them the document change queue, so this can leak quite a lot of memory.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:
Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created January 19, 2022 at 12:03 AM
Updated January 24, 2022 at 6:36 PM
Resolved January 19, 2022 at 5:31 PM
Instabug