feat(lsm): sync database when closing handle
This commit is contained in:
parent
eb0ce16f78
commit
9b223d04a0
8 changed files with 33 additions and 28 deletions
|
|
@ -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.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue