Fix journaling in createFile and createDirectory in AlluxioFileSystemMaster

Description

In createDirectory and createFile, journaling happens only when the creation succeeds, so if only a part of the paths are created/persisted successfully, the changed states will not be journaled, and inconsistency will occur after restarting the master.

Environment

None

Status

Assignee

Gene Pang

Reporter

Cheng Chang

Labels

Components

Affects versions

1.4.0

Priority

Major
Configure