Details
-
Bug
-
Resolution: Fixed
-
Major
-
4.0.0
-
Security Level: Public
-
Untriaged
-
Ubuntu 64-bit
-
Yes
-
KV: Oct 25 - Nov 14
Description
the cb_set_thread_name() function was added in 4.0 to assist in understanding memcached's behaviour by allowing all threads to be given a name.
Unfortunately a patch to solve a SuSE build break caused it to accidentally become a no-op on Linux platforms, meaning the thread names are not reported - see http://review.couchbase.org/51711
The issue is that cb_pthreads.c doesn't include platform/internal_config.h, so HAVE_PTHREAD_SETNAME_NP is always undefined.