Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add support for kubernetes service discovery | Max Audron | 2022-03-12 | 3 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | This commit adds support to discover garage instances running in kubernetes. Once enabled by setting `kubernetes_namespace` and `kubernetes_service_name` garage will create a Custom Resources `garagenodes.deuxfleurs.fr` with nodes public key as the resource name. and IP and Port information as spec in the namespace configured by `kubernetes_namespace`. For discovering nodes the resources are filtered with the optionally set `kubernetes_service_name` which sets a label `garage.deuxfleurs.fr/service` on the resources. This allows to separate multiple garage deployments in a single namespace. the `kubernetes_skip_crd` variable allows to disable the creation of the CRD by garage itself. The user must deploy this manually. | ||||
* | Implement {Put,Get,Delete}BucketCors and CORS in general | Alex Auvolat | 2022-01-24 | 1 | -0/+12 |
| | | | | | | - OPTIONS request against API endpoint - Returning corresponding CORS headers on API calls - Returning corresponding CORS headers on website GET's | ||||
* | Make use of website config, return error document on error | Alex Auvolat | 2022-01-13 | 1 | -2/+0 |
| | |||||
* | New buckets for 0.6.0: small changes | Alex Auvolat | 2022-01-04 | 2 | -9/+1 |
| | | | | | | | | | | | | - Fix bucket delete - fix merge of bucket creation date - Replace deletable with option in aliases Rationale: if two aliases point to conflicting bucket, resolving by making an arbitrary choice risks making data accessible when it shouldn't be. We'd rather resolve to deleting the alias until someone puts it back. | ||||
* | Some movement of helper code and refactoring of error handling | Alex Auvolat | 2022-01-04 | 1 | -2/+8 |
| | |||||
* | New buckets for 0.6.0: fix model and migration | Alex Auvolat | 2022-01-04 | 4 | -13/+36 |
| | |||||
* | Add must_use to some CRDT functions | Alex Auvolat | 2022-01-04 | 3 | -1/+3 |
| | |||||
* | New buckets for 0.6.0: documentation and build files | Alex Auvolat | 2022-01-04 | 1 | -0/+11 |
| | |||||
* | New buckets for 0.6.0: small fixes, including: | Alex Auvolat | 2022-01-04 | 3 | -20/+54 |
| | | | | | | | | - ensure bucket names are correct aws s3 names - when making aliases, ensure timestamps of links in both ways are the same - fix small remarks by trinity - don't have a separate website_access field | ||||
* | Model changes | Alex Auvolat | 2022-01-04 | 1 | -0/+11 |
| | |||||
* | New model for buckets | Alex Auvolat | 2022-01-04 | 7 | -5/+122 |
| | |||||
* | Add compression using zstd (#173) | trinity-1686a | 2021-12-15 | 1 | -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-beta1 | Alex Auvolat | 2021-11-16 | 8 | -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 bucket | Trinity Pointard | 2021-11-16 | 1 | -0/+3 |
| | |||||
* | allow missing bootstrap_peers in garage.toml | Trinity Pointard | 2021-11-05 | 1 | -1/+1 |
| | |||||
* | Add tranquilizer mechanism to improve on token bucket mechanismtranquility | Alex Auvolat | 2021-11-04 | 2 | -0/+58 |
| | |||||
* | Add semaphore to limit RAM used by buffered outgoing requestsrequest-buffer-semaphore | Alex Auvolat | 2021-11-03 | 1 | -0/+3 |
| | |||||
* | Refactoring on repair commandscli-verify-integrity | Alex Auvolat | 2021-10-27 | 2 | -0/+41 |
| | |||||
* | Use published netapp crate instead of git repo | Alex Auvolat | 2021-10-26 | 1 | -1/+3 |
| | |||||
* | Improve CLI, adapt tests, update documentation | Alex Auvolat | 2021-10-25 | 3 | -16/+45 |
| | |||||
* | Improvements to CLI and various fixes for netapp version | Alex Auvolat | 2021-10-22 | 3 | -48/+72 |
| | | | | Discovery via consul, persist peer list to file | ||||
* | First port of Garage to Netapp | Alex Auvolat | 2021-10-22 | 3 | -43/+36 |
| | |||||
* | Prepare for v0.3.0 and add migration path from v0.2.1.xv0.3.0 | Alex Auvolat | 2021-05-28 | 1 | -1/+1 |
| | |||||
* | Many improvements on ring/replication and its configuration: | Alex Auvolat | 2021-05-28 | 1 | -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_xml | Alex Auvolat | 2021-05-06 | 1 | -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 CamelCase | Trinity Pointard | 2021-05-03 | 3 | -17/+16 |
| | |||||
* | fix clippy warnings on util and rpc | Trinity Pointard | 2021-05-03 | 4 | -6/+7 |
| | |||||
* | Tune Sled configuration | Alex Auvolat | 2021-05-03 | 1 | -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 changes | Trinity Pointard | 2021-04-27 | 2 | -2/+0 |
| | |||||
* | run cargo fmt on util and make missing doc warning | Trinity Pointard | 2021-04-27 | 3 | -31/+31 |
| | |||||
* | document util crate | Trinity Pointard | 2021-04-27 | 6 | -3/+63 |
| | |||||
* | Keep old data | Alex Auvolat | 2021-04-27 | 1 | -1/+11 |
| | |||||
* | Improve bootstraping: do it regularly; persist peer list | Alex Auvolat | 2021-04-27 | 2 | -0/+63 |
| | |||||
* | update to v0.2.1v0.2.1release-v0.2.1 | Alex Auvolat | 2021-03-19 | 1 | -1/+1 |
| | |||||
* | Support old CPUsmaster | Alex Auvolat | 2021-03-19 | 2 | -6/+5 |
| | |||||
* | Update Cargo.toml files with AGPL license infov0.2.0 | Alex Auvolat | 2021-03-18 | 1 | -7/+7 |
| | |||||
* | resolve domain to multiple addresses | Trinity Pointard | 2021-03-18 | 1 | -10/+17 |
| | | | | And warn instead of failling when a domain can't be resolved | ||||
* | remove domain resolution for *_bind_addr | Trinity Pointard | 2021-03-18 | 1 | -16/+0 |
| | |||||
* | simplify addresse deserialialiser and limit allocations | Trinity Pointard | 2021-03-18 | 1 | -23/+7 |
| | |||||
* | add support for using domain name in configuration | Trinity Pointard | 2021-03-18 | 1 | -1/+52 |
| | |||||
* | Prepare for release 0.2 | Alex Auvolat | 2021-03-18 | 1 | -1/+1 |
| | |||||
* | Update dependencies | Alex Auvolat | 2021-03-16 | 3 | -15/+10 |
| | |||||
* | Some improvements in background worker but we terminate late | Alex Auvolat | 2021-03-15 | 1 | -75/+100 |
| | |||||
* | WIP migrate to tokio 1 | Alex Auvolat | 2021-03-15 | 3 | -68/+78 |
| | |||||
* | Refactor block resync loop; make workers infaillible | Alex Auvolat | 2021-03-15 | 1 | -6/+3 |
| | |||||
* | Time and metadata improvements | Alex Auvolat | 2021-03-15 | 4 | -8/+18 |
| | |||||
* | Implement table gc, currently for block_ref and version only | Alex Auvolat | 2021-03-12 | 1 | -0/+8 |
| | |||||
* | Checkpoint: add merkle tree in data table | Alex Auvolat | 2021-03-11 | 1 | -8/+8 |
| | |||||
* | Remove epidemic propagation for fully replicated stuff: write directly to ↵ | Alex Auvolat | 2021-03-05 | 1 | -5/+5 |
| | | | | all nodes | ||||
* | Update sled & try to debug deadlock (but its in sled...) | Alex Auvolat | 2021-02-23 | 2 | -5/+5 |
| |