Closed D4nte closed 4 years ago
Is there a reason why you are not using flush
when working with sled
?
I thought that each Database
operation would end with a flush
.
As far as I could see from the documentation flush
this ensures that everything is actually stored on disk - and there is flush_async
as well.
(Might be that I missed this discussion and you already know this...)
Is there a reason why you are not using
flush
when working withsled
? I thought that eachDatabase
operation would end with aflush
.As far as I could see from the documentation
flush
this ensures that everything is actually stored on disk - and there isflush_async
as well.(Might be that I missed this discussion and you already know this...)
Because flush
is not mentioned in the readme and now I don't understand why. No example uses flush.
Indeed, I think we can revert back to making the traits async and using flush_async.
I'll do that in a follow-up PR and create a todo for it.
Finishes off the DB. There are a number of improvements/cleanup I'd like to do but I'll leave them at todo for now and focus on delivering features.