first commit (#2559)
Co-authored-by: wangyuxuan <wangyuxuan@xiaomi.com>
This commit is contained in:
parent
e119063a07
commit
1b94569d89
@ -506,8 +506,7 @@ private void scan() {
|
|||||||
}
|
}
|
||||||
// Block file and/or metadata file exists on the disk
|
// Block file and/or metadata file exists on the disk
|
||||||
// Block exists in memory
|
// Block exists in memory
|
||||||
if (info.getVolume().getStorageType() != StorageType.PROVIDED
|
if (info.getBlockFile() == null) {
|
||||||
&& info.getBlockFile() == null) {
|
|
||||||
// Block metadata file exits and block file is missing
|
// Block metadata file exits and block file is missing
|
||||||
addDifference(diffRecord, statsRecord, info);
|
addDifference(diffRecord, statsRecord, info);
|
||||||
} else if (info.getGenStamp() != memBlock.getGenerationStamp()
|
} else if (info.getGenStamp() != memBlock.getGenerationStamp()
|
||||||
|
Loading…
Reference in New Issue
Block a user