ByteYue opened a new pull request, #26814: URL: https://github.com/apache/doris/pull/26814
## Proposed changes Issue Number: close #xxx It would print tons of logs when fs returns error and it's too disk-consuming. This pr tries to disable all the stackprint logic for fs class and it's derivation. This implementation is not the most optimal in terms of performance because the default-constructed Status carries a stack, which consumes a certain amount of memory. However, considering that error conditions are expected to be rare and this implementation requires minimal code modifications, I chose this approach. I would appreciate the reviewer's input: Should I specialize the template to false when constructing Status at each occurrence, or should I keep the current implementation? <!--Describe your changes.--> ## Further comments If this is a relatively large or complex change, kick off the discussion at [[email protected]](mailto:[email protected]) by explaining why you chose the solution you did and what alternatives you considered, etc... -- 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]
