diff options
Diffstat (limited to 'weed/storage/store_ec.go')
| -rw-r--r-- | weed/storage/store_ec.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/storage/store_ec.go b/weed/storage/store_ec.go index 0c9f674d5..1fddb8285 100644 --- a/weed/storage/store_ec.go +++ b/weed/storage/store_ec.go @@ -45,6 +45,8 @@ func (s *Store) MountEcShards(collection string, vid needle.VolumeId, shardId er EcIndexBits: uint32(shardBits.AddShardId(shardId)), } return nil + } else { + return fmt.Errorf("%s load ec shard %d.%d: %v", location.Directory, vid, shardId, err) } } |
