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

startup and shutdown scripts - need to allow for a graceful shutdown and notify user if the process is still up and running.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.5.0
    • None
    • installer
    • Security Level: Public
    • None
    • Untriaged

    Description

      currently the shutdown function in the linux init script does a kill on the membase-server process
      DAEMON=/opt/membase/bin/membase-server
      PIDFILE=/opt/membase/var/lib/membase/membase-server.pid

      However, the memcached process continues to run in some cases and the script reports successful in terms of shutting down membase. This can be misleading as memcached may be working off the disk write queue. This can be problematic in cases where the user thinks its safe to shutdown the machine or even re-install when the process is still doing something.

      please modify the script so that it either:

      • does not return a successful stop if memcached is still running
      • or allow memcached to finish gracefully and report that instead of firing off a kill to the parent process.

      Attachments

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

        Activity

          People

            steve Steve Yen
            alex Alex Ma [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty