Dustin J. Mitchell
fa7623ebe7
Handle setting a working set item to None twice
...
Without this, setting an item to None that did not already exist failed,
because the kv delete operation did not find the referenced key.
This also checks that the index is not 0, which is not allowed as the
working set is 1-indexed.
2021-05-16 09:40:35 -04:00
Dustin J. Mitchell
c8d6619d71
Replace tempfile with tempdir
2021-04-16 19:29:27 -04:00
Dustin J. Mitchell
fdeadfd981
Fix upper_case_acronyms lint
2021-03-29 13:26:02 +00:00
dbr
5ee67d65e2
Remove whitespace in comment to avoid cargo fmt doing weird things
2021-03-25 18:29:53 +11:00
dbr
4d9755c43b
Replace 'failure' crate with anyhow+thiserror
...
Closes #148
2021-03-25 16:33:35 +11:00
Dustin J. Mitchell
ae4cee1ac3
add docs for the 'server' and 'storage' modules
2021-01-10 22:22:18 -05:00
Dustin J. Mitchell
02d9c577ab
use StorageConfig instead of ReplicaConfig
2021-01-10 22:22:18 -05:00
Dustin J. Mitchell
15ffc62279
rename taskstorage to storage
2021-01-10 22:22:17 -05:00