mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 06:50:40 +02:00
add comments
This commit is contained in:
1 parent
a7d8d46306
commit
9bde067f16
1 file changed
+1
-1
@@ -53,7 +53,7 @@ func (v *Volume) maybeWriteSuperBlock() {
|
||||
stat, _ := v.dataFile.Stat()
|
||||
if stat.Size() == 0 {
|
||||
header := make([]byte, SuperBlockSize)
|
||||
header[0] = 1
|
||||
header[0] = 1 //number of copies
|
||||
v.dataFile.Write(header)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user