mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
add comments
This commit is contained in:
parent
6783ae5f8f
commit
c0fb4a3766
|
@ -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")
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue