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

mossScope: sort the stats diag output keys

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 5.0.0
    • fts, mossScope
    • None
    • Untriaged
    • Unknown

    Description

      Got a CBSE and looking at the captured fts_mossScope_stats.log. To help with readability, the stat keys in section mossScope output should be sorted, so that the stats are in regular, predictable positions...

      ==============================================================================
      fts mossScope (/opt/couchbase/var/lib/couchbase/data/@fts/default_index_1_3d72bf97cc8b09b1_7eadfb99.pindex/store)
      ['mossScope', 'stats', 'diag', '/opt/couchbase/var/lib/couchbase/data/@fts/default_index_1_3d72bf97cc8b09b1_7eadfb99.pindex/store']
      ==============================================================================
      mossScope v0.1.0 (moss lib version: 4)
       
      /opt/couchbase/var/lib/couchbase/data/@fts/default_index_1_3d72bf97cc8b09b1_7eadfb99.pindex/store
          total_compaction_decrease_bytes : 0
                          total_val_bytes : 923000
                        total_compactions : 0
          num_last_compaction_after_bytes : 0
            max_compaction_increase_bytes : 0
                           total_persists : 0
         num_last_compaction_before_bytes : 0
                             num_segments : 1
            max_compaction_decrease_bytes : 0
          total_compaction_increase_bytes : 0
                            total_ops_set : 77629
                      num_bytes_used_disk : 3604722
                            total_ops_del : 0
                          total_key_bytes : 1415261
       
      ==============================================================================
      fts mossScope (/opt/couchbase/var/lib/couchbase/data/@fts/default_index_1_3d72bf97cc8b09b1_5622fe7b.pindex/store)
      ['mossScope', 'stats', 'diag', '/opt/couchbase/var/lib/couchbase/data/@fts/default_index_1_3d72bf97cc8b09b1_5622fe7b.pindex/store']
      ==============================================================================
      mossScope v0.1.0 (moss lib version: 4)
       
      /opt/couchbase/var/lib/couchbase/data/@fts/default_index_1_3d72bf97cc8b09b1_5622fe7b.pindex/store
          total_compaction_increase_bytes : 0
                      num_bytes_used_disk : 3711218
          total_compaction_decrease_bytes : 0
                          total_val_bytes : 952636
                             num_segments : 1
                        total_compactions : 0
         num_last_compaction_before_bytes : 0
          num_last_compaction_after_bytes : 0
            max_compaction_decrease_bytes : 0
                            total_ops_set : 79764
                          total_key_bytes : 1456608
                           total_persists : 0
            max_compaction_increase_bytes : 0
                            total_ops_del : 0
      

      Attachments

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

        Activity

          People

            abhinav Abhi Dangeti
            steve Steve Yen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty