PFZheng commented on issue #1085: PrometheusMetricsService造成死锁
URL: https://github.com/apache/incubator-brpc/issues/1085#issuecomment-613791852
 
 
   > > > > @PFZheng 这个fix就是避免在回调中使用bthread mutex么?
   > > > > @crystalyouth 能看下thread 7中的mutex指针和其他线程中的是同一个么?
   > > > 
   > > > 
   > > > 现场已经恢复了,而且没有符号表,所以也看不到变量的地址。后续我们会尝试复现,有进展会更新。
   > > 
   > > 
   > > 你可以确认下我说的这个问题,查找一下代码里所有的PassiveStatus,如果有的话,大概率就是这个了
   > 
   > 我们自己的SDK中只有一处用到了bvar::PassiveStatusstd::string,对应的回调只是一个简单的取值
   > 
   > ```c++
   > static void GetStringValue(std::ostream& os, void* arg) {
   >     os << *static_cast<std::string*>(arg);
   > }
   > ```
   > 
   > 这里没有用到锁。
   
   那不是这个问题

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to