DESCRIPTION

CBST-19: improve process/thread management

1) use super.terminate() to kill proc
started noticing lots of consumer processes while running
test with 10 phases.  this is because the processes accumulated
without calling terminate() in the parent
2) catch NetworkError exception, these do not merrit restarting thread
3) flush hotset only when client thread dies/stopped

Change-Id: I75644876828a1f1b345df418ee0b7b561ae9a860
Reviewed-on: http://review.couchbase.org/30548
Reviewed-by: Amani Conrad <Amani xxx@xxx.xxx
Tested-by: Titus Ho <Titus xxx@xxx.xxx


COMMENTS

author: Titus Ho
date: 2013-11-25 21:56:15.896000000

Change has been successfully cherry-picked as aeb8dee6db9c138a9ea3a4052e9350faef645155

-------------------------------------
