hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Feinberg (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-6508) Filter out edits at log split time
Date Wed, 08 Aug 2012 21:22:21 GMT

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

Alex Feinberg resolved HBASE-6508.
----------------------------------

    Resolution: Fixed

Done. Will be merged to 89-fb overnight. 
                
> Filter out edits at log split time
> ----------------------------------
>
>                 Key: HBASE-6508
>                 URL: https://issues.apache.org/jira/browse/HBASE-6508
>             Project: HBase
>          Issue Type: Improvement
>          Components: master, regionserver, wal
>    Affects Versions: 0.89-fb
>            Reporter: Alex Feinberg
>            Assignee: Alex Feinberg
>             Fix For: 0.89-fb
>
>
> At log splitting time, we can filter out many edits if we have a conservative estimate
of what was saved last in each region.
> This patch does the following:
> 1) When a region server flushes a MemStore to HFile, store the last flushed sequence
id for the region in a map.
> 2) Send the map to master it as a part of the region server report.
> 3) Adds an RPC call in HMasterRegionInterface to allow a region server to query the last
last flushed sequence id for a region.
> 4) Skips any log entry with sequence id lower than last flushed sequence id for the region
during log split time.
> 5) When a region is removed from a region server, removed the the entry for that region
from the map, so that it isn't sent during the next report.
> This can reduce downtime when a regionserver goes down quite a bit.

--
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

        

Mime
View raw message