Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-3038

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

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 3.1.1
    • None
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 126
    • 1

    Description

      In investigating CBG-2905:

      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 CBG-2982. https://github.com/torcolvin/CBG-2905 contains the reproduction recipe for this.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tor.colvin Tor Colvin
            adamf Adam Fraser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty