aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_ec_rebuild.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2019-06-05 23:20:26 -0700
committerChris Lu <chris.lu@gmail.com>2019-06-05 23:20:26 -0700
commitd344e0a035985ce7a28a6f7a4499199ef27aeda3 (patch)
tree77f094232aab9c2e767adb05f81c4e7a9453c2e2 /weed/shell/command_ec_rebuild.go
parent450f4733cec38ec31c66b296749e2d0b14e91218 (diff)
downloadseaweedfs-d344e0a035985ce7a28a6f7a4499199ef27aeda3.tar.xz
seaweedfs-d344e0a035985ce7a28a6f7a4499199ef27aeda3.zip
fix ec related bugs
Diffstat (limited to 'weed/shell/command_ec_rebuild.go')
-rw-r--r--weed/shell/command_ec_rebuild.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/shell/command_ec_rebuild.go b/weed/shell/command_ec_rebuild.go
index 9a5ea3ca9..20929d76c 100644
--- a/weed/shell/command_ec_rebuild.go
+++ b/weed/shell/command_ec_rebuild.go
@@ -163,6 +163,8 @@ func rebuildOneEcVolume(ctx context.Context, commandEnv *CommandEnv, rebuilder *
return err
}
+ addEcVolumeShards(rebuilder, volumeId, generatedShardIds)
+
return nil
}