You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "szetszwo (via GitHub)" <gi...@apache.org> on 2025/10/01 15:37:09 UTC

[PR] HDDS-13727. Use TextFormat.shortDebugString(..) in processForDebug(..) methods. [ozone]

szetszwo opened a new pull request, #9085:
URL: https://github.com/apache/ozone/pull/9085

   
   ## What changes were proposed in this pull request?
   
   The processForDebug(..) methods currently return proto objects. Then, the proto object is printed using the toString() method which will generate multiple lines for a single object. Let's change the processForDebug(..) methods to return String and use TextFormat.shortDebugString(..).
   
   ## What is the link to the Apache JIRA
   
   HDDS-13727
   
   ## How was this patch tested?
   
   By updating existing tests.


-- 
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: issues-unsubscribe@ozone.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-13727. Use TextFormat.shortDebugString(..) in processForDebug(..) methods. [ozone]

Posted by "szetszwo (via GitHub)" <gi...@apache.org>.
szetszwo commented on PR #9085:
URL: https://github.com/apache/ozone/pull/9085#issuecomment-3361607241

   @adoroszlai , thanks a lot for reviewing this!


-- 
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: issues-unsubscribe@ozone.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-13727. Use TextFormat.shortDebugString(..) in processForDebug(..) methods. [ozone]

Posted by "szetszwo (via GitHub)" <gi...@apache.org>.
szetszwo merged PR #9085:
URL: https://github.com/apache/ozone/pull/9085


-- 
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: issues-unsubscribe@ozone.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org