[MB-3628] memcached process is not killed when uninstall is run when memcached persistent queue is still processing data Created: 15/Apr/11  Updated: 18/Jun/13  Resolved: 16/May/11

Status: Closed
Project: Couchbase Server
Component/s: couchbase-bucket
Affects Version/s: 1.7 alpha 1
Fix Version/s: None
Security Level: Public

Type: Bug Priority: Major
Reporter: Thuan Nguyen Assignee: Steve Yen
Resolution: Won't Fix Votes: 0
Labels: 1.7.0-release-notes, 1.7.1-release-notes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: ubuntu 10.04 64bit

Release Note

When uninstall membase server version membase-server-enterprise_x86_64_v0.0.0-176-g1a77283.deb, the uninstall proccess does not kill memcached.

Comment by Thuan Nguyen [ 15/Apr/11 ]
Test on build 177. I don't see memcached process after uninstall membase server
Comment by Thuan Nguyen [ 03/May/11 ]
I still see membase serice after uninstall membase server version basestar-182 in ubuntu 1004 32bit
Comment by Steve Yen [ 06/May/11 ]
The remaining process is an epmd process, which is not the memcached process, but is instead the erlang port mapper daemon (epmd).

There's already some older bug which covers the issue that epmd is still running after an uninstall on linux, so marking this one as a duplicate.
Comment by Steve Yen [ 07/May/11 ]
Hearing more instances of this still since yesterday.

Farshid is adding 'ps' output to the test suite so we can get more proof.
Comment by Farshid Ghods (Inactive) [ 16/May/11 ]
this behavior is expected so that we dont lose any data during uninstallation.
the workaround is that the user
1- do not uninstall membase if its still processing data in the persisten queue
2- run killall -9 memcached after uninstall but before reinstallation
Comment by Steve Yen [ 16/May/11 ]
Killing memcached harshly would lose customer data (items in the persistence queue that are still waiting to drain to disk).

Although an uninstall is a strong user command, the "do no harm (do no data loss)" philosophy seems to be the safe choice.
Generated at Thu Dec 18 19:49:06 CST 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.