Alex Auvolat
768d22ccdb
Better prints again, and a great question
4 years ago
Alex Auvolat
2a05fd135a
Change debug prints a bit
4 years ago
Alex Auvolat
2f3b1a072f
WIP
4 years ago
Alex Auvolat
2832be4396
WIP
4 years ago
Alex Auvolat
e8d750175d
Implement ring comparison algorithm
4 years ago
Alex Auvolat
f01c1e71b5
Begin work on sync...
4 years ago
Alex Auvolat
43ce5e4ab4
Fix table RPC to not be interruptible
4 years ago
Alex Auvolat
2bea76ce16
Small refactorings
4 years ago
Alex Auvolat
9f8b3b5a18
TLS for command line client
4 years ago
Alex Auvolat
c788fc9f9e
Cleanup
4 years ago
Alex Auvolat
d2814b5c33
TLS works \o/
...
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
4 years ago
Alex Auvolat
d1e8f78b2c
Trying to do TLS
4 years ago
Alex Auvolat
5967c5a5af
Refactor a bit
4 years ago
Alex Auvolat
419c70e506
fixes
...
- make block_put call uninterruptible by client
- used meta_replication_factor instead of data_replication_factor
- listen on ipv6
4 years ago
Alex Auvolat
9c931f5eda
Keep network status & ring in a tokio::sync::watch
...
advantages
- reads don't prevent preparing writes
- can be followed from other parts of the system by cloning the receiver
4 years ago
Alex Auvolat
5dd59e437d
Local refcounting of blocks
4 years ago
Alex Auvolat
dcf58499a4
table::insert_many, version_table::updated
4 years ago
Alex Auvolat
53289b69e5
Background task runner that replaces tokio::spawn
4 years ago
Alex Auvolat
4a2624b76a
We don't want the debugging to fail, actually.
4 years ago
Alex Auvolat
cf8fd948fc
Add block ref table
4 years ago
Alex Auvolat
ff4fb97568
(Try to) disable LTO ?
4 years ago
Alex Auvolat
a50f07dfdc
Refactor
4 years ago
Alex Auvolat
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.
4 years ago
Alex Auvolat
d66c0d6833
Why is it not Sync??
4 years ago
Alex Auvolat
a3eb88e601
Locally, transactions
4 years ago
Alex Auvolat
1d786c2c66
Something works
4 years ago
Alex Auvolat
101444abb3
Some progress
4 years ago
Alex Auvolat
4c1aee42d5
Reorganize table API
4 years ago
Alex Auvolat
a450103ed0
Work & TODO
4 years ago
Alex Auvolat
cc580da0ae
Some work
4 years ago
Alex Auvolat
bacc76a057
Some work in actually storing things
4 years ago
Alex Auvolat
d50edcdb4f
Basic workflow for client PUT, next is do actual storage
4 years ago
Alex Auvolat
90cdffb425
custom data type for hashes and identifiers
4 years ago
Alex Auvolat
82b7fcd280
Config management & ring
4 years ago
Alex Auvolat
061e676136
Refactor; ability to update network config
4 years ago
Alex Auvolat
46d5b896e8
Fix pinging
4 years ago
Alex Auvolat
a7b85146fe
Forgot to recalculate hash at strategic locations
4 years ago
Alex Auvolat
a09f019cc5
Seems to be fixed
4 years ago
Alex Auvolat
87f2b4d2fc
Ununderstandable error
4 years ago
Alex Auvolat
3c36b449a3
Some work
4 years ago
Alex Auvolat
1a5e6e39af
Some more basic work
4 years ago
Alex Auvolat
7102db1d54
First commit: skeleton for something great
4 years ago