[3.1.1 backport] cbgt importlistener leaves open a connection to a bucket after database is deleted

Description

In investigating :

Inside cbgt code, there's a gocbcore agent running for each bucket that runs. These are cached on a bucket level, so it doesn't open a new connection if you close a DatabaseContext and re-open it. However, if you delete a bucket, it will try to connect repeatedly to the non existent bucket and log a warning 1 sec, forever.

I'm not sure how to shut down this agent. In order to isolate this warning to cbgt, you need . https://github.com/torcolvin/CBG-2905 contains the reproduction recipe for this.

Activity

Show:

CB robot April 8, 2024 at 10:12 PM

Build sync_gateway-3.2.0-350 contains sync_gateway commit 484e629 with commit message:
3.1.1 cbgt backports (#6273)

CB robot April 8, 2024 at 9:31 PM

Build sync_gateway-3.2.0-348 contains sync_gateway commit 484e629 with commit message:
3.1.1 cbgt backports (#6273)

CB robot April 8, 2024 at 8:53 PM

Build sync_gateway-3.2.0-346 contains sync_gateway commit 484e629 with commit message:
3.1.1 cbgt backports (#6273)

CB robot April 8, 2024 at 8:21 PM

Build sync_gateway-3.2.0-344 contains sync_gateway commit 484e629 with commit message:
3.1.1 cbgt backports (#6273)

CB robot April 8, 2024 at 7:41 PM

Build sync_gateway-3.2.0-342 contains sync_gateway commit 484e629 with commit message:
3.1.1 cbgt backports (#6273)

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

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 25, 2023 at 10:38 PM
Updated August 31, 2024 at 10:58 AM
Resolved May 31, 2023 at 4:29 PM
Instabug