mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 13:57:24 +08:00
fix issue 986
fix issue 986
This commit is contained in:
@@ -78,7 +78,7 @@ func (f *Filer) deleteChunksIfNotNew(oldEntry, newEntry *Entry) {
|
||||
for _, oldChunk := range oldEntry.Chunks {
|
||||
found := false
|
||||
for _, newChunk := range newEntry.Chunks {
|
||||
if oldChunk.FileId == newChunk.FileId {
|
||||
if oldChunk.Fid.Equals(newChunk.Fid) {
|
||||
found = true
|
||||
break
|
||||
}
|
||||
|
Reference in New Issue
Block a user