[
https://issues.apache.org/jira/browse/CASSANDRA-3411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155561#comment-13155561
]
Hudson commented on CASSANDRA-3411:
-----------------------------------
Integrated in Cassandra #1217 (See
[https://builds.apache.org/job/Cassandra/1217/])
Recycle commitlog segments for improved performance
patch by Rick Branson and jbellis for CASSANDRA-3411
jbellis :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1205203
Files :
* /cassandra/trunk/CHANGES.txt
* /cassandra/trunk/NEWS.txt
* /cassandra/trunk/src/java/org/apache/cassandra/db/RowMutation.java
* /cassandra/trunk/src/java/org/apache/cassandra/db/commitlog/CommitLog.java
*
/cassandra/trunk/src/java/org/apache/cassandra/db/commitlog/CommitLogAllocator.java
*
/cassandra/trunk/src/java/org/apache/cassandra/db/commitlog/CommitLogSegment.java
*
/cassandra/trunk/src/java/org/apache/cassandra/service/AbstractCassandraDaemon.java
* /cassandra/trunk/test/unit/org/apache/cassandra/db/CommitLogTest.java
* /cassandra/trunk/test/unit/org/apache/cassandra/db/RecoveryManager2Test.java
* /cassandra/trunk/test/unit/org/apache/cassandra/db/RecoveryManager3Test.java
* /cassandra/trunk/test/unit/org/apache/cassandra/db/RecoveryManagerTest.java
*
/cassandra/trunk/test/unit/org/apache/cassandra/db/RecoveryManagerTruncateTest.java
> Pre-allocated, Recycled Commitlog Segment Files
> -----------------------------------------------
>
> Key: CASSANDRA-3411
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3411
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Reporter: Rick Branson
> Assignee: Rick Branson
> Priority: Minor
> Labels: commitlog
> Fix For: 1.1
>
> Attachments:
> 001-pre-allocated-recycled-commitlog-segment-files-CASSANDRA-3411.patch,
> 003-pre-allocated-recycled-commitlog-segment-files-CASSANDRA-3411.patch,
> 004-pre-allocated-recycled-commitlog-segment-files-CASSANDRA-3411.patch,
> 006-pre-allocated-recycled-commitlog-segment-files-CASSANDRA-3411.patch,
> 3411-cleaned.txt, 3411-v5.txt, 3411-v6-retry.txt, 3411-v7.txt, 3411-v8.txt
>
>
> An approach for improving commitlog performance is to pre-allocate the full
> 128MB segment files and reuse them once all the mutations have been flushed.
> Pre-allocation allows writes to be performed without modifying the file size
> metadata, and should (in theory) allow the filesystem to allocate a
> contiguous block of space for the file. Recycling the segment files prevents
> the overhead of pre-allocation from impacting overall performance.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira