Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make background runner terminate correctly | Alex Auvolat | 2022-05-10 | 1 | -0/+1 |
| | |||||
* | Refactor admin API to be in api/admin and use common code | Alex Auvolat | 2022-05-10 | 1 | -17/+18 |
| | |||||
* | First implementation of K2V (#293) | Alex | 2022-05-10 | 1 | -5/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **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> | ||||
* | Move block manager to separate module | Alex Auvolat | 2022-03-23 | 1 | -2/+1 |
| | |||||
* | Make admin server optional | Alex Auvolat | 2022-03-14 | 1 | -6/+12 |
| | |||||
* | Refactoring: rename config files, make modifications less invasive | Alex Auvolat | 2022-03-14 | 1 | -2/+2 |
| | |||||
* | Add metrics to API endpoint | Alex Auvolat | 2022-03-14 | 1 | -2/+3 |
| | |||||
* | Refactor how durations are measured | Alex Auvolat | 2022-03-14 | 1 | -1/+1 |
| | |||||
* | Add tracing integration with opentelemetry | Alex Auvolat | 2022-03-14 | 1 | -0/+6 |
| | |||||
* | Implement basic metrics in table | Maximilien R | 2022-03-14 | 1 | -1/+1 |
| | |||||
* | Update dependencies and add admin module with metrics | mricher | 2022-03-14 | 1 | -1/+12 |
| | | | | | | | | | | - Global dependencies updated in Cargo.lock - New module created in src/admin to host: - the (future) admin REST API - the metric collection - add configuration block No metrics implemented yet | ||||
* | Improve CLI, adapt tests, update documentation | Alex Auvolat | 2021-10-25 | 1 | -1/+1 |
| | |||||
* | Improvements to CLI and various fixes for netapp version | Alex Auvolat | 2021-10-22 | 1 | -1/+7 |
| | | | | Discovery via consul, persist peer list to file | ||||
* | First port of Garage to Netapp | Alex Auvolat | 2021-10-22 | 1 | -53/+34 |
| | |||||
* | fix clippy warnings on garage | Trinity Pointard | 2021-05-03 | 1 | -4/+4 |
| | |||||
* | Tune Sled configuration | Alex Auvolat | 2021-05-03 | 1 | -1/+6 |
| | | | | | | | - Make sled cache size and flush interval configurable - Set less agressive default values: - cache size 128MB instead of 1GB - Flush interval 2 seconds instead of .5 seconds | ||||
* | document api crate | Trinity Pointard | 2021-04-27 | 1 | -2/+2 |
| | |||||
* | document web crate | Trinity Pointard | 2021-04-27 | 1 | -2/+2 |
| | |||||
* | Improve bootstraping: do it regularly; persist peer list | Alex Auvolat | 2021-04-27 | 1 | -1/+1 |
| | |||||
* | Some improvements in background worker but we terminate late | Alex Auvolat | 2021-03-15 | 1 | -18/+15 |
| | |||||
* | WIP migrate to tokio 1 | Alex Auvolat | 2021-03-15 | 1 | -3/+3 |
| | |||||
* | Refactor CLI and prettify CLI outpu | Alex Auvolat | 2021-03-12 | 1 | -0/+1 |
| | |||||
* | Checkpoint: add merkle tree in data table | Alex Auvolat | 2021-03-11 | 1 | -1/+1 |
| | |||||
* | Remove migration paths from 0.1 branch | Alex Auvolat | 2021-03-10 | 1 | -22/+1 |
| | |||||
* | Update sled & try to debug deadlock (but its in sled...) | Alex Auvolat | 2021-02-23 | 1 | -1/+22 |
| | |||||
* | Fix formatting | Quentin | 2020-11-10 | 1 | -1/+1 |
| | |||||
* | Skeleton to the new web API | Quentin | 2020-11-02 | 1 | -0/+6 |
| | |||||
* | Rename garage_core to garage_model | Alex Auvolat | 2020-07-07 | 1 | -1/+1 |
| | |||||
* | Add automatic peer discovery from Consul | Alex Auvolat | 2020-06-30 | 1 | -1/+5 |
| | |||||
* | Split code for modular compilation | Alex Auvolat | 2020-04-24 | 1 | -0/+87 |