]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: fix thread naming
authorJohn Spray <john.spray@redhat.com>
Thu, 12 Oct 2017 17:14:02 +0000 (13:14 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 1 Nov 2017 23:03:29 +0000 (23:03 +0000)
commit642a26dfcd9bef06fceb119008f5c3078bbf10e7
tree02ac499be1d8c36ccc8cea2db5de96482e480a20
parentf9223ad56d8e01c1f6e8690a6a186d02eed8d96d
mgr: fix thread naming

Was passing a reference to a local stringstream into
Thread::create, not realising that it was taking a char*
reference instead of a copy.  Result was garbage (or usually,
all threads having the name of the last one created)

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit bb4e71ed2ebdee1ac5e4b3eee390060e19fea0d8)
src/mgr/ActivePyModules.cc
src/mgr/StandbyPyModules.cc