Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
timandy opened this issue Feb 26, 2024 · 9 comments
Open
1 task

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

timandy opened this issue Feb 26, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@timandy
Copy link

timandy commented Feb 26, 2024

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 timandy added the bug Something isn't working label Feb 26, 2024
@YikaiHu
Copy link
Contributor

YikaiHu commented Feb 26, 2024

Hi @timandy , could you provide the Cloudformation parameters?

@timandy
Copy link
Author

timandy commented Feb 26, 2024

@YikaiHu
I deploy DTH in beijing region
image

the sync task parameter
image

@YikaiHu
Copy link
Contributor

YikaiHu commented Feb 26, 2024

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

@YikaiHu
Copy link
Contributor

YikaiHu commented Feb 26, 2024

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

@timandy
Copy link
Author

timandy commented Feb 26, 2024

@YikaiHu txt content

operation-manual/
oversea/

@YikaiHu
Copy link
Contributor

YikaiHu commented Feb 27, 2024

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

@timandy
Copy link
Author

timandy commented Mar 1, 2024

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

image
image

@YikaiHu
Copy link
Contributor

YikaiHu commented Mar 7, 2024

@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.

@timandy
Copy link
Author

timandy commented Mar 7, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants