Add method copy
for BlobStoreDAO
#1061
vttranlina
started this conversation in
Ideas
Replies: 3 comments 6 replies
-
Sounds like a good idea to me. Maybe we can apply this for copy messages too? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Overall Ok to me. But I have a question: this is linked to tmail needs but needs to land on the S3BlobStoreDAO. How do you plan to justify such changes on james side? |
Beta Was this translation helpful? Give feedback.
4 replies
-
BTW this discussion should have had been happening on a James canal. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
related to the public Asset feature
IMO the following:
It does not optimize, (at least with S3BlobStoreDAO)
The S3 already supports API to copyObject (without fetch-push)
software.amazon.awssdk.services.s3.S3AsyncClient#copyObject)
Not sure if other impl of
BlobStoreDAO
is possible to do it or not.If not, we can write the default implement (fetch-push)
The method looks like:
public Mono<BlobId> copy(BucketName sourceBucketName, BlobId sourceBlobId, BucketName targetBucketName)
Beta Was this translation helpful? Give feedback.
All reactions