You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2011/08/14 18:05:27 UTC
[jira] [Created] (CASSANDRA-3035) [patch] CommitLog.recover creates
potentially many CRC32 objects. Just create one and reset it.
[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
Affects Versions: 0.8.4
Reporter: 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
[jira] [Updated] (CASSANDRA-3035) [patch] CommitLog.recover creates
potentially many CRC32 objects. Just create one and reset it.
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3035:
--------------------------------------
Reviewer: jbellis
Affects Version/s: (was: 0.8.4)
Assignee: Dave Brosius
> [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
[jira] [Commented] (CASSANDRA-3035) [patch] CommitLog.recover
creates potentially many CRC32 objects. Just create one and reset it.
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (CASSANDRA-3035) [patch] CommitLog.recover
creates potentially many CRC32 objects. Just create one and reset it.
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis resolved CASSANDRA-3035.
---------------------------------------
Resolution: Fixed
committed, thanks!
> [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
[jira] [Updated] (CASSANDRA-3035) [patch] CommitLog.recover creates
potentially many CRC32 objects. Just create one and reset it.
Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dave Brosius updated CASSANDRA-3035:
------------------------------------
Attachment: reduce_checksum_creation.diff
> [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
> Affects Versions: 0.8.4
> Reporter: 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