VolumeEcShardsGenerate updated for generation-specific file creation

This commit is contained in:
chrislu
2025-08-10 14:14:37 -07:00
parent 99f132729c
commit 9e2e600b6d
4 changed files with 40 additions and 13 deletions
+1
View File
@@ -262,6 +262,7 @@ func generateEcShards(grpcDialOption grpc.DialOption, volumeId needle.VolumeId,
_, genErr := volumeServerClient.VolumeEcShardsGenerate(context.Background(), &volume_server_pb.VolumeEcShardsGenerateRequest{
VolumeId: uint32(volumeId),
Collection: collection,
Generation: 0, // shell commands operate on existing (generation 0) volumes
})
return genErr
})