Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
Snapshot (HDFS-2802)
-
None
Description
Snapshot tests are broken after the recent merge from trunk. The likely cause of regression is the change to INodeDirectory.clearChildren which resets the children list while replacing an INodeDirectory with INodeDirectorySnapshottable. Testing a fix.
public void clearChildren() { if (children != null) { this.children.clear(); this.children = null; } }