Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Start LMDB adapter, with fixed semantics | Alex Auvolat | 2022-06-03 | 1 | -17/+20 |
| | |||||
* | Update rmp-serde | Alex Auvolat | 2022-06-03 | 1 | -1/+1 |
| | |||||
* | Fix most clippy lints | Alex Auvolat | 2022-06-03 | 1 | -6/+2 |
| | |||||
* | Change value type to be a dyn thing | Alex Auvolat | 2022-06-03 | 1 | -1/+1 |
| | |||||
* | Adapt Garage to use new DB abstraction | Alex Auvolat | 2022-06-02 | 1 | -31/+32 |
| | |||||
* | First implementation of K2V (#293) | Alex | 2022-05-10 | 1 | -25/+73 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **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> | ||||
* | Add wrapper over sled tree to count items (used for big queues) | Alex Auvolat | 2022-03-14 | 1 | -1/+3 |
| | |||||
* | Add tracing integration with opentelemetry | Alex Auvolat | 2022-03-14 | 1 | -1/+0 |
| | |||||
* | Add many metrics in table/ and rpc/ | Alex Auvolat | 2022-03-14 | 1 | -1/+5 |
| | |||||
* | Implement basic metrics in table | Maximilien R | 2022-03-14 | 1 | -0/+6 |
| | |||||
* | Fix a bug when a migration is followed by a rebalance | Alex Auvolat | 2022-02-10 | 1 | -9/+18 |
| | | | | | | | Nodes would stabilize on different encoding formats for the values, some having the pre-migration format and some having the post-migration format. This would be reflected in the Merkle trees never converging and thus having an infinite resync loop. | ||||
* | Make table name a const in trait | Alex Auvolat | 2021-12-15 | 1 | -14/+6 |
| | |||||
* | Implement GC delay for table data | Alex Auvolat | 2021-11-08 | 1 | -1/+1 |
| | |||||
* | Refactor and comment table GC logic | Alex Auvolat | 2021-11-08 | 1 | -1/+2 |
| | |||||
* | First port of Garage to Netapp | Alex Auvolat | 2021-10-22 | 1 | -1/+1 |
| | |||||
* | rename types to CamelCase | Trinity Pointard | 2021-05-03 | 1 | -2/+2 |
| | |||||
* | Improve bootstraping: do it regularly; persist peer list | Alex Auvolat | 2021-04-27 | 1 | -1/+7 |
| | |||||
* | Leader-based GC | Alex Auvolat | 2021-03-16 | 1 | -3/+17 |
| | |||||
* | Refactor code | Alex Auvolat | 2021-03-16 | 1 | -71/+65 |
| | |||||
* | WIP migrate to tokio 1 | Alex Auvolat | 2021-03-15 | 1 | -3/+3 |
| | |||||
* | Small fixes | Alex Auvolat | 2021-03-15 | 1 | -1/+5 |
| | |||||
* | cargo fmt | Alex Auvolat | 2021-03-12 | 1 | -42/+49 |
| | |||||
* | Implement table gc, currently for block_ref and version only | Alex Auvolat | 2021-03-12 | 1 | -12/+55 |
| | |||||
* | Implement garage stats to get info on node contents | Alex Auvolat | 2021-03-12 | 1 | -1/+1 |
| | |||||
* | Fix merkle updater not being notified; improved logging | Alex Auvolat | 2021-03-12 | 1 | -2/+2 |
| | |||||
* | (not well tested) use merkle tree for sync | Alex Auvolat | 2021-03-11 | 1 | -6/+9 |
| | |||||
* | WIP big refactoring | Alex Auvolat | 2021-03-11 | 1 | -0/+189 |