Logo
Explore Help
Register Sign In
lsm/seaweedfs
1
0
Fork 0
You've already forked seaweedfs
mirror of https://github.com/seaweedfs/seaweedfs.git synced 2025-09-24 14:33:35 +08:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
c81f85e16d708171868bd7f10ca588e378f51f11
seaweedfs/go/storage/volume_info.go

16 lines
286 B
Go
Raw Normal View History

simplify volume.go file
2012-08-23 23:24:32 -07:00
package storage
reporting volume size as early as possible
2012-12-03 22:54:08 -08:00
import ()
simplify volume.go file
2012-08-23 23:24:32 -07:00
volume layout for each replication level
2012-09-10 00:18:07 -07:00
type VolumeInfo struct {
reporting volume size as early as possible
2012-12-03 22:54:08 -08:00
Id VolumeId
Size uint64
Major: change replication_type to ReplicaPlacement, hopefully cleaner code works for 9 possible ReplicaPlacement xyz x : number of copies on other data centers y : number of copies on other racks z : number of copies on current rack x y z each can be 0,1,2 Minor: weed server "-mdir" default to "-dir" if empty
2014-03-02 22:16:54 -08:00
ReplicaPlacement *ReplicaPlacement
support for collections!
2013-11-12 02:21:22 -08:00
Collection string
ensure only compatible volume versions are writable
2012-12-17 16:48:54 -08:00
Version Version
reporting volume size as early as possible
2012-12-03 22:54:08 -08:00
FileCount int
DeleteCount int
DeletedByteCount uint64
merge changes from about dealing with read only volumes. https://github.com/tgulacsi/weed-fs/commit/97482255d555f152ea99052aba7d0a0163235e39.diff
2013-04-14 19:30:26 -07:00
ReadOnly bool
volume layout for each replication level
2012-09-10 00:18:07 -07:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 53ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API 吉ICP备2022002899号