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

[Guaranteed Bucket Logging][NSFS]PR3 - Persistent logging #8121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jackyalbo
Copy link
Contributor

Explain the changes

  1. Adding the option for persistent bucket logging
  2. Logging twice in case of persistent logging
  3. Adding a command to export the logging for NSFS

Issues: Fixed #xxx / Gap #xxx

Testing Instructions:

  • Doc added/updated
  • Tests added

@jackyalbo jackyalbo changed the title [Guaranteed Bucket Logging][NSFS]PR3 - Persistent logging -draft- [Guaranteed Bucket Logging][NSFS]PR3 - Persistent logging Jun 17, 2024
@jackyalbo jackyalbo force-pushed the jacky-pers_log branch 7 times, most recently from 3626357 to dcb0649 Compare June 23, 2024 13:27
@jackyalbo jackyalbo marked this pull request as ready for review June 23, 2024 13:38
bucket_streams[source_bucket].write(entry + '\n');
});
Object.values(bucket_streams).forEach(st => st.end());
await Promise.all(promises);
Copy link
Member

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.

Copy link
Contributor Author

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

@jackyalbo jackyalbo force-pushed the jacky-pers_log branch 3 times, most recently from 5d7b9b2 to 8fdeb6f Compare June 26, 2024 12:08
Signed-off-by: jackyalbo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants