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

Sync client can deadlock on op timeout

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.1
    • Component/s: None
    • Labels:
      None
    • Story Points:
      1

      Description

      When doRequest times out in sync client it triggers a deadlock between writing to the signal in the Cancel callback and waiting for the same signal after triggering the cancel.

        Attachments

          Issue Links

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

            Activity

            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-7.0.0-1375 contains gocbcore commit 3e3af7a with commit message:
            GOCBC-796: Prevent sync client from deadlocking on op timeout

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1375 contains gocbcore commit 3e3af7a with commit message: GOCBC-796 : Prevent sync client from deadlocking on op timeout
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-6.6.0-7624 contains gocbcore commit 3e3af7a with commit message:
            GOCBC-796: Prevent sync client from deadlocking on op timeout

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7624 contains gocbcore commit 3e3af7a with commit message: GOCBC-796 : Prevent sync client from deadlocking on op timeout
            Hide
            build-team Couchbase Build Team added a comment -

            Build sync_gateway-3.0.0-52 contains gocbcore commit 3e3af7a with commit message:
            GOCBC-796: Prevent sync client from deadlocking on op timeout

            Show
            build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-52 contains gocbcore commit 3e3af7a with commit message: GOCBC-796 : Prevent sync client from deadlocking on op timeout

              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