You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2014/05/02 06:22:15 UTC

[jira] [Created] (HBASE-11109) flush region sequence id may not be larger than all edits flushed

stack created HBASE-11109:
-----------------------------

             Summary: flush region sequence id may not be larger than all edits flushed
                 Key: HBASE-11109
                 URL: https://issues.apache.org/jira/browse/HBASE-11109
             Project: HBase
          Issue Type: Sub-task
          Components: wal
    Affects Versions: 0.99.0
            Reporter: stack
            Assignee: stack
            Priority: Critical
             Fix For: 0.99.0


This was found by [~jeffreyz]  See parent issue.  We have this issue since we put the ring buffer/disrupter into the WAL (HBASE-10156).

An edits region sequence id is set only after the edit has traversed the ring buffer.  Flushing, we just up whatever the current region sequence id is.  Crossing the ring buffer may take some time and is done by background threads.  The flusher may be taking the region sequence id though edits have not yet made it across the ringbuffer: i.e. edits that are actually scoped by the flush may have region sequence ids in excess of that of the flush sequence id reported.

The consequences are not exactly clear.  Would rather not have to find out so lets fix this here.



--
This message was sent by Atlassian JIRA
(v6.2#6252)