aboutsummaryrefslogtreecommitdiff
path: root/weed/storage/erasure_coding/ec_volume.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-05-31 00:58:51 -0700
committerChris Lu <chris.lu@gmail.com>2019-05-31 00:58:51 -0700
commit47f1901843b11c76fb64c8152ce2cedb80b9127b (patch)
tree1ac0fc51d53b09e8ff47b19b7fcc6498596570ec /weed/storage/erasure_coding/ec_volume.go
parent689930f092c5b02bea168cc96ab8762ab353e27d (diff)
downloadseaweedfs-47f1901843b11c76fb64c8152ce2cedb80b9127b.tar.xz
seaweedfs-47f1901843b11c76fb64c8152ce2cedb80b9127b.zip
ask for the ec volume version
Diffstat (limited to 'weed/storage/erasure_coding/ec_volume.go')
-rw-r--r--weed/storage/erasure_coding/ec_volume.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/storage/erasure_coding/ec_volume.go b/weed/storage/erasure_coding/ec_volume.go
index 28dbd8c7f..8bd7237f5 100644
--- a/weed/storage/erasure_coding/ec_volume.go
+++ b/weed/storage/erasure_coding/ec_volume.go
@@ -24,6 +24,7 @@ type EcVolume struct {
ShardLocations map[ShardId][]string
ShardLocationsRefreshTime time.Time
ShardLocationsLock sync.RWMutex
+ Version needle.Version
}
func NewEcVolume(dir string, collection string, vid needle.VolumeId) (ev *EcVolume, err error) {