aboutsummaryrefslogtreecommitdiff
path: root/src/api_server.rs
Commit message (Collapse)AuthorAgeFilesLines
* Implement getting missing blocks when RC increasesAlex Auvolat2020-04-171-51/+5
| | | | | | | Issue: RC increases also when the block ref entry is first put by the actual client. At that point the client is probably already sending us the block content, so we don't need to do a get... We should add a delay before the task is added or find something to do.
* Make all requests continue in the background even after we got enough responses.Alex Auvolat2020-04-161-2/+2
|
* Small refactoringsAlex Auvolat2020-04-121-2/+2
|
* TLS for command line clientAlex Auvolat2020-04-121-2/+2
|
* fixesAlex Auvolat2020-04-121-4/+4
| | | | | | - make block_put call uninterruptible by client - used meta_replication_factor instead of data_replication_factor - listen on ipv6
* Keep network status & ring in a tokio::sync::watchAlex Auvolat2020-04-111-6/+6
| | | | | | advantages - reads don't prevent preparing writes - can be followed from other parts of the system by cloning the receiver
* Background task runner that replaces tokio::spawnAlex Auvolat2020-04-111-2/+31
|
* Add block ref tableAlex Auvolat2020-04-101-9/+20
|
* RefactorAlex Auvolat2020-04-101-71/+4
|
* Fix the Sync issue. Details:Alex Auvolat2020-04-101-79/+202
| | | | | | | So the HTTP client future of Hyper is not Sync, thus the stream that read blocks wasn't either. However Hyper's default Body type requires a stream to be Sync for wrap_stream. Solution: reimplement a custom HTTP body type.
* Why is it not Sync??Alex Auvolat2020-04-091-30/+92
|
* Some progressAlex Auvolat2020-04-091-22/+47
|
* Reorganize table APIAlex Auvolat2020-04-091-12/+10
|
* Some work in actually storing thingsAlex Auvolat2020-04-081-41/+29
|
* Basic workflow for client PUT, next is do actual storageAlex Auvolat2020-04-081-49/+187
|
* Refactor; ability to update network configAlex Auvolat2020-04-071-0/+76