aboutsummaryrefslogtreecommitdiff
path: root/weed/filer2
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-06-21 13:06:04 -0700
committerChris Lu <chris.lu@gmail.com>2019-06-21 13:06:04 -0700
commit059ef879a8a221bbdb117c4fd69fe092044587b6 (patch)
tree8a582d2708d3ba0332e6cf0fe1f5dd6fc1ccdafc /weed/filer2
parentff97acae62e641c6255b18a3be403202557046b2 (diff)
downloadseaweedfs-059ef879a8a221bbdb117c4fd69fe092044587b6.tar.xz
seaweedfs-059ef879a8a221bbdb117c4fd69fe092044587b6.zip
fix issue 986
fix issue 986
Diffstat (limited to 'weed/filer2')
-rw-r--r--weed/filer2/filer_deletion.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer2/filer_deletion.go b/weed/filer2/filer_deletion.go
index e45f80b2f..06e088de6 100644
--- a/weed/filer2/filer_deletion.go
+++ b/weed/filer2/filer_deletion.go
@@ -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
}