cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-3035) [patch] CommitLog.recover creates potentially many CRC32 objects. Just create one and reset it.
Date Mon, 15 Aug 2011 05:16:27 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084965#comment-13084965
] 

Hudson commented on CASSANDRA-3035:
-----------------------------------

Integrated in Cassandra-0.8 #279 (See [https://builds.apache.org/job/Cassandra-0.8/279/])
    re-use CRC32 object on replay
patch by Dave Brosius; reviewed by jbellis for CASSANDRA-3035

jbellis : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1157708
Files : 
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/commitlog/CommitLog.java


> [patch] CommitLog.recover creates potentially many CRC32 objects. Just create one and
reset it.
> -----------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-3035
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3035
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 0.8.5
>
>         Attachments: reduce_checksum_creation.diff
>
>
> code calls new CRC32() potentially a lot in loops, just create once and do reset()

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message