sumesh kanayi
06/29/2021, 6:21 PMtype WalkFunc func(id string) error really does ? i am calling it under walk for each object ,but was unsure when it really comes in to play .I read the comments but got confused :( Another question around copy method Copy(ctx context.Context, sourceObj, destinationObj ObjectPointer) error .During s3 copy object does this really gets triggered or at the backend does it just do a Get(ctx context.Context, obj ObjectPointer, expectedSize int64) (io.ReadCloser, error) followed by a Put(ctx context.Context, obj ObjectPointer, sizeBytes int64, reader io.Reader, opts PutOpts) error ?Barak Amar
Barak Amar
Barak Amar
sumesh kanayi
06/30/2021, 8:37 AMCopy( i initially thought the same but didnt really saw it getting called at any point . when some one does s3api copy-object seems like it just does <https://github.com/treeverse/lakeFS/blob/master/pkg/gateway/operations/putobject.go#L78> .Does it mean that it doesn’t really copy to the backend store but just creates an entry in API/db ?Barak Amar