Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pkg/storage/pkg/decomposedfs/tree/tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ func (t *Tree) RestoreRecycleItemFunc(ctx context.Context, spaceid, key, trashPa
}
}
rn := node.New(restoreNode.SpaceID, restoreNode.ID, targetNode.ParentID, targetNode.Name, recycleNode.Blobsize, recycleNode.BlobID, recycleNode.Type(ctx), recycleNode.Owner(), t.lookup)
rn.SpaceRoot = targetNode.SpaceRoot
rn.Exists = true
// the recycle node has an id with the trish timestamp, but the propagation is only interested in the parent id
return rn, nil
Expand Down