aboutsummaryrefslogtreecommitdiff
path: root/src/rpc_client.rs
Commit message (Collapse)AuthorAgeFilesLines
* Continue pinging nodes when they are down ; overall better handling of down ↵Alex Auvolat2020-04-231-19/+48
| | | | nodes
* RPC to ourself do not pass through serialization + HTTPSAlex Auvolat2020-04-231-9/+36
|
* RequestStrategy with possible interruption or notAlex Auvolat2020-04-231-14/+42
|
* Fix in rpc_client (see comment in code)Alex Auvolat2020-04-221-1/+11
|
* Well they still have to exit when we're exiting thoughAlex Auvolat2020-04-221-1/+0
|
* Better concurrency:Alex Auvolat2020-04-221-15/+39
| | | | | | Use Notify instead of stupid sleep in background worker Use Semaphore to limit concurrent requests in rpc_client Make more background tasks cancellable
* Make UUID & Hash Copy and remove some .clone() noiseAlex Auvolat2020-04-211-2/+2
|
* Pretty loggingAlex Auvolat2020-04-211-1/+1
|
* Add hostname to node infoAlex Auvolat2020-04-191-4/+5
|
* Begin implement bucket management & admin commandsAlex Auvolat2020-04-191-7/+9
|
* Reorder imports.Alex Auvolat2020-04-181-2/+2
| | | | | | | Trying to separate: 1. Stuff for handling the swarm of nodes and generic table data replication 2. Stuff for the object store core application: metadata tables and block management 3. Stuff for the S3 API
* Massive RPC refactoringAlex Auvolat2020-04-181-94/+153
|
* Implement getting missing blocks when RC increasesAlex Auvolat2020-04-171-3/+9
| | | | | | | 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-14/+25
|
* WIPAlex Auvolat2020-04-161-1/+1
|
* Begin work on sync...Alex Auvolat2020-04-161-2/+4
|
* CleanupAlex Auvolat2020-04-121-2/+1
|
* TLS works \o/Alex Auvolat2020-04-121-6/+5
| | | | | | | | | 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-9/+44
|
* 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
* Fix the Sync issue. Details:Alex Auvolat2020-04-101-34/+37
| | | | | | | 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-1/+1
|
* Something worksAlex Auvolat2020-04-091-1/+1
|
* Basic workflow for client PUT, next is do actual storageAlex Auvolat2020-04-081-9/+38
|
* Refactor; ability to update network configAlex Auvolat2020-04-071-0/+96