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

sled: match redb behaviour and flush after any write #54

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

extrawurst
Copy link
Contributor

as far as i can see, the redb implementation writes off to disk after each write (which is what I would expect) and this change will make the sled implementation match that behaviour

@extrawurst extrawurst changed the title match redb behaviour and flush after any write sled: match redb behaviour and flush after any write Apr 4, 2024
@Dimchikkk
Copy link
Contributor

I don't have time to test it but if it was the reason of sled not clearing up the storage would be interesting :)

@extrawurst
Copy link
Contributor Author

@johanhelsing friendly ping, can we merge this? anything you want me to change?

Copy link
Owner

@johanhelsing johanhelsing left a comment

Choose a reason for hiding this comment

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

Makes sense, but are the flushes blocking? Will they cause hiccups in rendering for instance?

@extrawurst
Copy link
Contributor Author

Been using this now in production for months without any hiccups

@johanhelsing
Copy link
Owner

Okay if anyone is writing huge values and it causes problems they can complain :P

@johanhelsing johanhelsing merged commit 260f3d3 into johanhelsing:main Jul 8, 2024
8 checks passed
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.

3 participants