improve internal item counter mechanisms and implement bucket quotas #326

Merged
lx merged 23 commits from counters into main 2022-06-15 18:20:31 +00:00
Owner
  • Refactoring of internal counting API
  • Repair procedure for counters (it's an offline procedure!!!)
  • New counter for objects in buckets
  • Add quotas to buckets struct
  • Add CLI to manage bucket quotas
  • Add admin API to manage bucket quotas
  • Apply quotas by adding checks on put operations
  • Proof-read
- [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
lx added 1 commit 2022-06-08 08:44:32 +00:00
Some refactoring of the index counter API
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
425fe56be8
lx added 3 commits 2022-06-08 15:50:23 +00:00
Call counter tables 'v2' because schema changed since last time
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
03e811bbbf
lx added 1 commit 2022-06-08 18:03:46 +00:00
First iteration of bucket object counters
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
17e1111393
lx added 1 commit 2022-06-08 18:16:10 +00:00
Show bucket sizes in garage bucket list
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
5b38f4cd26
lx added 1 commit 2022-06-09 12:50:36 +00:00
Silence clippy warning
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
99f6ca4388
lx added 1 commit 2022-06-09 13:06:34 +00:00
Update Cargo.nix
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
ea1022f832
lx added 1 commit 2022-06-09 13:43:42 +00:00
Add quotas to bucket table and show them in CLI
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
c1baa10202
lx added 1 commit 2022-06-09 13:56:37 +00:00
CLI operation bucket set-quotas
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
fe5cf8a530
lx added 1 commit 2022-06-09 14:41:01 +00:00
Quotas are now applied on uploads
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
1c2e5d9c36
lx added 2 commits 2022-06-10 08:33:04 +00:00
Fix garage_db build on 32-bit systems
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone Build is passing
continuous-integration/drone/push Build is passing
138e13071b
Merge branch 'main' into counters
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build was killed
c6c4f007f0
lx added 1 commit 2022-06-10 08:52:37 +00:00
New admin API endpoint: UpdateBucket, that unifies website config and quotas
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
ef7db797bd
lx added 1 commit 2022-06-10 09:02:13 +00:00
whoops bad typo here
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
9695e747e6
lx added 1 commit 2022-06-10 09:03:08 +00:00
reformat a bit
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
8bbd0db43d
lx added 2 commits 2022-06-10 09:08:33 +00:00
change k2v-only code
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
e6ce8702d4
lx added 1 commit 2022-06-10 09:13:25 +00:00
Change bucket list command
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
ffe05c3c7d
lx added 1 commit 2022-06-10 09:21:17 +00:00
Change object counter table to use full replication
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
bc29d77ed3
lx added 2 commits 2022-06-10 09:28:09 +00:00
This reverts commit bc29d77ed3.
Actually distribute counters over nodes
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
180e7fef0a
lx added 1 commit 2022-06-10 09:30:50 +00:00
Update json in admin api doc
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
92d912faef
lx added 1 commit 2022-06-10 09:39:24 +00:00
Big whoops
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
5de641700f
lx changed title from WIP: improve internal item counter mechanisms and implement bucket quotas to improve internal item counter mechanisms and implement bucket quotas 2022-06-10 09:47:00 +00:00
Author
Owner

Fix #71

Fix #71
lx merged commit 77e3fd6db2 into main 2022-06-15 18:20:31 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#326
No description provided.