b9127dd6f8
Prepare for v0.3.0 and add migration path from v0.2.1.x
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build was killed
2021-05-28 15:29:58 +02:00
b490ebc7f6
Many improvements on ring/replication and its configuration:
...
- Explicit "replication_mode" configuration parameters that takes
either "none", "2" or "3" as values, instead of letting user configure
replication factor themselves. These are presets whose corresponding
replication/quorum values can be found in replication/mode.rs
- Explicit support for single-node and two-node deployments
(number of nodes must be at least "replication_mode", with "none"
we can have only one node)
- Ring is now stored much more compactly with 256*8 + n*32 bytes,
instead of 256*32 bytes
- Support for gateway-only nodes that do not store data
(these nodes still need a metadata_directory to store the list
of bucket and keys since those are stored on all nodes; it also
technically needs a data_directory to start but it will stay
empty unless we have bugs)
2021-05-28 14:07:36 +02:00
6ccffc3162
Improved XML serialization
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
- Use quick_xml and serde for all XML response returned by the S3 API.
- Include tests for all structs used to generate XML
- Remove old manual XML escaping function which was unsafe
2021-05-06 22:37:15 +02:00
e4b9e4e24d
rename types to CamelCase
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-05-03 22:15:09 +02:00
f05bb111c2
fix clippy warnings on util and rpc
2021-05-03 22:11:41 +02:00
575726358c
Tune Sled configuration
...
- Make sled cache size and flush interval configurable
- Set less agressive default values:
- cache size 128MB instead of 1GB
- Flush interval 2 seconds instead of .5 seconds
2021-05-03 17:27:43 +02:00
74373aebcf
make most requested changes
2021-04-27 16:47:08 +02:00
f871689571
run cargo fmt on util and make missing doc warning
2021-04-27 16:37:10 +02:00
f9bd2d8fb7
document util crate
2021-04-27 16:37:10 +02:00
64b91c2645
Keep old data
2021-04-27 16:37:09 +02:00
9ced9f78dc
Improve bootstraping: do it regularly; persist peer list
2021-04-27 16:37:08 +02:00
f859d15062
update to v0.2.1
continuous-integration/drone/push Build is pending
2021-03-19 13:39:18 +01:00
fd8f4caa81
Support old CPUs
continuous-integration/drone/push Build is passing
2021-03-19 12:19:40 +01:00
4c26a0b9c1
Update Cargo.toml files with AGPL license info
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-03-18 21:59:17 +01:00
f17cb6c969
resolve domain to multiple addresses
...
continuous-integration/drone/pr Build is passing
And warn instead of failling when a domain can't be resolved
2021-03-18 21:04:30 +01:00
c8a7ce5cdf
remove domain resolution for *_bind_addr
continuous-integration/drone/pr Build is passing
2021-03-18 19:47:51 +01:00
81e9db783f
simplify addresse deserialialiser and limit allocations
2021-03-18 19:47:51 +01:00
ae3b7029a9
add support for using domain name in configuration
2021-03-18 19:47:51 +01:00
dead945c8f
Prepare for release 0.2
continuous-integration/drone/push Build is passing
2021-03-18 19:33:15 +01:00
f4346cc5f4
Update dependencies
continuous-integration/drone/push Build is passing
2021-03-16 15:58:40 +01:00
6a8439fd13
Some improvements in background worker but we terminate late
continuous-integration/drone/push Build is passing
2021-03-15 23:14:12 +01:00
0cd5b2ae19
WIP migrate to tokio 1
continuous-integration/drone/push Build is passing
2021-03-15 22:36:41 +01:00
4d4117f2b4
Refactor block resync loop; make workers infaillible
continuous-integration/drone/push Build is passing
2021-03-15 20:09:44 +01:00
3bf2df622a
Time and metadata improvements
continuous-integration/drone/push Build is passing
2021-03-15 16:21:41 +01:00
c475471e7a
Implement table gc, currently for block_ref and version only
continuous-integration/drone/push Build is passing
2021-03-12 19:57:37 +01:00
8d63738cb0
Checkpoint: add merkle tree in data table
continuous-integration/drone/push Build is passing
2021-03-11 13:47:21 +01:00
3882d5ba36
Remove epidemic propagation for fully replicated stuff: write directly to all nodes
2021-03-05 15:09:18 +01:00
20e6e9fa20
Update sled & try to debug deadlock (but its in sled...)
continuous-integration/drone/push Build is passing
2021-02-23 21:27:28 +01:00
40763fd749
Cargo fmt
2021-02-23 18:46:25 +01:00
e8e4418ca7
Add blake2 and xxhash hash functions
continuous-integration/drone/push Build was killed
2021-02-23 17:52:28 +01:00
b1b640ae8b
rename hash() to sha256sum(), we might want to change it at some places
continuous-integration/drone/push Build is passing
2021-02-21 15:24:30 +01:00
1d1d497e2b
Bump everything to 0.1.1
2021-01-15 17:54:48 +01:00
fc427b0b66
Merge branch 'master' into feature/website
2020-11-19 14:39:30 +01:00
2765291796
Build path correctly
2020-11-11 19:48:01 +01:00
4093833ae8
Extract bucket
2020-11-10 09:57:07 +01:00
a50fa70d45
Refactor error management in API part
2020-11-08 15:05:28 +01:00
cea871d944
Skeleton to the new web API
2020-11-02 15:48:39 +01:00
104e2ce0a2
Add "web" configuration entry
2020-10-31 17:28:56 +01:00
cc65cdc0fe
Add license, description and repository to .toml files
2020-07-07 14:14:58 +02:00
fbe8fe81f2
Add automatic peer discovery from Consul
2020-06-30 18:33:14 +02:00
db6f1f35a8
Rename epidemic_factor to epidemic_fanout (that's what it is); complete conf example in readme
2020-06-30 15:03:34 +02:00
b46a7788d1
Implement HTTP ranges in get
2020-05-04 13:09:23 +00:00
d867bbcfb5
Implement DeleteObjects
2020-05-01 15:52:35 +00:00
f2e05986c4
Starting to be S3 compatible
2020-04-24 17:46:52 +00:00
d8f5e643bc
Split code for modular compilation
2020-04-24 10:10:01 +00:00