ZhengweiZhu commented on issue #2983:
URL: https://github.com/apache/brpc/issues/2983#issuecomment-3388733086

   According to my test, when the tracer attempts to trace the bthread in 
TASK_STATUS_JUMPING status, it's prone to deadlock. The easy workaround is not 
to support the tracing of bthread in TASK_STATUS_JUMPING status and just return 
an error msg like below, instead of waiting for jumping.  I think it's just 
fine and no regression. 
   
   
https://github.com/apache/brpc/blob/4eeb5e260af165291f95f30f0fa64f9ff67ba192/src/bthread/task_tracer.cpp#L259C1-L270C6


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to