Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | in db convert: map size up to 1TB on 64-bit systems | Alex Auvolat | 2022-06-06 | 1 | -1/+9 |
| | |||||
* | Fix more .unwrap()'s | Alex Auvolat | 2022-06-06 | 3 | -13/+28 |
| | |||||
* | fix | Alex Auvolat | 2022-06-06 | 1 | -1/+1 |
| | |||||
* | add comment | Alex Auvolat | 2022-06-06 | 1 | -0/+9 |
| | |||||
* | Improve things in block manager & correctly propagate .len() errors | Alex Auvolat | 2022-06-06 | 4 | -40/+70 |
| | |||||
* | Update Cargo.nix | Alex Auvolat | 2022-06-06 | 1 | -206/+490 |
| | |||||
* | Table updated trigger now happens in transaction, this is waaaay better! | Alex Auvolat | 2022-06-06 | 9 | -110/+178 |
| | |||||
* | Fix clippy | Alex Auvolat | 2022-06-06 | 2 | -11/+9 |
| | |||||
* | Simplify lmdb adapter (one less indirection) | Alex Auvolat | 2022-06-06 | 1 | -27/+6 |
| | |||||
* | Whoops | Alex Auvolat | 2022-06-06 | 2 | -2/+2 |
| | |||||
* | Small syntax changes | Alex Auvolat | 2022-06-06 | 6 | -32/+18 |
| | |||||
* | Safe choice: revert "Update rmp-serde" | Alex Auvolat | 2022-06-06 | 17 | -46/+30 |
| | | | | This reverts commit 16e0a655d0d01e3871aee81a0a9660102d6df74e. | ||||
* | Safe choice: return Vec<u8> and not some fancy zero-copy type | Alex Auvolat | 2022-06-06 | 9 | -205/+49 |
| | |||||
* | Fix more sqlite deadlocks | Alex Auvolat | 2022-06-06 | 2 | -74/+79 |
| | |||||
* | fixes | Alex Auvolat | 2022-06-06 | 6 | -12/+33 |
| | |||||
* | Integrate LMDB with rest | Alex Auvolat | 2022-06-03 | 4 | -3/+58 |
| | |||||
* | Implement iterator for LMDB | Alex Auvolat | 2022-06-03 | 1 | -8/+98 |
| | |||||
* | LMDB: use Heed wrapper (much more complete) | Alex Auvolat | 2022-06-03 | 4 | -76/+157 |
| | |||||
* | Start LMDB adapter, with fixed semantics | Alex Auvolat | 2022-06-03 | 12 | -85/+395 |
| | |||||
* | Update rmp-serde | Alex Auvolat | 2022-06-03 | 17 | -30/+46 |
| | |||||
* | small fixes | Alex Auvolat | 2022-06-03 | 2 | -6/+3 |
| | |||||
* | whoops | Alex Auvolat | 2022-06-03 | 2 | -2/+17 |
| | |||||
* | Fix block repair to not deadlock with sqlite | Alex Auvolat | 2022-06-03 | 1 | -0/+8 |
| | |||||
* | fix clipy lint | Alex Auvolat | 2022-06-03 | 1 | -5/+4 |
| | |||||
* | Slightly prettier code | Alex Auvolat | 2022-06-03 | 5 | -78/+42 |
| | |||||
* | Garage works on sqlite, but it's a hack | Alex Auvolat | 2022-06-03 | 8 | -34/+119 |
| | |||||
* | Conversion utility | Alex Auvolat | 2022-06-03 | 6 | -78/+131 |
| | |||||
* | Fix most clippy lints | Alex Auvolat | 2022-06-03 | 8 | -85/+90 |
| | |||||
* | Change value type to be a dyn thing | Alex Auvolat | 2022-06-03 | 11 | -45/+166 |
| | |||||
* | Drop later | Alex Auvolat | 2022-06-03 | 2 | -14/+16 |
| | |||||
* | Just refactor a bit | Alex Auvolat | 2022-06-02 | 1 | -71/+45 |
| | |||||
* | Horrible implementation of range for sqlite | Alex Auvolat | 2022-06-02 | 1 | -2/+92 |
| | |||||
* | Sqlite iter with unsafe code | Alex Auvolat | 2022-06-02 | 8 | -103/+162 |
| | |||||
* | Add back Send | Alex Auvolat | 2022-06-02 | 1 | -1/+1 |
| | |||||
* | Begin sqlite adapter | Alex Auvolat | 2022-06-02 | 6 | -102/+498 |
| | |||||
* | Use Cell instead of ArcSwap | Alex Auvolat | 2022-06-02 | 4 | -43/+27 |
| | |||||
* | Complete sled abstraction | Alex Auvolat | 2022-06-02 | 2 | -17/+133 |
| | |||||
* | Do not put sled in garage's cargo.toml | Alex Auvolat | 2022-06-02 | 4 | -5/+6 |
| | |||||
* | Adapt Garage to use new DB abstraction | Alex Auvolat | 2022-06-02 | 26 | -214/+355 |
| | |||||
* | Implement iter() and range() on db | Alex Auvolat | 2022-06-02 | 3 | -15/+98 |
| | |||||
* | First iteration of a generic DB layer | Alex Auvolat | 2022-06-02 | 7 | -0/+409 |
| | |||||
* | Fix garage_version() now that GIT_VERSION is read in crate garage_rpcv0.7.2.1 | Alex Auvolat | 2022-06-02 | 1 | -1/+1 |
| | |||||
* | Fix Content-Type headers for {admin,k2v} errors and admin responsesfix/admin-api-content-type | Alex Auvolat | 2022-05-25 | 8 | -43/+30 |
| | | | | Fix #315 | ||||
* | Fixes to S3 compatibility page (#314) | Alex | 2022-05-25 | 1 | -29/+48 |
| | | | | | | | | | Mention PostObject is implemented, fix english mistakes Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/314 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me> | ||||
* | Update Ceph S3 endpoints compatibility | Quentin Dufour | 2022-05-25 | 1 | -28/+36 |
| | |||||
* | Shorter page titledoc/admin-api | Alex Auvolat | 2022-05-24 | 1 | -1/+1 |
| | |||||
* | Add lost content for Restic with Garage | Alex Auvolat | 2022-05-24 | 1 | -0/+55 |
| | | | | Suggested-by: Quentin <quentin@deuxfleurs.fr> | ||||
* | Add documentation for new Admin API and a few infos on K2V | Alex Auvolat | 2022-05-24 | 3 | -7/+116 |
| | |||||
* | K2V client improvements (#307)v0.7.2 | Alex | 2022-05-24 | 6 | -6/+65 |
| | | | | | | | | | | | - [x] Better distinguish error types - [x] Parse error messages received from server - [x] Remove `src/` folder layer, we don't have that for other crates Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/307 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me> | ||||
* | First version of admin API (#298) | Alex | 2022-05-24 | 65 | -984/+3251 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | **Spec:** - [x] Start writing - [x] Specify all layout endpoints - [x] Specify all endpoints for operations on keys - [x] Specify all endpoints for operations on key/bucket permissions - [x] Specify all endpoints for operations on buckets - [x] Specify all endpoints for operations on bucket aliases View rendered spec at <https://git.deuxfleurs.fr/Deuxfleurs/garage/src/branch/admin-api/doc/drafts/admin-api.md> **Code:** - [x] Refactor code for admin api to use common api code that was created for K2V **General endpoints:** - [x] Metrics - [x] GetClusterStatus - [x] ConnectClusterNodes - [x] GetClusterLayout - [x] UpdateClusterLayout - [x] ApplyClusterLayout - [x] RevertClusterLayout **Key-related endpoints:** - [x] ListKeys - [x] CreateKey - [x] ImportKey - [x] GetKeyInfo - [x] UpdateKey - [x] DeleteKey **Bucket-related endpoints:** - [x] ListBuckets - [x] CreateBucket - [x] GetBucketInfo - [x] DeleteBucket - [x] PutBucketWebsite - [x] DeleteBucketWebsite **Operations on key/bucket permissions:** - [x] BucketAllowKey - [x] BucketDenyKey **Operations on bucket aliases:** - [x] GlobalAliasBucket - [x] GlobalUnaliasBucket - [x] LocalAliasBucket - [x] LocalUnaliasBucket **And also:** - [x] Separate error type for the admin API (this PR includes a quite big refactoring of error handling) - [x] Add management of website access - [ ] Check that nothing is missing wrt what can be done using the CLI - [ ] Improve formatting of the spec - [x] Make sure everyone is cool with the API design Fix #231 Fix #295 Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/298 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me> |