You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bee version 1.17.3. The problem occurred in our fdp-storage project fairDataSociety/fdp-storage#259, which is built on top of Swarm.
Summary
We encountered an issue with chunk retrieval after uploading data. Occasionally, the uploaded chunk is not available immediately, causing a delay of 1 to 40 seconds before it becomes accessible.
Expected behavior
The expectation was for the chunks to be readily available right after the upload, facilitating a seamless user experience without any delay.
Upon uploading a chunk, we noticed that trying to retrieve it immediately often returns a 500 error with the message "read chunk failed". However, after waiting for a brief period (1-40 seconds), the chunk becomes available. This issue affects the performance and user experience of our fdp-storage project. We need clarification on whether this is a bug or an expected behavior, and how we can ensure immediate chunk availability without overloading the server with GET requests to check the chunk's status.
It returns a reference of the chunk {"reference":"d888f33a567a6451edd27d63bec25c6cbdbaa58850fcfc9d430e70c51bfa2cb8"}, but attempting to get the chunk immediately at https://bee-1.fairdatasociety.org/chunks/d888f33a567a6451edd27d63bec25c6cbdbaa58850fcfc9d430e70c51bfa2cb8 returns {"code":500,"message":"read chunk failed"}. After a short wait, the chunk becomes available.
Steps to reproduce
Upload a chunk using the provided API endpoint and parameters.
Attempt to retrieve the chunk immediately using the returned reference.
Observe the 500 error message.
Wait for a period ranging from 1 to 40 seconds.
Try to retrieve the chunk again and note that it is now available.
Possible solution
To address this issue, we are seeking guidance on the best approach to ensure immediate chunk availability without generating numerous GET requests that could potentially slow down the user experience and overload the server. Furthermore, we are interested in understanding if this is a known bug or expected behavior, and what steps we can take to mitigate this issue in our project.
The text was updated successfully, but these errors were encountered:
Context
Bee version 1.17.3. The problem occurred in our
fdp-storage
project fairDataSociety/fdp-storage#259, which is built on top of Swarm.Summary
We encountered an issue with chunk retrieval after uploading data. Occasionally, the uploaded chunk is not available immediately, causing a delay of 1 to 40 seconds before it becomes accessible.
Expected behavior
The expectation was for the chunks to be readily available right after the upload, facilitating a seamless user experience without any delay.
Actual behavior
traced-queries.har.zip
BEE.log.zip
Upon uploading a chunk, we noticed that trying to retrieve it immediately often returns a 500 error with the message "read chunk failed". However, after waiting for a brief period (1-40 seconds), the chunk becomes available. This issue affects the performance and user experience of our
fdp-storage
project. We need clarification on whether this is a bug or an expected behavior, and how we can ensure immediate chunk availability without overloading the server with GET requests to check the chunk's status.The error during the following API calls:
POST
It returns a reference of the chunk
{"reference":"d888f33a567a6451edd27d63bec25c6cbdbaa58850fcfc9d430e70c51bfa2cb8"}
, but attempting to get the chunk immediately athttps://bee-1.fairdatasociety.org/chunks/d888f33a567a6451edd27d63bec25c6cbdbaa58850fcfc9d430e70c51bfa2cb8
returns{"code":500,"message":"read chunk failed"}
. After a short wait, the chunk becomes available.Steps to reproduce
Possible solution
To address this issue, we are seeking guidance on the best approach to ensure immediate chunk availability without generating numerous GET requests that could potentially slow down the user experience and overload the server. Furthermore, we are interested in understanding if this is a known bug or expected behavior, and what steps we can take to mitigate this issue in our project.
The text was updated successfully, but these errors were encountered: