fix(lsm): write in-memory data to disk when switching to file
This commit is contained in:
parent
f44c512099
commit
f19a8814f5
2 changed files with 21 additions and 6 deletions
|
|
@ -108,8 +108,9 @@ lsm_error lsm_store_open_read(lsm_entry_handle **out, lsm_store *store,
|
|||
lsm_str *key);
|
||||
|
||||
/**
|
||||
* Open a write handle to the given entry. This entry must be properly closed
|
||||
* using `lsm_store_handle_close`.
|
||||
* Open a write handle to the given entry. This handle should only be used for
|
||||
* writing; read operations on this handle are unsupported. This entry must be
|
||||
* properly closed using `lsm_store_handle_close`.
|
||||
*
|
||||
* @param out pointer to store handle pointer
|
||||
* @param store store to retrieve entry from
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue