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

SDK3: Timed out operations do not log Response Time Observability info

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • 2.0.0
    • None
    • None

    Description

      Required by the rubric:

      "If you make a request with an abnormally low timeout, do you see in the message returned with the error the requisite information from the Response Time Observability sdk-rfc?"

      I am using code:

      upsertResult, err := collection.Upsert("my-document", map[string]string{"name": "mike"}, &gocb.UpsertOptions{
         Timeout: 1,
      })
      fmt.Println(err)
       

      And just see "operation timed out" logged.

      It's possible this is a factor of my Go ignorance, and perhaps I'm meant to be casting it to a particular sort of error first?

      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-1188 contains gocbcore commit d3f8faa with commit message:
            GOCBC-584: Add extra info to PendingOp

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-1188 contains gocbcore commit d3f8faa with commit message: GOCBC-584 : Add extra info to PendingOp

            Build couchbase-server-6.6.0-7624 contains gocbcore commit d3f8faa with commit message:
            GOCBC-584: Add extra info to PendingOp

            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7624 contains gocbcore commit d3f8faa with commit message: GOCBC-584 : Add extra info to PendingOp

            Build couchbase-server-7.0.0-3115 contains gocb commit 352769c with commit message:
            GOCBC-584: Add enhanced timeout errors

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3115 contains gocb commit 352769c with commit message: GOCBC-584 : Add enhanced timeout errors

            Build sync_gateway-3.0.0-52 contains gocb commit 352769c with commit message:
            GOCBC-584: Add enhanced timeout errors

            build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-52 contains gocb commit 352769c with commit message: GOCBC-584 : Add enhanced timeout errors

            Build sync_gateway-3.0.0-52 contains gocbcore commit d3f8faa with commit message:
            GOCBC-584: Add extra info to PendingOp

            build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-52 contains gocbcore commit d3f8faa with commit message: GOCBC-584 : Add extra info to PendingOp

            People

              charles.dixon Charles Dixon
              graham.pople Graham Pople
              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