hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "binlijin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16717) Reuse DataChecksum
Date Tue, 27 Sep 2016 12:31:20 GMT

    [ 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)

Mime
View raw message