} else {
// a regular hfile
fsdis = fs.open(storeFilePath);
lenToRead = storeFile.getLen();
}
FixedFileTrailer trailer = FixedFileTrailer.readFromStream(fsdis, lenToRead);
int version = trailer.getMajorVersion();
if (version == 1) {
hFileV1Set.add(storeFilePath);
// return this region path, as it needs to be compacted.
return regionDir;
}