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

Fulmicoton fsync data #60

Merged
merged 5 commits into from
Mar 22, 2024
Merged

Fulmicoton fsync data #60

merged 5 commits into from
Mar 22, 2024

Conversation

fulmicoton
Copy link
Contributor

No description provided.

@fulmicoton fulmicoton changed the base branch from trinity--fsync-data to main March 22, 2024 09:55
Upon critical situation we flush and fsync.
@fulmicoton fulmicoton force-pushed the fulmicoton--fsync-data branch from ab1d289 to 1d3b2ae Compare March 22, 2024 09:56
impl MultiRecordLog {
/// Open the multi record log, syncing after each operation.
/// Open the multi record log, flushing after each operation, bit not fsyncing.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Suggested change
/// Open the multi record log, flushing after each operation, bit not fsyncing.
/// Open the multi record log, flushing after each operation, but not fsyncing.

Comment on lines +20 to +22
/// Critical records are relatively rare and really need to be persisted:
/// - RecordPosition { queue: &'a str, position: u64 },
/// - DeleteQueue.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CreateQueue is a bit of a virtual operation, but I think it's worth putting it in that list

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not that virtual but yeah, it should not be consequential for Quickwit.

@fulmicoton fulmicoton merged commit 8a77dd2 into main Mar 22, 2024
3 checks passed
@fulmicoton fulmicoton deleted the fulmicoton--fsync-data branch March 22, 2024 10:41
This was referenced Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants