If an edits file has more edits in it than expected by its name, should trigger 
an error
----------------------------------------------------------------------------------------

                 Key: HDFS-3069
                 URL: https://issues.apache.org/jira/browse/HDFS-3069
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: name-node
    Affects Versions: 0.23.0, 0.24.0
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon


In testing what happens in HA split brain scenarios, I ended up with an edits 
log that was named edits_47-47 but actually had two edits in it (#47 and #48). 
The edits loading process should detect this situation and barf. Otherwise, the 
problem shows up later during loading or even on the next restart, and is tough 
to fix.

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

        

Reply via email to