aboutsummaryrefslogtreecommitdiff
path: root/weed/command/backup.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2016-06-03 00:24:55 -0700
committerChris Lu <chris.lu@gmail.com>2016-06-03 00:24:55 -0700
commitb456173eb8d72ad2a01fb53aa30d4b7b8179c205 (patch)
treeef2b2e83a183e2f1209e81e3bad12cd793c0bf1d /weed/command/backup.go
parent535b1610c81c9e65826e6808348a5796b17ab57f (diff)
downloadseaweedfs-b456173eb8d72ad2a01fb53aa30d4b7b8179c205.tar.xz
seaweedfs-b456173eb8d72ad2a01fb53aa30d4b7b8179c205.zip
delete file storage when POST to update
PUT is used to update. But sometimes POST is also used to post the same file again. In this case, the actual file storage was not marked as deleted. This fix will try its best to delete the orphan files.
Diffstat (limited to 'weed/command/backup.go')
0 files changed, 0 insertions, 0 deletions