aboutsummaryrefslogtreecommitdiff
path: root/src/garage/server.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make background runner terminate correctlyAlex Auvolat2022-05-101-0/+1
|
* Refactor admin API to be in api/admin and use common codeAlex Auvolat2022-05-101-17/+18
|
* First implementation of K2V (#293)Alex2022-05-101-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 moduleAlex Auvolat2022-03-231-2/+1
|
* Make admin server optionalAlex Auvolat2022-03-141-6/+12
|
* Refactoring: rename config files, make modifications less invasiveAlex Auvolat2022-03-141-2/+2
|
* Add metrics to API endpointAlex Auvolat2022-03-141-2/+3
|
* Refactor how durations are measuredAlex Auvolat2022-03-141-1/+1
|
* Add tracing integration with opentelemetryAlex Auvolat2022-03-141-0/+6
|
* Implement basic metrics in tableMaximilien R2022-03-141-1/+1
|
* Update dependencies and add admin module with metricsmricher2022-03-141-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 documentationAlex Auvolat2021-10-251-1/+1
|
* Improvements to CLI and various fixes for netapp versionAlex Auvolat2021-10-221-1/+7
| | | | Discovery via consul, persist peer list to file
* First port of Garage to NetappAlex Auvolat2021-10-221-53/+34
|
* fix clippy warnings on garageTrinity Pointard2021-05-031-4/+4
|
* Tune Sled configurationAlex Auvolat2021-05-031-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 crateTrinity Pointard2021-04-271-2/+2
|
* document web crateTrinity Pointard2021-04-271-2/+2
|
* Improve bootstraping: do it regularly; persist peer listAlex Auvolat2021-04-271-1/+1
|
* Some improvements in background worker but we terminate lateAlex Auvolat2021-03-151-18/+15
|
* WIP migrate to tokio 1Alex Auvolat2021-03-151-3/+3
|
* Refactor CLI and prettify CLI outpuAlex Auvolat2021-03-121-0/+1
|
* Checkpoint: add merkle tree in data tableAlex Auvolat2021-03-111-1/+1
|
* Remove migration paths from 0.1 branchAlex Auvolat2021-03-101-22/+1
|
* Update sled & try to debug deadlock (but its in sled...)Alex Auvolat2021-02-231-1/+22
|
* Fix formattingQuentin2020-11-101-1/+1
|
* Skeleton to the new web APIQuentin2020-11-021-0/+6
|
* Rename garage_core to garage_modelAlex Auvolat2020-07-071-1/+1
|
* Add automatic peer discovery from ConsulAlex Auvolat2020-06-301-1/+5
|
* Split code for modular compilationAlex Auvolat2020-04-241-0/+87