Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-25919

Change the default timeout for waiting for a connection from pool

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 4.6.3
    • go-couchbase
    • None

    Description

      During Fetch operation Query Service uses connection pool to KV The time out for that is 30 days non configurable at present.
      https://github.com/couchbase/go-couchbase/blob/master/conn_pool.go#L26

      Waiting 30 days for a connection to timeout would give the impression that the thread has locked up. A more sane default should be used and this option should be configurable.

      It might also be a good idea to see what the official SDK does here if it has pools and match the behaviour.

      Attachments

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

        Activity

          People

            pvarley Patrick Varley (Inactive)
            pvarley Patrick Varley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty