87a8315546
First implementation of ReadIndex that might work if I'm lucky
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-04-21 13:27:10 +02:00
54b34bf56c
First refactor of api
2022-04-13 17:35:40 +02:00
2e45b541a2
First incarnation of what one of the K2V tables could be
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-04-13 15:34:36 +02:00
94f1e48fff
Update to netapp 0.4.2 (a tiny fix)
continuous-integration/drone/push Build is passing
2022-04-07 11:50:03 +02:00
9d0ed78887
Add feature flag for Kubernetes discovery
2022-03-24 16:57:43 +01:00
c1d9854d2c
Move block manager to separate module
2022-03-23 10:25:15 +01:00
1eb7fdb08f
add test framework for arbitraty S3 requests
...
and implement some basic test with it
2022-03-23 10:22:36 +01:00
db46cdef79
Update netapp to v0.4.1
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-03-15 17:09:57 +01:00
203e8d2c34
Bump version to 0.7 because of incompatible Netapp
2022-03-14 10:54:24 +01:00
0cc31ee169
add missing netapp telemetry feature
2022-03-14 10:54:11 +01:00
d9a35359bf
Add metrics to web endpoint
2022-03-14 10:53:50 +01:00
818daa5c78
Refactor how durations are measured
2022-03-14 10:53:35 +01:00
f0d0cd9a20
Remove strum crate dependency; add protobuf nix dependency
2022-03-14 10:53:00 +01:00
bb04d94fa9
Update to Netapp 0.4 which supports distributed tracing
2022-03-14 10:52:30 +01:00
8c2fb0c066
Add tracing integration with opentelemetry
2022-03-14 10:52:13 +01:00
2cab84b1fe
Add many metrics in table/ and rpc/
2022-03-14 10:51:50 +01:00
1e2cf26373
Implement basic metrics in table
2022-03-14 10:51:17 +01:00
mricher
e349af13a7
Update dependencies and add admin module with metrics
...
- Global dependencies updated in Cargo.lock
- New module created in src/admin to host:
- the (future) admin REST API
- the metric collection
- add configuration block
No metrics implemented yet
2022-03-14 10:51:12 +01:00
9d44127245
add support for kubernetes service discovery
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
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.
2022-03-12 13:05:52 +01:00
8df1e186de
Functional tests for website endpoints
2022-03-07 17:32:07 +01:00
f6f8b7f1ad
Support for PostObject ( #222 )
...
continuous-integration/drone/push Build is passing
Add support for [PostObject](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html )
- [x] routing PostObject properly
- [x] parsing multipart body
- [x] validating signature
- [x] validating policy
- [x] validating content length
- [x] actually saving data
Co-authored-by: trinity-1686a <trinity@deuxfleurs.fr>
Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com>
Reviewed-on: #222
Reviewed-by: Alex <alex@adnab.me>
Co-authored-by: trinity-1686a <trinity.pointard@gmail.com>
Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
2022-02-21 23:02:30 +01:00
dd407e7041
tests: Add garage integration tests (base)
2022-02-10 17:55:49 +01:00
b45dcc1925
Support STREAMING-AWS4-HMAC-SHA256-PAYLOAD ( #64 ) ( #156 )
...
continuous-integration/drone/push Build is passing
Closes #64 .
Reviewed-on: #156
Co-authored-by: Jill <kokakiwi@deuxfleurs.fr>
Co-committed-by: Jill <kokakiwi@deuxfleurs.fr>
2022-01-17 10:55:31 +01:00
beeef4758e
Some movement of helper code and refactoring of error handling
2022-01-04 12:52:46 +01:00
b1cfd16913
New buckets for 0.6.0: small fixes, including:
...
- 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
2022-01-04 12:46:41 +01:00
4d30e62db4
New buckets for 0.6.0: migration code and build files
2022-01-04 12:46:13 +01:00
0bbb6673e7
Model changes
2022-01-04 12:45:52 +01:00
5b1117e582
New model for buckets
2022-01-04 12:45:46 +01:00
1eb972b1ac
Add compression using zstd ( #173 )
...
continuous-integration/drone/push Build is passing
fix #27
Co-authored-by: Trinity Pointard <trinity.pointard@gmail.com>
Reviewed-on: #173
Co-authored-by: trinity-1686a <trinity.pointard@gmail.com>
Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>
2021-12-15 11:26:43 +01:00
c94406f428
Improve how node roles are assigned in Garage
...
continuous-integration/drone/pr Build is passing
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
- 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.
2021-11-16 16:05:53 +01:00
9c58ec28d3
add support for vhost-style s3 bucket
2021-11-16 15:41:41 +01:00
43e13a501d
Use published netapp crate instead of git repo
continuous-integration/drone/push Build is passing
2021-10-26 10:36:57 +02:00
de4276202a
Improve CLI, adapt tests, update documentation
2021-10-25 14:21:48 +02:00
1b450c4b49
Improvements to CLI and various fixes for netapp version
...
Discovery via consul, persist peer list to file
2021-10-22 16:55:24 +02:00
4067797d01
First port of Garage to Netapp
2021-10-22 15:55:18 +02:00
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
631c36b3ff
S3 API: support ListBuckets
continuous-integration/drone/push Build is passing
2021-05-03 21:55:30 +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
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
0cd5b2ae19
WIP migrate to tokio 1
continuous-integration/drone/push Build is passing
2021-03-15 22:36:41 +01:00
3bf2df622a
Time and metadata improvements
continuous-integration/drone/push Build is passing
2021-03-15 16:21:41 +01:00
a1442f072a
Implement garage stats to get info on node contents
continuous-integration/drone/push Build is passing
2021-03-12 15:40:54 +01:00
94f3d28774
WIP big refactoring
continuous-integration/drone/push Build is passing
2021-03-11 16:54:15 +01:00
445912dc6a
Remove migration paths from 0.1 branch
continuous-integration/drone/push Build is passing
2021-03-10 16:38:31 +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
e8e4418ca7
Add blake2 and xxhash hash functions
continuous-integration/drone/push Build was killed
2021-02-23 17:52:28 +01:00
6a5add3386
Fix build
2021-01-15 19:12:08 +01:00
e818f51073
Forgot a bump
2021-01-15 18:36:51 +01:00