this case could occur in many places
1- when node is waming up and ns-server sneds a shutdown command to delete the bucket during warmup
2- when node is warming up ( a failed over node ) ns-server sends a shutdown command to delete the bucket
3- when a node which was rebalanced out but for some reason memcached is still doing sth , ns-server sends a shut down command
scenario #2 is very very common and in large environments where warm up takes 8 hours or so user will keep retrying the rebalance button and it wont succeed unless user manually kills the memcached process manually by running kill command.
in general ep-engine needs to abort instead of crashing
on the other hand during normal shutdown , when ns-server sends a command to ep-engine to shut down . ep-engine should wait until all items are flushed and then shutdown.
seems like we need to differentiate a command that says shut down gracefully or shut down with force.
some of the bugs :
|For Gerrit Dashboard: &For+MB-7272=message:MB-7272|
|23050,1||MB-7272 stop warmup task immediately if shutdown is being requested||ep-engine||Status: ABANDONED||-1||0|
|23054,1||MB-7272 stop warmup task immediately if shutdown is being requested||ep-engine||Status: ABANDONED||-1||0|
|23109,1||MB-7272 stop warmup task immediately if shutdown is being requested||ep-engine||Status: ABANDONED||0||0|
|Field||Original Value||New Value|
|Assignee||Chiyoung Seo [ chiyoung ]||Jin Lim [ jin ]|
|Fix Version/s||2.0 [ 10114 ]|
|Fix Version/s||2.0.1 [ 10399 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|