aboutsummaryrefslogtreecommitdiff
path: root/src/util/config.rs
Commit message (Collapse)AuthorAgeFilesLines
* Improvements to CLI and various fixes for netapp versionAlex Auvolat2021-10-221-18/+8
| | | | Discovery via consul, persist peer list to file
* First port of Garage to NetappAlex Auvolat2021-10-221-33/+30
|
* Many improvements on ring/replication and its configuration:Alex Auvolat2021-05-281-28/+18
| | | | | | | | | | | | | | | | | | | | - 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)
* Tune Sled configurationAlex Auvolat2021-05-031-0/+14
| | | | | | | - 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
* run cargo fmt on util and make missing doc warningTrinity Pointard2021-04-271-21/+21
|
* document util crateTrinity Pointard2021-04-271-0/+27
|
* resolve domain to multiple addressesTrinity Pointard2021-03-181-10/+17
| | | | And warn instead of failling when a domain can't be resolved
* remove domain resolution for *_bind_addrTrinity Pointard2021-03-181-16/+0
|
* simplify addresse deserialialiser and limit allocationsTrinity Pointard2021-03-181-23/+7
|
* add support for using domain name in configurationTrinity Pointard2021-03-181-1/+52
|
* Remove epidemic propagation for fully replicated stuff: write directly to ↵Alex Auvolat2021-03-051-5/+5
| | | | all nodes
* Build path correctlyQuentin2020-11-111-0/+1
|
* Extract bucketQuentin2020-11-101-1/+2
|
* Skeleton to the new web APIQuentin2020-11-021-1/+1
|
* Add "web" configuration entryQuentin2020-10-311-0/+7
|
* Add automatic peer discovery from ConsulAlex Auvolat2020-06-301-0/+2
|
* Rename epidemic_factor to epidemic_fanout (that's what it is); complete conf ↵Alex Auvolat2020-06-301-3/+3
| | | | example in readme
* Starting to be S3 compatibleAlex Auvolat2020-04-241-1/+8
|
* Split code for modular compilationAlex Auvolat2020-04-241-0/+66