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

Restarting couchbase service when existing service is "stuck" causes problems and beam crash without user knowin

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • bug-backlog
    • 2.2.0, 3.0
    • installer
    • Security Level: Public
    • CentOS 6.4

    Description

      To reproduce:
      Start Couchbase node normally
      Use kill -STOP <pid> on both beam.smp processes to simulate stuck process
      Run: /etc/init.d/couchbase-server restart
      Note that the "stop" says failed, but the "start" says okay:
      [root@cb1 couchbase]# /etc/init.d/couchbase-server restart
      Stopping couchbase-serverNOTE: shutdown failed

      {badrpc,nodedown}

      Starting couchbase-server [ OK ]

      There is now an erl_crash log present in /opt/couchbase/var/lib/couchbase.

      To the user, Couchbase should not have been able to start if it was not able to stop properly. I've seen the same behavior except where the Stop doesn't not show an error, leading the user to even more confusion.

      Attachments

        Issue Links

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

          Activity

            People

              alkondratenko Aleksey Kondratenko (Inactive)
              perry Perry Krug
              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