History log of /6.0.3/kv_engine/daemon/parent_monitor.h (Results 1 - 2 of 2)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v7.0.2, v6.6.3, v7.0.1, v7.0.0, v6.6.2, v6.5.2, v6.6.1, v6.0.5, v6.6.0, v6.5.1, v6.0.4, v6.5.0, v6.0.3, v5.5.4, v5.5.5, v5.5.6, v6.0.1, v5.5.3, v6.0.0, v5.1.3, v5.5.2, v5.5.1, v5.1.2, v5.1.1, v5.0.1, v5.1.0, v5.0.0, v4.6.2_ep, v4.6.2_mc, v4.6.1_ep, v4.6.0_ep, v4.5.1-MP1_mc, v4.6.0-DP_mc, v4.6.0-DP_ep, v4.5.1-MP1_ep, v4.1.2-MP2_mc
# 64c7bdb2 07-Sep-2016 Trond Norbye <trond.norbye@gmail.com>

Print a message to stderr if parent dies

The parent monitor is used by our test framework to have memcached
clean up after itself if the process starting it dies.

Change-Id: If8

Print a message to stderr if parent dies

The parent monitor is used by our test framework to have memcached
clean up after itself if the process starting it dies.

Change-Id: If8205c2badd846bba74f7ba1b9c4dd1ac8cf1fc6
Reviewed-on: http://review.couchbase.org/67436
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: buildbot <build@couchbase.com>

show more ...


# 3d5e6de4 06-Sep-2016 Dave Rigby <daver@couchbase.com>

MB-20794: Join parent monitor thread before shutdown

Currently the parent monitor thread in memcached is created detached,
this means that we do not get a chance to clean it up before

MB-20794: Join parent monitor thread before shutdown

Currently the parent monitor thread in memcached is created detached,
this means that we do not get a chance to clean it up before
shutdown. Historically hasn't really mattered, however with the
introduction of phosphor event tracing and registering all thread with
Phosphor we allocate memory (for the thread's name) as part of thread
creation.

To ensure this memory is not leaked on shutdown (creating Valgrind
warnings), do not dettach parent monitor and join it before shutdown.

Change-Id: Ic9f5f6792b6cc6667fa64f90cacbc9bb851b042a
Reviewed-on: http://review.couchbase.org/67387
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>

show more ...