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

23 commits

Author SHA1 Message Date
5de641700f
Big whoops
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-10 11:39:16 +02:00
92d912faef
Update json in admin api doc
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-06-10 11:30:42 +02:00
180e7fef0a
Actually distribute counters over nodes
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-06-10 11:27:58 +02:00
c054de43dd
Revert "Change object counter table to use full replication"
This reverts commit bc29d77ed3.
2022-06-10 11:23:40 +02:00
bc29d77ed3
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
2022-06-10 11:20:59 +02:00
ffe05c3c7d
Change bucket list command
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-06-10 11:13:17 +02:00
e6ce8702d4
change k2v-only code
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-06-10 11:08:23 +02:00
6ae8bbeb13
typo in error message 2022-06-10 11:06:32 +02:00
8bbd0db43d
reformat a bit
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-06-10 11:03:01 +02:00
9695e747e6
whoops bad typo here
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-10 11:02:03 +02:00
ef7db797bd
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
2022-06-10 10:52:12 +02:00
c6c4f007f0
Merge branch 'main' into counters
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build was killed
2022-06-10 10:32:58 +02:00
1c2e5d9c36
Quotas are now applied on uploads
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-09 16:40:45 +02:00
fe5cf8a530
CLI operation bucket set-quotas
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-06-09 15:56:25 +02:00
c1baa10202
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
2022-06-09 15:43:26 +02:00
ea1022f832
Update Cargo.nix
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2022-06-09 15:06:24 +02:00
99f6ca4388
Silence clippy warning
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-06-09 14:50:22 +02:00
5b38f4cd26
Show bucket sizes in garage bucket list
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-06-08 20:15:55 +02:00
17e1111393
First iteration of bucket object counters
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-06-08 20:03:30 +02:00
03e811bbbf
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
2022-06-08 17:50:00 +02:00
ab374e7178
Add .clear() on db trees 2022-06-08 17:49:36 +02:00
f8a6fff2b7
First implementation of counter repair procedure 2022-06-08 17:37:16 +02:00
425fe56be8
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
2022-06-08 10:41:22 +02:00