hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6813) Optimise the time spent holding the updateLock under log roll
Date Sun, 24 Mar 2013 10:43:15 GMT

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

Ted Yu commented on HBASE-6813:
-------------------------------

W.r.t. the first write to the block, do you have quantitative measure how slow it is ?

Thanks
                
> Optimise the time spent holding the updateLock under log roll
> -------------------------------------------------------------
>
>                 Key: HBASE-6813
>                 URL: https://issues.apache.org/jira/browse/HBASE-6813
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Amitanand Aiyer
>            Assignee: Amitanand Aiyer
>            Priority: Minor
>             Fix For: 0.89-fb
>
>
> Log roll entails syncing the old log, closing it and creating a new log file.
> We currently do all the 3 steps while holding the updateLock. This causes latency spikes
for puts during this time.
> We only need to sync the old log under the lock. Creating the new file, can be done before
grabbing the lock. Closing the old file can be done after we release the lock.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message