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

feat: chunk count checking #361

Merged
merged 2 commits into from
Jul 27, 2022
Merged

Conversation

yuryu
Copy link
Member

@yuryu yuryu commented Jul 23, 2022

What type of PR is this?
/kind feat

What this PR does / Why we need it:
This patch supports chunk count checking when committing.
The client can optionally set chunk_count when uploading and if set,
the server will check if the uploaded chunk count matches
the value. It returns FailedPrecondition if it doesn't.

Which issue(s) this PR fixes:

Closes #313

Special notes for your reviewer:

This patch supports check count checking when committing.
The client can optionally set chunk_count when uploading and if set,
the server will check if the uploaded chunk count matches
the value. It returns FailedPrecondition if it doesn't.
@yuryu yuryu requested review from hongalex and a user July 23, 2022 20:22
@yuryu yuryu merged commit 2604942 into googleforgames:main Jul 27, 2022
@yuryu yuryu deleted the check-chunk-count branch July 27, 2022 23:49
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

Successfully merging this pull request may close these issues.

number_of_chunks from client are respected by the server while finalizing upload of chunks
2 participants