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

Upload freeze when no 'keep' chunkservers available #481

Open
struthio opened this issue Aug 3, 2022 · 2 comments
Open

Upload freeze when no 'keep' chunkservers available #481

struthio opened this issue Aug 3, 2022 · 2 comments

Comments

@struthio
Copy link

struthio commented Aug 3, 2022

Hi,

I think I found incorrect behavior in moosefs. I will explain it on example. For test I used 2 chunk servers and 1 master.
Label A - Chunk server 1
Label B - Chunk server 2

I created SC Class with definition:
Mode - Strict
Create - A
Keep - B
Archive - B

Next I have file around 2GB.

Scenario 1: Both chunk server online - Everything works fine.
Scenario 2: Only chunk server A is online.
In this scenario when I upload file to MFS it goes till around 15% then hangs - and stays that way (no uploading is done).
If I start chunk server 'B' while transfer is hanging, everything starts and upload continues as nothing happened.

Shouldn't this be that in absence of 'B' file is successfully uploaded to 'A' (as this is the 'Create' class). After file (or chunk) is on A, SC class of file is changed to B, and redistributed internally in MFS ?

I mean shouldn't client receive confirmation that 'file is uploaded' after it is successfully transferred to 'Create (A)' chunk server ?

@chogata
Copy link
Member

chogata commented Aug 9, 2022

Thank you for that report. It's not an expected behaviour, we will run tests to confirm/resolve this issue.

@footlooseboss
Copy link

is this issue confirmed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants