aboutsummaryrefslogtreecommitdiff
path: root/src/util
Commit message (Collapse)AuthorAgeFilesLines
* New model for bucketsAlex Auvolat2022-01-047-5/+122
|
* Add compression using zstd (#173)trinity-1686a2021-12-151-0/+61
| | | | | | | | | fix #27 Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/173 Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
* Improve how node roles are assigned in Garagev0.5-beta1Alex Auvolat2021-11-168-1/+517
| | | | | | | | | | | | | | | | | - change the terminology: the network configuration becomes the role table, the configuration of a nodes becomes a node's role - the modification of the role table takes place in two steps: first, changes are staged in a CRDT data structure. Then, once the user is happy with the changes, they can commit them all at once (or revert them). - update documentation - fix tests - implement smarter partition assignation algorithm This patch breaks the format of the network configuration: when migrating, the cluster will be in a state where no roles are assigned. All roles must be re-assigned and commited at once. This migration should not pose an issue.
* add support for vhost-style s3 bucketTrinity Pointard2021-11-161-0/+3
|
* allow missing bootstrap_peers in garage.tomlTrinity Pointard2021-11-051-1/+1
|
* Add tranquilizer mechanism to improve on token bucket mechanismtranquilityAlex Auvolat2021-11-042-0/+58
|
* Add semaphore to limit RAM used by buffered outgoing requestsrequest-buffer-semaphoreAlex Auvolat2021-11-031-0/+3
|
* Refactoring on repair commandscli-verify-integrityAlex Auvolat2021-10-272-0/+41
|
* Use published netapp crate instead of git repoAlex Auvolat2021-10-261-1/+3
|
* Improve CLI, adapt tests, update documentationAlex Auvolat2021-10-253-16/+45
|
* Improvements to CLI and various fixes for netapp versionAlex Auvolat2021-10-223-48/+72
| | | | Discovery via consul, persist peer list to file
* First port of Garage to NetappAlex Auvolat2021-10-223-43/+36
|
* Prepare for v0.3.0 and add migration path from v0.2.1.xv0.3.0Alex Auvolat2021-05-281-1/+1
|
* 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)
* Improved XML serializationbetter_xmlAlex Auvolat2021-05-061-1/+1
| | | | | | - 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
* rename types to CamelCaseTrinity Pointard2021-05-033-17/+16
|
* fix clippy warnings on util and rpcTrinity Pointard2021-05-034-6/+7
|
* 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
* make most requested changesTrinity Pointard2021-04-272-2/+0
|
* run cargo fmt on util and make missing doc warningTrinity Pointard2021-04-273-31/+31
|
* document util crateTrinity Pointard2021-04-276-3/+63
|
* Keep old dataAlex Auvolat2021-04-271-1/+11
|
* Improve bootstraping: do it regularly; persist peer listAlex Auvolat2021-04-272-0/+63
|
* update to v0.2.1v0.2.1release-v0.2.1Alex Auvolat2021-03-191-1/+1
|
* Support old CPUsmasterAlex Auvolat2021-03-192-6/+5
|
* Update Cargo.toml files with AGPL license infov0.2.0Alex Auvolat2021-03-181-7/+7
|
* 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
|
* Prepare for release 0.2Alex Auvolat2021-03-181-1/+1
|
* Update dependenciesAlex Auvolat2021-03-163-15/+10
|
* Some improvements in background worker but we terminate lateAlex Auvolat2021-03-151-75/+100
|
* WIP migrate to tokio 1Alex Auvolat2021-03-153-68/+78
|
* Refactor block resync loop; make workers infaillibleAlex Auvolat2021-03-151-6/+3
|
* Time and metadata improvementsAlex Auvolat2021-03-154-8/+18
|
* Implement table gc, currently for block_ref and version onlyAlex Auvolat2021-03-121-0/+8
|
* Checkpoint: add merkle tree in data tableAlex Auvolat2021-03-111-8/+8
|
* Remove epidemic propagation for fully replicated stuff: write directly to ↵Alex Auvolat2021-03-051-5/+5
| | | | all nodes
* Update sled & try to debug deadlock (but its in sled...)Alex Auvolat2021-02-232-5/+5
|
* Cargo fmtAlex Auvolat2021-02-231-1/+1
|
* Add blake2 and xxhash hash functionsAlex Auvolat2021-02-232-1/+25
|
* rename hash() to sha256sum(), we might want to change it at some placesAlex Auvolat2021-02-211-1/+1
|
* Bump everything to 0.1.1Alex Auvolat2021-01-151-1/+1
|
* Merge branch 'master' into feature/websiteQuentin2020-11-191-35/+2
|\
| * Refactor error management in API parterror-refactoringAlex Auvolat2020-11-081-35/+2
| |
* | 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
|/