Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-12144

REST API doesn't always return 60 stat entries

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.0.0
    • 2.5.1, 3.0.1
    • RESTful-APIs
    • Security Level: Public
    • Triaged
    • Unknown

    Description

      The output of the REST API stats doesn't always return 60 entries for each stat.. sometimes 59 or 61 are returned.

      for i in

      {1..1000}

      ; do /opt/couchbase/bin/curl localhost:8091/pools/default/buckets/default/stats 2>/dev/null| cut -d":" -f4 | cut -d \" -f1 | tr , "\n" | grep -v '^$' | wc -l | grep -v 60 ; done

      Attachments

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

        Activity

          People

            artem Artem Stemkovski
            ianmccloy Ian McCloy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty