Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-2909

Query Metrics not included if metrics(true)

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 3.1.7
    • 3.2.0
    • None
    • 1

    Description

      I was testing related functionality, and tried to include the metrics. Even though I set it to true no metrics are included for some reason (see screenshot).

      Did I do something wrong or is this a legit bug?

      Attachments

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

        Activity

          jmorris Jeff Morris added a comment -

          This actually isn't a bug, you need to iterate the enumerable before its populated:

          jmorris Jeff Morris added a comment - This actually isn't a bug, you need to iterate the enumerable before its populated:

          Jeff Morris would it make sense to throw an exception instead of returning 0 / default values? Then it's clear that you need to iterate first.

          daschl Michael Nitschinger added a comment - Jeff Morris would it make sense to throw an exception instead of returning 0 / default values? Then it's clear that you need to iterate first.

          Jeff Morris this is listed in 3.2.0 release notes, I'll remove as it's marked "Incomplete", is there ongoing work being tracked elsewhere?

          hakim.cassimally Hakim Cassimally added a comment - Jeff Morris  this is listed in 3.2.0 release notes, I'll remove as it's marked "Incomplete", is there ongoing work being tracked elsewhere?

          People

            jmorris Jeff Morris
            daschl Michael Nitschinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty