Commit graph

16 commits

Author SHA1 Message Date
Alex ea75564851 More aggressive sync timings & improve other stuff 2020-04-19 17:59:59 +00:00
Alex a6129d8626 Begin implement bucket management & admin commands 2020-04-19 17:15:48 +02:00
Alex e41ce4d815 Implement getting missing blocks when RC increases
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.
2020-04-17 15:40:13 +02:00
Alex d1e8f78b2c Trying to do TLS 2020-04-12 15:51:19 +02:00
Alex 419c70e506 fixes
- make block_put call uninterruptible by client
- used meta_replication_factor instead of data_replication_factor
- listen on ipv6
2020-04-12 12:10:33 +02:00
Alex 53289b69e5 Background task runner that replaces tokio::spawn 2020-04-11 18:51:11 +02:00
Alex 3477864142 Fix the Sync issue. Details:
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.
2020-04-10 22:01:48 +02:00
Alex a3eb88e601 Locally, transactions 2020-04-09 20:58:39 +02:00
Alex 1d786c2c66 Something works 2020-04-09 18:43:53 +02:00
Alex 101444abb3 Some progress 2020-04-09 17:32:28 +02:00
Alex a450103ed0 Work & TODO 2020-04-08 23:47:34 +02:00
Alex cc580da0ae Some work 2020-04-08 23:01:49 +02:00
Alex d50edcdb4f Basic workflow for client PUT, next is do actual storage 2020-04-08 00:39:07 +02:00
Alex 90cdffb425 custom data type for hashes and identifiers 2020-04-07 18:10:20 +02:00
Alex 1a5e6e39af Some more basic work 2020-04-06 19:55:39 +02:00
Alex 7102db1d54 First commit: skeleton for something great 2020-04-05 23:33:42 +02:00