garage/src/db
Alex 77e3fd6db2 improve internal item counter mechanisms and implement bucket quotas (#326)
- [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>
2022-06-15 20:20:28 +02:00
..
bin Fix garage_db build on 32-bit systems 2022-06-09 14:55:20 +02:00
Cargo.toml Abstract database behind generic interface and implement alternative drivers (#322) 2022-06-08 10:01:44 +02:00
counted_tree_hack.rs Abstract database behind generic interface and implement alternative drivers (#322) 2022-06-08 10:01:44 +02:00
lib.rs improve internal item counter mechanisms and implement bucket quotas (#326) 2022-06-15 20:20:28 +02:00
lmdb_adapter.rs improve internal item counter mechanisms and implement bucket quotas (#326) 2022-06-15 20:20:28 +02:00
sled_adapter.rs improve internal item counter mechanisms and implement bucket quotas (#326) 2022-06-15 20:20:28 +02:00
sqlite_adapter.rs improve internal item counter mechanisms and implement bucket quotas (#326) 2022-06-15 20:20:28 +02:00
test.rs Abstract database behind generic interface and implement alternative drivers (#322) 2022-06-08 10:01:44 +02:00