[redland-dev] Syncing model to disk
cdr
_ at whats-your.name
Wed Nov 21 11:24:04 GMT 2007
On Wed Nov 21, 2007 at 11:30:19AM +0100, Sebastian Tr?g wrote:
> Hello guys,
>
> how can I make sure the redland model is properly flushed to disk so in case
> of a crash I wont loose all the data?
int librdf_model_sync (librdf_model *model);
http://librdf.org/docs/api/redland-model.html#id2657438
then call sync at OS level?
no guarantees. i do this out of paranoia though. especially since switching to reiser4 was the only feasable way to do a FS store, also means you can lose 15 minutes of data due to a poweroff..
More information about the redland-dev
mailing list