Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-925

.NET Client 2.1.1 leaks connections when bucket does not exist

    XMLWordPrintable

    Details

      Description

      If the .NET Couchbase Client attempts to .GetBucket() on a bucket that's in the configuration, but does not exist, the client will throw an AggregateException. Additionally, the client will leak connections (equal to the min pool size) for every attempt.

      This is easily duplicated with the test project I've attached.

      To do so, just ensure that bucket4 doesn't exist (or change to use bucketNE).

        Attachments

          Issue Links

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

            Activity

            Hide
            jmorris Jeff Morris added a comment -

            @Unhuman -

            Thanks for reporting; were planning on refactoring the bootstrapping logic in the near future, so we'll take care of this then.

            -Jeff

            Show
            jmorris Jeff Morris added a comment - @Unhuman - Thanks for reporting; were planning on refactoring the bootstrapping logic in the near future, so we'll take care of this then. -Jeff

              People

              • Assignee:
                jmorris Jeff Morris
                Reporter:
                unhuman unhuman
              • 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

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.