mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-28 16:00:37 +01:00
add comments
This commit is contained in:
1 parent
6783ae5f8f
commit
c0fb4a3766
1 file changed
+5
@@ -61,13 +61,18 @@ func (v *Volume) Destroy() (err error) {
|
||||
}
|
||||
|
||||
func removeVolumeFiles(filename string) {
|
||||
// basic
|
||||
os.Remove(filename + ".dat")
|
||||
os.Remove(filename + ".idx")
|
||||
os.Remove(filename + ".vif")
|
||||
// sorted index file
|
||||
os.Remove(filename + ".sdx")
|
||||
// compaction
|
||||
os.Remove(filename + ".cpd")
|
||||
os.Remove(filename + ".cpx")
|
||||
// level db indx file
|
||||
os.RemoveAll(filename + ".ldb")
|
||||
// marker for damaged or incomplete volume
|
||||
os.Remove(filename + ".note")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user