aboutsummaryrefslogtreecommitdiff
path: root/src/rpc_server.rs
Commit message (Collapse)AuthorAgeFilesLines
* Begin implement bucket management & admin commandsAlex Auvolat2020-04-191-1/+2
|
* Massive RPC refactoringAlex Auvolat2020-04-181-143/+167
|
* Implement sending blocks to nodes that need themAlex Auvolat2020-04-171-0/+5
|
* Implement getting missing blocks when RC increasesAlex Auvolat2020-04-171-1/+0
| | | | | | | 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-1/+1
|
* WIPAlex Auvolat2020-04-161-21/+8
|
* Begin work on sync...Alex Auvolat2020-04-161-3/+1
|
* Fix table RPC to not be interruptibleAlex Auvolat2020-04-121-11/+15
|
* TLS works \o/Alex Auvolat2020-04-121-1/+1
| | | | | | | | | So, the issues were: - webpki does not support IP addresses as DNS names in URLs, so I hacked the HttpsConnector to always provide a fixed string as the DNS name for server certificate validation - the certificate requied a SAN section which was complicated to build but eventually the solution is there in genkeys.sh
* Trying to do TLSAlex Auvolat2020-04-121-19/+79
|
* fixesAlex Auvolat2020-04-121-8/+21
| | | | | | - 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-2/+2
| | | | | | advantages - reads don't prevent preparing writes - can be followed from other parts of the system by cloning the receiver
* Local refcounting of blocksAlex Auvolat2020-04-111-3/+2
|
* Background task runner that replaces tokio::spawnAlex Auvolat2020-04-111-2/+3
|
* We don't want the debugging to fail, actually.Alex Auvolat2020-04-101-9/+20
|
* Fix the Sync issue. Details:Alex Auvolat2020-04-101-23/+30
| | | | | | | 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-2/+19
|
* Something worksAlex Auvolat2020-04-091-2/+5
|
* Some workAlex Auvolat2020-04-081-1/+0
|
* Some work in actually storing thingsAlex Auvolat2020-04-081-7/+17
|
* Refactor; ability to update network configAlex Auvolat2020-04-071-0/+69