aboutsummaryrefslogtreecommitdiff
path: root/src/model/bucket_table.rs
Commit message (Collapse)AuthorAgeFilesLines
* lifecycle worker: implement main functionalityAlex Auvolat2023-08-301-2/+2
|
* use a NaiveDate in data model, it serializes to string (iso 8601 format)Alex Auvolat2023-08-301-1/+1
|
* lifecycle: implement validation into garage's internal data structureAlex Auvolat2023-08-291-1/+1
|
* bucket_table: data model for lifecycle configurationAlex Auvolat2023-08-291-0/+40
|
* cleanupAlex Auvolat2023-01-031-3/+4
|
* Refactor how things are migratedAlex Auvolat2023-01-031-60/+68
|
* Fix clippy lint that says we should implement EqAlex Auvolat2022-09-131-2/+2
|
* improve internal item counter mechanisms and implement bucket quotas (#326)Alex2022-06-151-1/+18
| | | | | | | | | | | | | | | | - [x] Refactoring of internal counting API - [x] Repair procedure for counters (it's an offline procedure!!!) - [x] New counter for objects in buckets - [x] Add quotas to buckets struct - [x] Add CLI to manage bucket quotas - [x] Add admin API to manage bucket quotas - [x] Apply quotas by adding checks on put operations - [x] Proof-read Co-authored-by: Alex Auvolat <alex@adnab.me> Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/326 Co-authored-by: Alex <alex@adnab.me> Co-committed-by: Alex <alex@adnab.me>
* Implement {Put,Get,Delete}BucketCors and CORS in generalAlex Auvolat2022-01-241-6/+24
| | | | | | - OPTIONS request against API endpoint - Returning corresponding CORS headers on API calls - Returning corresponding CORS headers on website GET's
* Small changes in key model and refactoringnew-bucketsAlex Auvolat2022-01-041-12/+17
|
* New buckets for 0.6.0: make bucket id a SK and not a HK, CLI updatesAlex Auvolat2022-01-041-7/+21
|
* New buckets for 0.6.0: small changesAlex Auvolat2022-01-041-0/+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.
* Remove website redirectsAlex Auvolat2022-01-041-9/+3
|
* New buckets for 0.6.0: fix model and migrationAlex Auvolat2022-01-041-4/+13
|
* New buckets for 0.6.0: small fixes, including:Alex Auvolat2022-01-041-5/+4
| | | | | | | | - 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 changesAlex Auvolat2022-01-041-0/+10
|
* New model for bucketsAlex Auvolat2022-01-041-48/+46
|
* Make table name a const in traitAlex Auvolat2021-12-151-0/+2
|
* rename types to CamelCaseTrinity Pointard2021-05-031-10/+10
|
* fix clippy warnings on modelTrinity Pointard2021-05-031-7/+13
|
* change a few commentsAlex Auvolat2021-04-271-2/+2
|
* change some more comments and revert changes on TableSchemaTrinity Pointard2021-04-271-6/+2
|
* attempt at documenting model crateTrinity Pointard2021-04-271-2/+15
|
* attempt at documenting table crateTrinity Pointard2021-04-271-0/+4
|
* Remove migration paths from 0.1 branchAlex Auvolat2021-03-101-40/+0
|
* Refactor model stuff, including cleaner CRDTsAlex Auvolat2021-03-101-0/+2
|
* Update sled & try to debug deadlock (but its in sled...)Alex Auvolat2021-02-231-1/+0
|
* Make updated() be a sync function that doesn't failAlex Auvolat2021-02-231-7/+0
|
* Merge branch 'master' into feature/websiteQuentin Dufour2020-12-171-0/+3
|\
| * CRDT docQuentin2020-11-231-0/+3
| |
* | First implementation of the CLIQuentin2020-12-151-4/+4
| |
* | Migrate RPC to new schemaQuentin2020-12-141-4/+10
| |
* | Implement migrationQuentin2020-12-121-1/+12
| |
* | WIP table migrationQuentin2020-12-121-6/+22
|/
* simplifyAlex Auvolat2020-11-201-3/+2
|
* Convert bucket table to better CRDT representationAlex Auvolat2020-11-201-71/+66
|
* Fix reconciliation logicAlex Auvolat2020-11-201-1/+1
|
* Slight refactoring to make things clearer with DeletedFilterAlex Auvolat2020-11-201-3/+4
|
* Rename garage_core to garage_modelAlex Auvolat2020-07-071-0/+121