aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix more .unwrap()'sAlex Auvolat2022-06-063-13/+28
|
* fixAlex Auvolat2022-06-061-1/+1
|
* add commentAlex Auvolat2022-06-061-0/+9
|
* Improve things in block manager & correctly propagate .len() errorsAlex Auvolat2022-06-064-40/+70
|
* Update Cargo.nixAlex Auvolat2022-06-061-206/+490
|
* Table updated trigger now happens in transaction, this is waaaay better!Alex Auvolat2022-06-069-110/+178
|
* Fix clippyAlex Auvolat2022-06-062-11/+9
|
* Simplify lmdb adapter (one less indirection)Alex Auvolat2022-06-061-27/+6
|
* WhoopsAlex Auvolat2022-06-062-2/+2
|
* Small syntax changesAlex Auvolat2022-06-066-32/+18
|
* Safe choice: revert "Update rmp-serde"Alex Auvolat2022-06-0617-46/+30
| | | | This reverts commit 16e0a655d0d01e3871aee81a0a9660102d6df74e.
* Safe choice: return Vec<u8> and not some fancy zero-copy typeAlex Auvolat2022-06-069-205/+49
|
* Fix more sqlite deadlocksAlex Auvolat2022-06-062-74/+79
|
* fixesAlex Auvolat2022-06-066-12/+33
|
* Integrate LMDB with restAlex Auvolat2022-06-034-3/+58
|
* Implement iterator for LMDBAlex Auvolat2022-06-031-8/+98
|
* LMDB: use Heed wrapper (much more complete)Alex Auvolat2022-06-034-76/+157
|
* Start LMDB adapter, with fixed semanticsAlex Auvolat2022-06-0312-85/+395
|
* Update rmp-serdeAlex Auvolat2022-06-0317-30/+46
|
* small fixesAlex Auvolat2022-06-032-6/+3
|
* whoopsAlex Auvolat2022-06-032-2/+17
|
* Fix block repair to not deadlock with sqliteAlex Auvolat2022-06-031-0/+8
|
* fix clipy lintAlex Auvolat2022-06-031-5/+4
|
* Slightly prettier codeAlex Auvolat2022-06-035-78/+42
|
* Garage works on sqlite, but it's a hackAlex Auvolat2022-06-038-34/+119
|
* Conversion utilityAlex Auvolat2022-06-036-78/+131
|
* Fix most clippy lintsAlex Auvolat2022-06-038-85/+90
|
* Change value type to be a dyn thingAlex Auvolat2022-06-0311-45/+166
|
* Drop laterAlex Auvolat2022-06-032-14/+16
|
* Just refactor a bitAlex Auvolat2022-06-021-71/+45
|
* Horrible implementation of range for sqliteAlex Auvolat2022-06-021-2/+92
|
* Sqlite iter with unsafe codeAlex Auvolat2022-06-028-103/+162
|
* Add back SendAlex Auvolat2022-06-021-1/+1
|
* Begin sqlite adapterAlex Auvolat2022-06-026-102/+498
|
* Use Cell instead of ArcSwapAlex Auvolat2022-06-024-43/+27
|
* Complete sled abstractionAlex Auvolat2022-06-022-17/+133
|
* Do not put sled in garage's cargo.tomlAlex Auvolat2022-06-024-5/+6
|
* Adapt Garage to use new DB abstractionAlex Auvolat2022-06-0226-214/+355
|
* Implement iter() and range() on dbAlex Auvolat2022-06-023-15/+98
|
* First iteration of a generic DB layerAlex Auvolat2022-06-027-0/+409
|
* Fix garage_version() now that GIT_VERSION is read in crate garage_rpcv0.7.2.1Alex Auvolat2022-06-021-1/+1
|
* Fix Content-Type headers for {admin,k2v} errors and admin responsesfix/admin-api-content-typeAlex Auvolat2022-05-258-43/+30
| | | | Fix #315
* Fixes to S3 compatibility page (#314)Alex2022-05-251-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 compatibilityQuentin Dufour2022-05-251-28/+36
|
* Shorter page titledoc/admin-apiAlex Auvolat2022-05-241-1/+1
|
* Add lost content for Restic with GarageAlex Auvolat2022-05-241-0/+55
| | | | Suggested-by: Quentin <quentin@deuxfleurs.fr>
* Add documentation for new Admin API and a few infos on K2VAlex Auvolat2022-05-243-7/+116
|
* K2V client improvements (#307)v0.7.2Alex2022-05-246-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)Alex2022-05-2465-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>
* Add a K2V client library and CLI (#303)trinity-1686a2022-05-1814-199/+1721
| | | | | | | | | lib.rs could use getting split in modules, but I'm not sure how exactly Co-authored-by: trinity-1686a <trinity@deuxfleurs.fr> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/303 Co-authored-by: trinity-1686a <trinity.pointard@gmail.com> Co-committed-by: trinity-1686a <trinity.pointard@gmail.com>