data-transfer-hub icon indicating copy to clipboard operation
data-transfer-hub copied to clipboard

[help] trouble with sync by prefix white list file.

Open timandy opened this issue 1 year ago • 9 comments
trafficstars

Describe the bug The finder worker search by white list should not add root slash char.

image

image

To Reproduce Steps to reproduce the behavior.

Expected behavior The finder worker dot not add '/' char.

Please complete the following information about the solution:

  • [ ] Version: v2.5.2

timandy avatar Feb 26 '24 10:02 timandy

Hi @timandy , could you provide the Cloudformation parameters?

YikaiHu avatar Feb 26 '24 10:02 YikaiHu

@YikaiHu I deploy DTH in beijing region image

the sync task parameter image

timandy avatar Feb 26 '24 11:02 timandy

The parameter looks ok, could you provide a example in your prefixlist txt file? to_sync.txt

YikaiHu avatar Feb 26 '24 12:02 YikaiHu

May be you should follow this format for your prefix-list file https://github.com/awslabs/data-transfer-hub/blob/main/docs/USING_PREFIX_LIST.md#step-1-create-a-prefix-list-file

YikaiHu avatar Feb 26 '24 13:02 YikaiHu

@YikaiHu txt content

operation-manual/
oversea/

timandy avatar Feb 26 '24 15:02 timandy

Hi @timandy , I think I found the root cause

Please set Need Data Comparison before Transfer to Yes.

If you want to use prefix-list feature, you have to set this parameter to Yes.

image

YikaiHu avatar Feb 27 '24 01:02 YikaiHu

@YikaiHu Thanks for your answer. I create a new sync task as your said, but still not work.

image image

timandy avatar Mar 01 '24 09:03 timandy

@timandy Hi, sorry for the late reply.

I have tested in my environment, with the latest version v2.6.0, but I haven't been able to reproduce your issue.

image

Here is my prefixlist file:

image

I also tested every folder ending with /:

image

And is still worked: image

At the same time, I don’t think it’s a system error that added a / in front of the prefix, which caused your transfer to fail. You can refer to my screenshot.

And my S3 bucket's object structure is like: image

According to my testing, I suggest you upgrade the version of Data Transfer Hub to v2.6.0 and have a try.

YikaiHu avatar Mar 07 '24 07:03 YikaiHu

@YikaiHu Thanks for your reply. I will upgrade my DTH and test again in next days.

timandy avatar Mar 07 '24 09:03 timandy