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

FTS metrics took parsed incorrectly

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.2.4, 2.3.0
    • None
    • None
    • 1

    Description

      When we parse the `took` field in the fts JSON response we parse it as

      metrics.Took = time.Duration(data.Took) * time.Microsecond
      

      It should actually be

      metrics.Took = time.Duration(r.data.Took) / time.Nanosecond
      

      Attachments

        Issue Links

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

          Activity

            Build sync_gateway-3.0.0-225 contains gocb commit 38b86b3 with commit message:
            GOCBC-1100: Update parsing for search query metadata field Took

            build-team Couchbase Build Team added a comment - Build sync_gateway-3.0.0-225 contains gocb commit 38b86b3 with commit message: GOCBC-1100 : Update parsing for search query metadata field Took

            Build couchbase-server-7.1.0-2094 contains gocb commit 187c71b with commit message:
            GOCBC-1100: Update parsing for search query metadata field Took

            build-team Couchbase Build Team added a comment - Build couchbase-server-7.1.0-2094 contains gocb commit 187c71b with commit message: GOCBC-1100 : Update parsing for search query metadata field Took

            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