ask for the ec volume version

This commit is contained in:
Chris Lu
2019-05-31 00:58:51 -07:00
parent 689930f092
commit 47f1901843
2 changed files with 27 additions and 2 deletions

View File

@@ -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) {