VolumeEcShardsGenerate updated for generation-specific file creation

This commit is contained in:
chrislu committed 2025-08-10 14:14:37 -07:00
1 parent 99f132729c
commit 9e2e600b6d
4 files changed
+40 -13

No files matched your search

+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
})