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

[BP 6.6 - MB-39527] Add lastGCSn and currSn as MOI storage stats.

    XMLWordPrintable

    Details

    • Triage:
      Untriaged
    • Story Points:
      1
    • Is this a Regression?:
      No

      Description

      Expose lastGCSn and currSn as storage stats.

      With these stats and the num_open_snapshots index stat, the number of open snapshots, closed snapshots and snapshots in memdb's gcsnapshots list can be calculated.

        Attachments

          Issue Links

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

            Activity

            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-6.6.0-7737 contains indexing commit 922f589 with commit message:
            MB-39605 [BP]: Add lastGCSn and currSn in storage stats

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7737 contains indexing commit 922f589 with commit message: MB-39605 [BP] : Add lastGCSn and currSn in storage stats
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-6.6.0-7737 contains nitro commit 1cc0c30 with commit message:
            MB-39605 [BP]: Expose currSn and lastGCSn

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-6.6.0-7737 contains nitro commit 1cc0c30 with commit message: MB-39605 [BP] : Expose currSn and lastGCSn
            Hide
            hemant.rajput Hemant Rajput added a comment -

            Verified with 6.6.0-7816.

             

            lfc@Hemants-MacBook-Pro testrunner % curl -s -v -u Administrator:password http://10.112.190.102:9102/stats/storage 2>/dev/null | jq | grep lastGCSn 

                  "lastGCSn": 381,

            lfc@Hemants-MacBook-Pro testrunner % curl -s -v -u Administrator:password http://10.112.190.102:9102/stats/storage 2>/dev/null | jq | grep currSn  

                  "currSn": 383

             

            Numbers increased after mutations:

             

            lfc@Hemants-MacBook-Pro testrunner % curl -s -v -u Administrator:password http://10.112.190.102:9102/stats/storage 2>/dev/null | jq | grep currSn

                  "currSn": 552

            lfc@Hemants-MacBook-Pro testrunner % curl -s -v -u Administrator:password http://10.112.190.102:9102/stats/storage 2>/dev/null | jq | grep lastGCSn

                  "lastGCSn": 550,

            Show
            hemant.rajput Hemant Rajput added a comment - Verified with 6.6.0-7816.   lfc@Hemants-MacBook-Pro testrunner % curl -s -v -u Administrator:password http://10.112.190.102:9102/stats/storage 2>/dev/null | jq | grep lastGCSn        "lastGCSn": 381, lfc@Hemants-MacBook-Pro testrunner % curl -s -v -u Administrator:password http://10.112.190.102:9102/stats/storage 2>/dev/null | jq | grep currSn         "currSn": 383   Numbers increased after mutations:   lfc@Hemants-MacBook-Pro testrunner % curl -s -v -u Administrator:password http://10.112.190.102:9102/stats/storage 2>/dev/null | jq | grep currSn       "currSn": 552 lfc@Hemants-MacBook-Pro testrunner % curl -s -v -u Administrator:password http://10.112.190.102:9102/stats/storage 2>/dev/null | jq | grep lastGCSn       "lastGCSn": 550,

              People

              Assignee:
              akhil.mundroy Akhil Mundroy
              Reporter:
              akhil.mundroy Akhil Mundroy
              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