mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 10:25:35 +08:00
testing RS coding
This commit is contained in:
8
weed/storage/erasure_coding/ec_encoder.go
Normal file
8
weed/storage/erasure_coding/ec_encoder.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package erasure_coding
|
||||
|
||||
const (
|
||||
DataShardsCount = 10
|
||||
ParityShardsCount = 4
|
||||
ErasureCodingLargeBlockSize = 1024 * 1024 * 1024 // 1GB
|
||||
ErasureCodingSmallBlockSize = 1024 * 1024 // 1MB
|
||||
)
|
Reference in New Issue
Block a user