Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/22439


Change subject: [maintenance_manager] micro-optimisation on LogPrefix
......................................................................

[maintenance_manager] micro-optimisation on LogPrefix

There is just a single instance of MaintenanceManager per Kudu server,
so it makes sense to store its log prefix as a field and avoid
allocating memory and constructing the string every time a log message
is issued.

This patch doesn't contain any functional modifications.

Change-Id: I40398106af386eb352cef05df7644941a230a468
Reviewed-on: http://gerrit.cloudera.org:8080/22428
Reviewed-by: Ashwani Raina <[email protected]>
Reviewed-by: Mahesh Reddy <[email protected]>
Tested-by: Alexey Serbin <[email protected]>
Reviewed-by: Yifan Zhang <[email protected]>
(cherry picked from commit 691c3e68ecf58c83cbb5fc5448fc2d7a51196311)
---
M src/kudu/util/maintenance_manager.cc
M src/kudu/util/maintenance_manager.h
2 files changed, 5 insertions(+), 5 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/39/22439/1
--
To view, visit http://gerrit.cloudera.org:8080/22439
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: branch-1.18.x
Gerrit-MessageType: newchange
Gerrit-Change-Id: I40398106af386eb352cef05df7644941a230a468
Gerrit-Change-Number: 22439
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to