Logic in CheckConsistency is not consistent with Metadata Sync in File System Master

Description

In CheckConsistencyInternal, the File System Master makes the decision only based on file length, ignoring UFS Fingerprint; while fingerprint is used in the metadata sync. These two should be consistent to decide a file in sync or not.

https://github.com/Alluxio/alluxio/blob/branch-1.8/core/server/master/src/main/java/alluxio/master/file/DefaultFileSystemMaster.java#L1134

Environment

None

Status

Assignee

Adit Madan

Reporter

Bin Fan

Labels

None

Components

Affects versions

Priority

Major
Configure