Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
When the following steps happen:
1. Take snapshot s1 on dir.
2. Create new dir and files under subDir, which is descendant of dir.
3. Take snapshot s2 on dir.
4. Delete subDir.
5. Delete snapshot s2.
When we merge the diff from s2 to s1 (since we deleted s2), we need to make
sure all the files/dirs created after s1 should be destroyed. Otherwise
if these files/dirs are saved to the fsimage, we will have FileNotFound Exception while loading fsimage.