Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • QuorumJournalManager (HDFS-3077)
    • None
    • None

    Description

      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.

      Attachments

        1. hdfs-3800.txt
          16 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: