charlesconnell opened a new pull request, #6742: URL: https://github.com/apache/hbase/pull/6742
I've noticed that tracing can add meaning CPU cycles to each HBase query. This is easy to correct, it turns out. Creating a tracing span is slow because region names are attached to the spans, and calls to `RegionInfo#getRegionNameAsString()` are expensive. This method re-generates the region name string on each call, which is not necessary. In this PR I make it cache this string. -- 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]
