You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "zclllyybb (via GitHub)" <gi...@apache.org> on 2026/04/15 01:22:05 UTC

[I] [Enhancement] Support print stack API [doris]

zclllyybb opened a new issue, #62497:
URL: https://github.com/apache/doris/issues/62497

   ### Search before asking
   
   - [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Description
   
   In production environments, we often need to print the stack of doris_be, but using methods like pstack is not acceptable because:
   1. It is slow
   2. It might cause the BE to crash
   Therefore, we need a better way to print the stack, limiting the impact on the process to the second/sub-second level, accurate and without crash risk.
   
   ### Solution
   
   Conduct thorough research on mainstream C++ server stack tracing methods, including but not limited to https://github.com/oceanbase/obstack for OceanBase, https://clickhouse.com/docs/operations/system-tables/stack_trace for ClickHouse, and brpc's `/threads` API. Verify their performance and stability in practice. Output research and design documentations.
   Complete the code development and detailed stability verification according to the decided plan.
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Enhancement] Support print stack API [doris]

Posted by "zclllyybb (via GitHub)" <gi...@apache.org>.
zclllyybb closed issue #62497: [Enhancement] Support print stack API
URL: https://github.com/apache/doris/issues/62497


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org