Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bring back the counted tree hack for Sled (with caveat) | Alex Auvolat | 2022-06-07 | 2 | -12/+17 |
| | | | | caveat: it's not only for sled | ||||
* | Fix clippy lint | Alex Auvolat | 2022-06-06 | 1 | -1/+1 |
| | |||||
* | Fix more .unwrap()'s | Alex Auvolat | 2022-06-06 | 1 | -2/+6 |
| | |||||
* | fix | Alex Auvolat | 2022-06-06 | 1 | -1/+1 |
| | |||||
* | add comment | Alex Auvolat | 2022-06-06 | 1 | -0/+9 |
| | |||||
* | Improve things in block manager & correctly propagate .len() errors | Alex Auvolat | 2022-06-06 | 1 | -18/+36 |
| | |||||
* | Table updated trigger now happens in transaction, this is waaaay better! | Alex Auvolat | 2022-06-06 | 2 | -32/+39 |
| | |||||
* | Safe choice: revert "Update rmp-serde" | Alex Auvolat | 2022-06-06 | 1 | -1/+1 |
| | | | | This reverts commit 16e0a655d0d01e3871aee81a0a9660102d6df74e. | ||||
* | Safe choice: return Vec<u8> and not some fancy zero-copy type | Alex Auvolat | 2022-06-06 | 1 | -8/+4 |
| | |||||
* | Start LMDB adapter, with fixed semantics | Alex Auvolat | 2022-06-03 | 1 | -3/+3 |
| | |||||
* | Update rmp-serde | Alex Auvolat | 2022-06-03 | 1 | -1/+1 |
| | |||||
* | small fixes | Alex Auvolat | 2022-06-03 | 1 | -3/+1 |
| | |||||
* | Fix block repair to not deadlock with sqlite | Alex Auvolat | 2022-06-03 | 1 | -0/+8 |
| | |||||
* | fix clipy lint | Alex Auvolat | 2022-06-03 | 1 | -5/+4 |
| | |||||
* | Slightly prettier code | Alex Auvolat | 2022-06-03 | 1 | -13/+6 |
| | |||||
* | Fix most clippy lints | Alex Auvolat | 2022-06-03 | 1 | -2/+4 |
| | |||||
* | Change value type to be a dyn thing | Alex Auvolat | 2022-06-03 | 1 | -1/+1 |
| | |||||
* | Sqlite iter with unsafe code | Alex Auvolat | 2022-06-02 | 1 | -3/+11 |
| | |||||
* | Adapt Garage to use new DB abstraction | Alex Auvolat | 2022-06-02 | 4 | -39/+55 |
| | |||||
* | First implementation of K2V (#293) | Alex | 2022-05-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **Specification:** View spec at [this URL](https://git.deuxfleurs.fr/Deuxfleurs/garage/src/branch/k2v/doc/drafts/k2v-spec.md) - [x] Specify the structure of K2V triples - [x] Specify the DVVS format used for causality detection - [x] Specify the K2V index (just a counter of number of values per partition key) - [x] Specify single-item endpoints: ReadItem, InsertItem, DeleteItem - [x] Specify index endpoint: ReadIndex - [x] Specify multi-item endpoints: InsertBatch, ReadBatch, DeleteBatch - [x] Move to JSON objects instead of tuples - [x] Specify endpoints for polling for updates on single values (PollItem) **Implementation:** - [x] Table for K2V items, causal contexts - [x] Indexing mechanism and table for K2V index - [x] Make API handlers a bit more generic - [x] K2V API endpoint - [x] K2V API router - [x] ReadItem - [x] InsertItem - [x] DeleteItem - [x] PollItem - [x] ReadIndex - [x] InsertBatch - [x] ReadBatch - [x] DeleteBatch **Testing:** - [x] Just a simple Python script that does some requests to check visually that things are going right (does not contain parsing of results or assertions on returned values) - [x] Actual tests: - [x] Adapt testing framework - [x] Simple test with InsertItem + ReadItem - [x] Test with several Insert/Read/DeleteItem + ReadIndex - [x] Test all combinations of return formats for ReadItem - [x] Test with ReadBatch, InsertBatch, DeleteBatch - [x] Test with PollItem - [x] Test error codes - [ ] Fix most broken stuff - [x] test PollItem broken randomly - [x] when invalid causality tokens are given, errors should be 4xx not 5xx **Improvements:** - [x] Descending range queries - [x] Specify - [x] Implement - [x] Add test - [x] Batch updates to index counter - [x] Put K2V behind `k2v` feature flag Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/293 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me> | ||||
* | Bring maximum exponential backoff time down from 16h to 1h | Alex Auvolat | 2022-04-07 | 1 | -1/+5 |
| | |||||
* | Add blocks in errored state to `garage stats` | Alex Auvolat | 2022-03-28 | 1 | -0/+5 |
| | |||||
* | Add lots of comments on how the resync queue works | Alex Auvolat | 2022-03-23 | 1 | -5/+96 |
| | | | | (I don't really want to change/refactor that code though) | ||||
* | Make background tranquility a configurable parameter | Alex Auvolat | 2022-03-23 | 2 | -10/+9 |
| | |||||
* | Move block RC code to separate `rc.rs` | Alex Auvolat | 2022-03-23 | 3 | -136/+175 |
| | |||||
* | Move DataBlock out of manager.rs | Alex Auvolat | 2022-03-23 | 3 | -78/+86 |
| | |||||
* | Move block manager to separate module | Alex Auvolat | 2022-03-23 | 4 | -0/+1237 |