Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Edit log branch (HDFS-1073)
-
None
-
Reviewed
Description
Found this small bug while testing multiple NNs under failure conditions on the 1073 branch. When the 2NN calls getEditLogManifest(), it expects a list of finalized logs. In the case that one of the edit log directories had failed and recovered, there would be some txid for which there was an edit_N_inprogress and an edits_N-M (finalized). The edit log manifest needs to see the finalized one when it exists.