[
https://issues.apache.org/jira/browse/HDDS-2318?focusedWorklogId=330765&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-330765
]
ASF GitHub Bot logged work on HDDS-2318:
----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Oct/19 20:40
Start Date: 18/Oct/19 20:40
Worklog Time Spent: 10m
Work Description: bharatviswa504 commented on pull request #48:
HDDS-2318. Avoid proto::tostring in preconditions to save CPU cycles.
URL: https://github.com/apache/hadoop-ozone/pull/48
----------------------------------------------------------------
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 330765)
Time Spent: 20m (was: 10m)
> Avoid proto::tostring in preconditions to save CPU cycles
> ---------------------------------------------------------
>
> Key: HDDS-2318
> URL: https://issues.apache.org/jira/browse/HDDS-2318
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: Ozone Manager
> Reporter: Rajesh Balamohan
> Assignee: Bharat Viswanadham
> Priority: Major
> Labels: performance, pull-request-available
> Attachments: Screenshot 2019-10-17 at 6.10.22 PM.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> [https://github.com/apache/hadoop-ozone/blob/61f4aa30f502b34fd778d9b37b1168721abafb2f/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/protocolPB/OzoneManagerProtocolServerSideTranslatorPB.java#L117]
>
> This ends up converting proto toString in precondition checks and burns CPU
> cycles. {{request.toString()}} can be added in debug log on need basis.
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]