Uploaded image for project: 'Kotlin Couchbase Client'
  1. Kotlin Couchbase Client
  2. KCBC-100

Add optional Cluster instance limit

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 1.0.4
    • None
    • None
    • None
    • 1
    • SDK32

    Description

      Suggested release note:

      Added two new global config properties to help diagnose leaked Cluster instances:

      `Cluster.maxAllowedInstances` is the number of connected Cluster instances that may exist at the same time. Calling `Cluster.connect` after this limit is reached will either fail or log a warning, depending on the value of the new `Cluster.failIfInstanceLimitReached` property. The default values log a warning if more than 1 Cluster is connected at a time.

      Attachments

        Issue Links

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

          Activity

            People

              david.nault David Nault
              david.nault David Nault
              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