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

[CX] All services do not stop even if you shutdown the cluster using http://localhost:8095/analytics/shutdown?all=true

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • CBAS DP
    • CBAS DP
    • analytics
    • None
    • Analytics version:116
      Couchbase version: 4.7.0-1130
    • Untriaged
    • Centos 64-bit
    • Unknown
    • CX Sprint 24

    Description

      1. stop the cluster using this curl command:
       curl -v -data http://localhost:8095/analytics/shutdown?all=true
      * About to connect() to localhost port 8095 (#0)
      *   Trying ::1... connected
      * Connected to localhost (::1) port 8095 (#0)
      > POST /analytics/shutdown?all=true HTTP/1.1
      > User-Agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.21 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2
      > Host: localhost:8095
      > Accept: */*
      > Content-Length: 3
      > Content-Type: application/x-www-form-urlencoded
      > 
      < HTTP/1.1 202 Accepted
      < Date: Fri, 23 Sep 2016 18:55:36 GMT
      < Content-Type: application/json;charset=utf-8
      < Content-Length: 407
      < Server: Jetty(9.3.11.v20160721)
      < 
      {
          "cluster": {
              "metadata_node": "red",
              "ncs": [
                  {
                      "node_id": "red",
                      "partitions": ["partition_0"]
                  },
                  {
                      "node_id": "blue",
                      "partitions": ["partition_1"]
                  }
              ],
              "state": "UNUSABLE"
          },
          "date": "Fri Sep 23 11:55:36 PDT 2016",
          "status": "SHUTTING_DOWN"
      * Connection #0 to host localhost left intact
      * Closing connection #0
       
       
      2. Now if we do jps, we see:
      [root@localhost bin]# jps
      3139 Jps
      2408 NCDriver
      2281 NCService
      2282 NCService
      2413 NCDriver
       
      Only CCDriver got stopped and not all services.
      

      Attachments

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

        Activity

          People

            michael.blow Michael Blow
            Prerna.Manaktala Prerna Manaktala (Inactive)
            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