feat(lsm): separate handle design into read and write; atomic attribute
All checks were successful
ci/woodpecker/push/build Pipeline was successful
All checks were successful
ci/woodpecker/push/build Pipeline was successful
updates
This commit is contained in:
parent
7c938d592e
commit
4b469623dd
15 changed files with 624 additions and 453 deletions
|
|
@ -13,7 +13,11 @@ typedef struct lander_gctx {
|
|||
} lander_gctx;
|
||||
|
||||
typedef struct lander_ctx {
|
||||
lsm_entry_handle *entry;
|
||||
union {
|
||||
lsm_write_handle *write;
|
||||
lsm_read_handle *read;
|
||||
} entry;
|
||||
bool write;
|
||||
} lander_ctx;
|
||||
|
||||
typedef enum lander_attr_type : uint8_t {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue