[
https://issues.apache.org/jira/browse/HBASE-16717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15525971#comment-15525971
]
binlijin commented on HBASE-16717:
----------------------------------
Do with a minor test, it is hard too say which is the best, so close this.
> Reuse DataChecksum
> ------------------
>
> Key: HBASE-16717
> URL: https://issues.apache.org/jira/browse/HBASE-16717
> Project: HBase
> Issue Type: Improvement
> Reporter: binlijin
> Priority: Minor
> Attachments: HBASE-16717-master.patch
>
>
> Every time to generateChecksums or validateChecksum will create a new
> DataChecksum, and DataChecksum is not thread safe, so use ThreadLocal to
> reuse it and keep thread safe.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)