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

Query timeout is not sent to the server

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.0.2
    • None
    • None
    • None
    • master

    Description

      The 75s query timeout for the server is not sent on the request which is same as the client timeout for long running queries.

      POST /query/service HTTP/1.1
      Host: 172.23.107.59:8093
      User-Agent: Go 1.1 package http
      Content-Length: 109
      Authorization: Basic c2FzbDpzZWNyZXQ=
      Content-Type: application/json
      Accept-Encoding: gzip

      {"statement":"PREPARE select distinct field1 from `protected` where field3=[\"test\", \"test2\"] and field2=$val"}

      HTTP/1.1 200 OK
      Content-Length: 6792
      Content-Type: application/json; version=1.0.0
      Date: Fri, 30 Oct 2015 23:54:11 GMT

      Attachments

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

        Activity

          People

            mnunberg Mark Nunberg (Inactive)
            subhashni Subhashni Balakrishnan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty