-
Notifications
You must be signed in to change notification settings - Fork 80
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
[Guaranteed Bucket Logging][NSFS]PR3 - Persistent logging #8121
Conversation
3626357
to
dcb0649
Compare
bucket_streams[source_bucket].write(entry + '\n'); | ||
}); | ||
Object.values(bucket_streams).forEach(st => st.end()); | ||
await Promise.all(promises); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to support the scenarios where uploads are failing to just a selected few buckets but not others? Right now I think we would keep retrying it for the entire log file if the upload fails even just once.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe it's a good idea to cover the promises with retries as well...thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a check on if the bucket doesn't exist and 3 retries
8fdeb6f
to
a277d0a
Compare
b7b0ff1
to
34e59d8
Compare
54986ca
to
767db73
Compare
Signed-off-by: jackyalbo <jacky.albo@gmail.com>
767db73
to
30bd125
Compare
Explain the changes
Issues: Fixed #xxx / Gap #xxx
Testing Instructions: