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

stats_archives.json can be generated as invalid JSON

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0.1, 5.1.3
    • 6.0.0, 5.5.0
    • ns_server
    • None
    • Untriaged
    • Unknown

    Description

      There have been examples where stats_archives.json has been generated as invalid json, this means it is not usable to parse out stats.

      Specifically, this is because extra brackets are added between the different 'zooms', for example:

        {
          "year": {
            "status": "ok",
            "samples": [
            
            ...
       
           ]
          }
        },
        {
          "minute": {
            "status": "ok",
            "samples": [
      ...
      

      Attachments

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

        Activity

          Steve Watanabe- Can you please take a look at this?

          ajit.yagaty Ajit Yagaty [X] (Inactive) added a comment - Steve Watanabe - Can you please take a look at this?
          Aliaksey Artamonau Aliaksey Artamonau (Inactive) added a comment - This was fixed long ago: http://review.couchbase.org/#/c/90293/

          Provided logs are from 5.0.1 and 5.1.1. The fix went into 5.5.0 and 6.0.

          Aliaksey Artamonau Aliaksey Artamonau (Inactive) added a comment - Provided logs are from 5.0.1 and 5.1.1. The fix went into 5.5.0 and 6.0.

          I believe that at the time when I came across the issue, mortimer was not using stats_archives.json. That's why nobody noticed for such a long time.

          Aliaksey Artamonau Aliaksey Artamonau (Inactive) added a comment - I believe that at the time when I came across the issue, mortimer was not using stats_archives.json. That's why nobody noticed for such a long time.

          Cheers for the clarification, tried to search JIRA for a similar problem but not gerrit directly.

          matt.carabine Matt Carabine added a comment - Cheers for the clarification, tried to search JIRA for a similar problem but not gerrit directly.
          steve.watanabe Steve Watanabe added a comment - Thanks Aliaksey Artamonau . 

          People

            Aliaksey Artamonau Aliaksey Artamonau (Inactive)
            matt.carabine Matt Carabine
            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