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.
Attachments
For Gerrit Dashboard: MB-16688 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
56557,2 | MB-16688: Fix cb_set_thread_name() on Linux platforms | sherlock | platform | Status: MERGED | +2 | +1 |
56857,1 | Merge remote-tracking branch 'couchbase/sherlock' | master | platform | Status: MERGED | +2 | +1 |