mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-26 01:44:48 +00:00
VolumeEcShardsGenerate updated for generation-specific file creation
This commit is contained in:
@@ -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
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user