Todd Lipcon created HDFS-3800:
---------------------------------

             Summary: QJM: improvements to QJM fault testing
                 Key: HDFS-3800
                 URL: https://issues.apache.org/jira/browse/HDFS-3800
             Project: Hadoop HDFS
          Issue Type: Sub-task
    Affects Versions: QuorumJournalManager (HDFS-3077)
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon


This JIRA improves TestQJMWithFaults as follows:
- the current implementation didn't properly unwrap exceptions thrown by the 
reflection-based injection method. This caused some issues in the code where 
the injecting proxy didn't act quite like the original object.
- the current implementation incorrectly assumed that the recovery process 
would recover to _exactly_ the last acked sequence number. In fact, it may 
recover to that transaction _or any greater transaction_.

It also adds a new randomized test which uncovered a number of other bugs. I 
will defer to the included javadoc for a description of this test.


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