feat: add global storage capacity limit

This commit is contained in:
Lan committed 2026-07-11 17:50:26 +08:00
1 parent 93ff291366
commit 818dd47b2a
12 files changed
+496 -95

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
## [Unreleased]
### Added
- 增加全局存储容量上限配置,并对普通上传、分片上传、预签名直传和后台文件分享统一执行并发安全的容量预留。
- 增加存储预留迁移及过期上传清理,失败、取消或过期的上传会释放预留容量。
+6
View File
@@ -0,0 +1,6 @@
## [Unreleased]
### Added
- Added a global storage capacity limit with concurrency-safe reservations for regular, chunked, presigned, and admin file uploads.
- Added the storage reservation migration and stale upload cleanup so failed, cancelled, or expired uploads release reserved capacity.