Commit Graph

61 Commits (feature/50-one-time-keys)

Author SHA1 Message Date
Jef Roosens 4b469623dd
feat(lsm): separate handle design into read and write; atomic attribute
ci/woodpecker/push/build Pipeline was successful Details
updates
2024-08-31 09:39:11 +02:00
Jef Roosens 7c938d592e
fix(lsm): properly calculate db file size 2024-08-29 11:12:56 +02:00
Jef Roosens 3952496378
feat(lander): implement placeholder keys
ci/woodpecker/push/build Pipeline was successful Details
2024-08-28 22:39:51 +02:00
Jef Roosens 4d9dfff27e
feat(lsm): implement updating entries 2024-08-28 21:45:14 +02:00
Jef Roosens 3dce25239b
feat(lsm): require changes to be committed before writing to persistent
storage
2024-08-28 20:53:29 +02:00
Jef Roosens d64fec048f
fix(lsm): remove data file for new entries that are removed before being
stored on disk
2024-08-26 12:18:53 +02:00
Jef Roosens a2d4b970e7
chore: please cppcheck
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
2023-11-18 22:28:50 +01:00
Jef Roosens 9c387937ef
chore: clean up makefiles a bit 2023-11-18 21:36:08 +01:00
Jef Roosens d2afb98268
feat(lsm): store data files in nested subdirectories
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
2023-11-18 21:21:57 +01:00
Jef Roosens 881f2defbe
chore(lsm): some refactoring
ci/woodpecker/push/docker Pipeline was successful Details
2023-11-16 21:52:20 +01:00
Jef Roosens e42004de94
feat(landerctl): properly find config file
ci/woodpecker/push/docker Pipeline was successful Details
2023-11-16 12:21:13 +01:00
Jef Roosens f97de2fe83
fix(event_loop): fix some wrong allocs 2023-11-14 15:36:18 +01:00
Jef Roosens 6af3e6ad6d
chore: integrate cppcheck into workflow 2023-11-14 10:49:12 +01:00
Jef Roosens 3d48ee8019
feat(lander): support DELETE requests 2023-11-12 13:43:21 +01:00
Jef Roosens a4ad8c246e
feat(lsm): remove data file when removing entry 2023-11-12 13:21:04 +01:00
Jef Roosens c8728f2371
refactor(lsm): abstract determining entry data path 2023-11-12 13:19:30 +01:00
Jef Roosens b40389bbe2
feat(lsm): implement basic remove 2023-11-12 12:48:36 +01:00
Jef Roosens 51e4a203e9
feat(lsm): move keys to db file; idx entries are now constant length 2023-11-11 13:10:14 +01:00
Jef Roosens a6887d4094
refactor(lsm): rename some variables 2023-11-10 16:23:27 +01:00
Jef Roosens 418de748f0
feat(lsm): pave the way for removals and updates 2023-11-10 16:10:20 +01:00
Jef Roosens ddc38452be
feat(lsm): don't sync non-dirty entries 2023-11-10 11:34:55 +01:00
Jef Roosens 9b223d04a0
feat(lsm): sync database when closing handle 2023-11-09 22:40:06 +01:00
Jef Roosens eb0ce16f78
feat(lsm): store pointer to store in entry handle 2023-11-09 22:05:20 +01:00
Jef Roosens d4b21fb84d
feat(lsm): add valid entry marker to idx entries 2023-11-09 21:48:15 +01:00
Jef Roosens 2f58d1ee48
feat(lsm): track entry idx file offset 2023-11-09 21:32:39 +01:00
Jef Roosens 715e1f9a58
refactor(lsm): clean up disk write code 2023-11-09 21:07:51 +01:00
Jef Roosens 0efcdece48
feat(lander): store entry type as single byte 2023-11-08 18:17:58 +01:00
Jef Roosens 9c03a36aa2
fix(lsm): store data len in db; fix bug 2023-11-08 16:04:21 +01:00
Jef Roosens ef33825b7b
feat(lsm): always store entry data on disk 2023-11-08 14:11:46 +01:00
Jef Roosens 35c301955f
refactor(lsm): switch to uint8_t attr types; refactor disk code 2023-11-08 13:42:46 +01:00
Jef Roosens b5fc3a3612
refactor(lsm): decouple attribute types 2023-11-08 12:25:47 +01:00
Jef Roosens 535b92a6b6
feat(lander): integrate persistent insert & get lsm store 2023-11-08 11:19:33 +01:00
Jef Roosens 226873219b
refactor(lsm): slightly clean up disk write code 2023-11-08 10:40:12 +01:00
Jef Roosens 9c249d40c7
refactor(lsm): better separate store disk functions 2023-11-08 09:11:07 +01:00
Jef Roosens e10c43dfd6
fix(lsm): work when first creating db 2023-11-08 09:05:38 +01:00
Jef Roosens 719a65beff
chore(lsm): format code 2023-11-08 08:47:24 +01:00
Jef Roosens 38e9496717
feat(lsm): possibly added reading db file on load 2023-11-07 23:00:22 +01:00
Jef Roosens 46f89059e4
feat(lsm): start of on-disk database 2023-11-07 17:43:15 +01:00
Jef Roosens 8b6d1f6e91
feat(lsm): add some attr & data support functions; fix str bug 2023-11-03 13:23:46 +01:00
Jef Roosens 7a21bed2b2
feat(lsm): add str copy_n functions 2023-11-02 13:08:36 +01:00
Jef Roosens fc4187e6ce
feat(lsm): add entry data reading 2023-10-29 14:41:40 +01:00
Jef Roosens 1461956d98
chore(lsm): add example binary support to Makefile 2023-10-29 13:58:42 +01:00
Jef Roosens 1c421c1e67
chore(lsm): remove outdated files 2023-10-29 13:47:39 +01:00
Jef Roosens 8b2117a66c
fix(lsm): account for empty entries when appending data 2023-10-29 13:41:16 +01:00
Jef Roosens f19a8814f5
fix(lsm): write in-memory data to disk when switching to file 2023-10-29 12:33:07 +01:00
Jef Roosens f44c512099
feat(lsm): introduce entry handles for concurrent access 2023-10-29 12:19:59 +01:00
Jef Roosens 0e4e18da6c
feat(lsm): data streaming, random other stuff, locks 2023-10-28 15:49:16 +02:00
Jef Roosens aab93d9741
chore(lsm): test cenny gpg key 2023-10-25 11:19:28 +02:00
Jef Roosens b552e0a81b
feat(lsm): some more string functions; start of data streaming api 2023-10-25 10:57:45 +02:00
Jef Roosens fca8495de4
feat(lsm): implement lsm entry add & remove 2023-10-20 10:41:53 +02:00