Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
Description
Per our conversation with Ram Dhakne yesterday, we'd like to request an improvement that guarantees couchbase-server -k will return and that all couchbase processes will be stopped when it does.
To reproduce, send SIGSTOP to memcached.bin to emulate a wedged state and run couchbase-server -k; it will hang indefinitely.
[thendric@thendric-ld1 bin]$ pgrep memcached.bin
|
69978
|
[thendric@thendric-ld1 bin]$ kill -SIGSTOP 69978
|
[thendric@thendric-ld1 bin]$ time ./couchbase-server -k
|
^C
|
BREAK: (a)bort (c)ontinue (p)roc info (i)nfo (l)oaded
|
(v)ersion (k)ill (D)b-tables (d)istribution
|
a
|
|
real 2m32.747s
|
user 0m0.206s
|
sys 0m0.075s
|
|
Desired behavior: couchbase-server -k returns after some predetermined (or specifiable via CLI args) timeout, having sent SIGKILL when required to force couchbase processes offline.