Skip to content

Commit

Permalink
Fix bug that object with size of 1M cannot be deleted completely
Browse files Browse the repository at this point in the history
Signed-off-by: sunfch <[email protected]>
  • Loading branch information
sunfch committed Dec 24, 2019
1 parent 4c33408 commit 6173e5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions storage/ceph.go
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,8 @@ func (cluster *CephStorage) Remove(poolname string, oid string) error {
}
defer striper.Destroy()

setStripeLayout(&striper)

return striper.Delete(oid)
}

Expand Down

0 comments on commit 6173e5c

Please sign in to comment.