[ 
https://issues.apache.org/jira/browse/KAFKA-1646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jun Rao resolved KAFKA-1646.
----------------------------
       Resolution: Fixed
    Fix Version/s: 0.8.3
         Assignee: Honghai Chen  (was: xueqiang wang)

Thanks for the patch. Sorry for the delay. +1. Committed to trunk after fixing 
a compilation error.

:core:compileTestScala/Users/junrao/intellij/kafka/core/src/test/scala/unit/kafka/log/LogSegmentTest.scala:233:
 type mismatch;
 found   : Long
 required: Int
    val seg = new LogSegment(tempDir, offset, 10, 1000, 0, SystemTime, 
fileAlreadyExists = fileAlreadyExists, initFileSize = initFileSize, preallocate 
= preallocate)
                                                                                
                                             ^
one error found
 FAILED


> Improve consumer read performance for Windows
> ---------------------------------------------
>
>                 Key: KAFKA-1646
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1646
>             Project: Kafka
>          Issue Type: Improvement
>          Components: log
>    Affects Versions: 0.8.1.1
>         Environment: Windows
>            Reporter: xueqiang wang
>            Assignee: Honghai Chen
>              Labels: newbie, patch
>             Fix For: 0.8.3
>
>         Attachments: Improve consumer read performance for Windows.patch, 
> KAFKA-1646-truncate-off-trailing-zeros-on-broker-restart-if-bro.patch, 
> KAFKA-1646_20141216_163008.patch, KAFKA-1646_20150306_005526.patch, 
> KAFKA-1646_20150511_AddTestcases.patch, 
> KAFKA-1646_20150609_MergeToLatestTrunk.patch, 
> KAFKA-1646_20150616_FixFormat.patch, KAFKA-1646_20150618_235231.patch
>
>
> This patch is for Window platform only. In Windows platform, if there are 
> more than one replicas writing to disk, the segment log files will not be 
> consistent in disk and then consumer reading performance will be dropped down 
> greatly. This fix allocates more disk spaces when rolling a new segment, and 
> then it will improve the consumer reading performance in NTFS file system.
> This patch doesn't affect file allocation of other filesystems, for it only 
> adds statements like 'if(Os.iswindow)' or adds methods used on Windows.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to