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

Persist rollbacks stats in case of indexer crash - needed for verification

    XMLWordPrintable

Details

    • 1

    Description

      Killing an indexer or indexer crash resets all the rollback stats. We need to persists these stats for QE validation as in certain scenario we do comparisons between stats value before and after indexer kill/crash for recovery.

       

      hemantrajput@LFC testrunner % curl -s -v -u Administrator:password http://10.112.205.101:9102/stats 2>/dev/null | jq | grep num_rollbacks 
        "MAINT_STREAM:default:num_rollbacks": 2,
        "MAINT_STREAM:default:num_rollbacks_to_zero": 1,
      hemantrajput@LFC testrunner % ssh root@10.112.205.101                                                                                     
      Last login: Fri Sep  3 07:29:24 2021 from 10.112.205.1
      [root@node1-cb660-centos7 ~]# pgrep indexer
      25923
      [root@node1-cb660-centos7 ~]# kill -9 25923
      [root@node1-cb660-centos7 ~]# exit
      logout
      Connection to 10.112.205.101 closed.
      hemantrajput@LFC testrunner % curl -s -v -u Administrator:password http://10.112.205.101:9102/stats 2>/dev/null | jq | grep num_rollbacks 
        "MAINT_STREAM:default:num_rollbacks": 0,
        "MAINT_STREAM:default:num_rollbacks_to_zero": 0,
      hemantrajput@LFC testrunner % 

      Attachments

        Issue Links

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

          Activity

            hemant.rajput Hemant Rajput created issue -
            jeelan.poola Jeelan Poola made changes -
            Field Original Value New Value
            Fix Version/s Neo [ 17615 ]
            Fix Version/s 7.0.2 [ 18012 ]
            jeelan.poola Jeelan Poola made changes -
            Issue Type Improvement [ 4 ] Bug [ 1 ]
            jeelan.poola Jeelan Poola made changes -
            Summary Persist rollbacks stats in case of indexer crash Persist rollbacks stats in case of indexer crash - needed for verification
            jeelan.poola Jeelan Poola made changes -
            Assignee Jeelan Poola [ jeelan.poola ] Varun Velamuri [ varun.velamuri ]
            jeelan.poola Jeelan Poola made changes -
            Fix Version/s 7.0.2 [ 18012 ]
            jeelan.poola Jeelan Poola made changes -
            Link This issue is cloned by MB-48336 [ MB-48336 ]
            jeelan.poola Jeelan Poola made changes -
            Fix Version/s 7.0.2 [ 18012 ]
            varun.velamuri Varun Velamuri made changes -
            Assignee Varun Velamuri [ varun.velamuri ] Hemant Rajput [ hemant.rajput ]
            Resolution Fixed [ 1 ]
            Status Open [ 1 ] Resolved [ 5 ]
            hemant.rajput Hemant Rajput made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

            People

              hemant.rajput Hemant Rajput
              hemant.rajput Hemant Rajput
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty