diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-05-31 00:58:51 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-05-31 00:58:51 -0700 |
| commit | 47f1901843b11c76fb64c8152ce2cedb80b9127b (patch) | |
| tree | 1ac0fc51d53b09e8ff47b19b7fcc6498596570ec /weed/storage/erasure_coding/ec_volume.go | |
| parent | 689930f092c5b02bea168cc96ab8762ab353e27d (diff) | |
| download | seaweedfs-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.go | 1 |
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) { |
