[ 
https://issues.apache.org/jira/browse/HBASE-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12665594#action_12665594
 ] 

Jim Kellerman commented on HBASE-1138:
--------------------------------------

If we make the default block size 1MB, and we write 819200 records of ~1KB, 
sync-ing after each 100 writes, we can read 815002 records if the writer 
crashes after writing 819200 records.

This increases our record read ability from 84% to 99%.

If users have a record length different from 1KB, they can adjust 
hbase.regionserver.hlog.blocksize (default = 1048576) to achieve similar 
results.

Patch follows.


> Test that readers opened after a sync can see all data up to the sync
> ---------------------------------------------------------------------
>
>                 Key: HBASE-1138
>                 URL: https://issues.apache.org/jira/browse/HBASE-1138
>             Project: Hadoop HBase
>          Issue Type: Test
>          Components: regionserver, test
>    Affects Versions: 0.19.0
>            Reporter: Jim Kellerman
>             Fix For: 0.19.1, 0.20.0
>
>
> Test that readers opened on a file after it has been synced can see all the 
> records prior to the sync.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to