Revert "first commit (#2559)"

This reverts commit 1b94569d89.
This commit is contained in:
Wei-Chiu Chuang 2021-02-22 18:13:06 +08:00
parent 1b94569d89
commit f8059d0bdf

View File

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