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
To make block streams publicly available as soon as possible, we want to upload them to buckets initially. This requires the support of a new BlockStreamWriterMode. In addition to sending blocks via gRPC and writing them to disk, we also must be able to send them to buckets.
Requirements
We need a third BlockStreamWriterMode, which sends the blocks to one or more buckets.
The buckets must be configurable.
Both the writer mode and the addresses of the buckets must be configurable during runtime (i.e., the node must not be restarted to take the changes into effect).
If an error occurs, we want to keep a copy of the block on the local disk. It probably makes sense to write the block to a local file initially and upload it once done (instead of writing directly to the bucket).
We want to upload only one instance of a block. All consensus nodes will try to upload the same block to a bucket, and therefore only the first one can succeed.
If a consensus node notices the block is already available, it should check if the blocks are the same (via MD5 hash). If they are different, the block should be kept on the local disk, and an alert must be triggered.
If uploading a block fails, it should be kept on the local disk, and an alert needs to be triggered.
If the upload was successful, the local copy can be removed after a few hours.
Questions
How should this be configured? Is uploading file 0.0.121 sufficient?
What is the best way to trigger an alert? An error message in the log?
The content you are editing has changed. Please copy your edits and refresh the page.
To make block streams publicly available as soon as possible, we want to upload them to buckets initially. This requires the support of a new
BlockStreamWriterMode
. In addition to sending blocks via gRPC and writing them to disk, we also must be able to send them to buckets.Requirements
BlockStreamWriterMode
, which sends the blocks to one or more buckets.Questions
0.0.121
sufficient?Tasks
The text was updated successfully, but these errors were encountered: