Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-363

Stats call can hang

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.1
    • Component/s: None
    • Labels:
      None

      Description

      The Stats call in gocb can sometimes hang. For instance if there are 3 nodes, and 1 is running very slowly then the following can happen: node1 response returns, node2 response returns, node3 response times out. In this scenario as node1 and node2 responses have returned the Cancel() call on the multiop returns false. After this gocb waits for the signal, but it waits indefinitely as the timeout has removed the node3 request from the queue so that request never completes to cause the signal to be fired.

        Attachments

        For Gerrit Dashboard: GOCBC-363
        # Subject Branch Project Status CR V

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-6.5.0-1846 contains gocbcore commit e0c4c91 with commit message:
          GOCBC-363: Prevent Stats call from hanging

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1846 contains gocbcore commit e0c4c91 with commit message: GOCBC-363 : Prevent Stats call from hanging
          Hide
          build-team Couchbase Build Team added a comment -

          Build sync_gateway-2.6.0-2 contains gocbcore commit e0c4c91 with commit message:
          GOCBC-363: Prevent Stats call from hanging

          Show
          build-team Couchbase Build Team added a comment - Build sync_gateway-2.6.0-2 contains gocbcore commit e0c4c91 with commit message: GOCBC-363 : Prevent Stats call from hanging
          Hide
          build-team Couchbase Build Team added a comment -

          Build sync_gateway-2.5.1-8 contains gocbcore commit e0c4c91 with commit message:
          GOCBC-363: Prevent Stats call from hanging

          Show
          build-team Couchbase Build Team added a comment - Build sync_gateway-2.5.1-8 contains gocbcore commit e0c4c91 with commit message: GOCBC-363 : Prevent Stats call from hanging

            People

            • Assignee:
              charles.dixon Charles Dixon
              Reporter:
              charles.dixon Charles Dixon
            • 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.