mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 10:07:24 +08:00
refactoring
This commit is contained in:
@@ -413,7 +413,7 @@ func copyDataBasedOnIndexFile(srcDatName, srcIdxName, dstDatName, datIdxName str
|
||||
|
||||
offset, size := value.Offset, value.Size
|
||||
|
||||
if offset.IsZero() || size == TombstoneFileSize {
|
||||
if offset.IsZero() || size.IsDeleted() {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user