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

numberOfChunks not updated in the record after chunks uploaded successfully but before committing the upload #315

Open
ghost opened this issue Nov 5, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@ghost
Copy link

ghost commented Nov 5, 2021

The property "record.numberOfChunks" is not reflecting the number of successful chunks uploaded against the record when an upload session is active. The numberOfChunks returned is 0 until the client calls CommitChunkUpload.

What happened:
numberOfChunks is not updated to reflect the number of chunks that have been uploaded so far during a chunk upload session.

What you expected to happen:
The numberOfChunks to be incremented every time a chunks has been successfully uploaded to Open Saves.

How to reproduce it (as minimally and precisely as possible):
Create a record
Initialize an upload session
Upload one chunk
Get the record
record.numberOfChunks=0 // was expecting 1

Anything else we need to know?:

Environment:

  • Open Saves version: latest
  • Kubernetes version (use kubectl version): N/A
  • Cloud provider or hardware configuration: N/A
  • Install method (yaml/helm): N/A
  • Troubleshooting guide log(s): N/A
  • Others:
@ghost ghost changed the title numberOfChunks not updated in the record after chunks uploaded successfully but before finalizing the upload numberOfChunks not updated in the record after chunks uploaded successfully but before commiting the upload Nov 5, 2021
@ghost ghost changed the title numberOfChunks not updated in the record after chunks uploaded successfully but before commiting the upload numberOfChunks not updated in the record after chunks uploaded successfully but before committing the upload Nov 5, 2021
@yuryu
Copy link
Member

yuryu commented Nov 9, 2021

Let's add a new method to retrieve the current status of a chunked upload session.

@yuryu yuryu added the enhancement New feature or request label Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant