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

FTS metrics took parsed incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.2.4, 2.3.0
    • None
    • 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

            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