first commit (#2559)

Co-authored-by: wangyuxuan <wangyuxuan@xiaomi.com>
This commit is contained in:
Wang Yuxuan 2021-02-22 18:10:39 +08:00 committed by GitHub
parent e119063a07
commit 1b94569d89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -506,8 +506,7 @@ public class DirectoryScanner implements Runnable {
}
// Block file and/or metadata file exists on the disk
// Block exists in memory
if (info.getVolume().getStorageType() != StorageType.PROVIDED
&& info.getBlockFile() == null) {
if (info.getBlockFile() == null) {
// Block metadata file exits and block file is missing
addDifference(diffRecord, statsRecord, info);
} else if (info.getGenStamp() != memBlock.getGenerationStamp()