feat(lsm): sync database when closing handle

This commit is contained in:
Jef Roosens 2023-11-09 22:40:06 +01:00
parent eb0ce16f78
commit 9b223d04a0
Signed by: Jef Roosens
GPG key ID: 02D4C0997E74717B
8 changed files with 33 additions and 28 deletions

View file

@ -213,14 +213,6 @@ lsm_error lsm_entry_data_append_raw(lsm_entry_handle *handle, char *data,
lsm_error lsm_entry_data_read(uint64_t *out, char *buf,
lsm_entry_handle *handle, uint64_t len);
/**
* Persist the entry's data to disk.
*
* @param store store to persist entry in
* @param handle handle to entry to persist
*/
lsm_error lsm_entry_sync(lsm_entry_handle *handle);
/**
* Return the length of the entry's data.
*