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

Race between timer set and cancellation

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.2
    • None
    • None
    • 1

    Description

      There's a race that can occur between setting the timer on a request and accessing that time to cancel it in request cancel if the deadline has already occurred. We need to somehow not race this ideally without a lock.

      Attachments

        Issue Links

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

          Activity

            Build couchbase-server-7.0.0-2465 contains gocbcore commit 94d6147 with commit message:
            GOCBC-894: Set request timer after request queued

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-2465 contains gocbcore commit 94d6147 with commit message: GOCBC-894 : Set request timer after request queued

            Build couchbase-server-6.6.0-7846 contains gocbcore commit 94d6147 with commit message:
            GOCBC-894: Set request timer after request queued

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7846 contains gocbcore commit 94d6147 with commit message: GOCBC-894 : Set request timer after request queued

            Build sync_gateway-3.0.0-52 contains gocbcore commit 94d6147 with commit message:
            GOCBC-894: Set request timer after request queued

            build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-52 contains gocbcore commit 94d6147 with commit message: GOCBC-894 : Set request timer after request queued

            People

              charles.dixon Charles Dixon
              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