aboutsummaryrefslogtreecommitdiff
path: root/src/table/data.rs
Commit message (Collapse)AuthorAgeFilesLines
* Start LMDB adapter, with fixed semanticsAlex Auvolat2022-06-031-17/+20
|
* Update rmp-serdeAlex Auvolat2022-06-031-1/+1
|
* Fix most clippy lintsAlex Auvolat2022-06-031-6/+2
|
* Change value type to be a dyn thingAlex Auvolat2022-06-031-1/+1
|
* Adapt Garage to use new DB abstractionAlex Auvolat2022-06-021-31/+32
|
* First implementation of K2V (#293)Alex2022-05-101-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 Auvolat2022-03-141-1/+3
|
* Add tracing integration with opentelemetryAlex Auvolat2022-03-141-1/+0
|
* Add many metrics in table/ and rpc/Alex Auvolat2022-03-141-1/+5
|
* Implement basic metrics in tableMaximilien R2022-03-141-0/+6
|
* Fix a bug when a migration is followed by a rebalanceAlex Auvolat2022-02-101-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 traitAlex Auvolat2021-12-151-14/+6
|
* Implement GC delay for table dataAlex Auvolat2021-11-081-1/+1
|
* Refactor and comment table GC logicAlex Auvolat2021-11-081-1/+2
|
* First port of Garage to NetappAlex Auvolat2021-10-221-1/+1
|
* rename types to CamelCaseTrinity Pointard2021-05-031-2/+2
|
* Improve bootstraping: do it regularly; persist peer listAlex Auvolat2021-04-271-1/+7
|
* Leader-based GCAlex Auvolat2021-03-161-3/+17
|
* Refactor codeAlex Auvolat2021-03-161-71/+65
|
* WIP migrate to tokio 1Alex Auvolat2021-03-151-3/+3
|
* Small fixesAlex Auvolat2021-03-151-1/+5
|
* cargo fmtAlex Auvolat2021-03-121-42/+49
|
* Implement table gc, currently for block_ref and version onlyAlex Auvolat2021-03-121-12/+55
|
* Implement garage stats to get info on node contentsAlex Auvolat2021-03-121-1/+1
|
* Fix merkle updater not being notified; improved loggingAlex Auvolat2021-03-121-2/+2
|
* (not well tested) use merkle tree for syncAlex Auvolat2021-03-111-6/+9
|
* WIP big refactoringAlex Auvolat2021-03-111-0/+189