From d326affc4f415839d0d1092fca6ff09581de4b39 Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 10 Aug 2025 15:44:08 -0700 Subject: [PATCH] default generation --- weed/shell/command_ec_common.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed/shell/command_ec_common.go b/weed/shell/command_ec_common.go index 599ec048b..04aeea208 100644 --- a/weed/shell/command_ec_common.go +++ b/weed/shell/command_ec_common.go @@ -300,6 +300,7 @@ func oneServerCopyAndMountEcShardsFromSource(grpcDialOption grpc.DialOption, VolumeId: uint32(volumeId), Collection: collection, ShardIds: shardIdsToCopy, + Generation: 0, // shell commands operate on existing (generation 0) volumes }) if mountErr != nil { return fmt.Errorf("mount %d.%v on %s : %v\n", volumeId, shardIdsToCopy, targetServer.info.Id, mountErr)