feat: restricted S3 credentials, orphan reconciler, upload limits (grade 4)

This commit is contained in:
2026-11-20 04:30:58 +03:00
parent 89e9e7b4d4
commit 1c3011bf28
42 changed files with 1483 additions and 130 deletions
+4 -16
View File
@@ -1,17 +1,16 @@
2026-11-20T03:53:23+03:00
2026-11-20T04:18:15+03:00
object bytes live in the RustFS volume, metadata in PostgreSQL
id | object_key | size_bytes | sha256
--------------------------------------+---------------------------------------------------------------------------------+------------+------------------------------------------------------------------
0df7c6fd-6ac6-488b-9803-73fee496586f | chats/70682cfc-bf33-4f15-8de6-e85972fc95e0/0df7c6fd-6ac6-488b-9803-73fee496586f | 111817 | 99ea7533c441f79cd630d15ce4d58d1ec4e06f6f0efb3b77a5c088305cd1bd75
3dbc5415-9791-4983-a253-bc71fdc79a24 | chats/3ec617cd-fddf-4ae1-ad9d-37a4bb319b76/3dbc5415-9791-4983-a253-bc71fdc79a24 | 126609 | 518fd54cb19f8ceaca99139652fb96ed3a5d502392450846c832924b1722d2bf
(1 row)
S3 volume listing for that object
/data/messenger-attachments/chats/70682cfc-bf33-4f15-8de6-e85972fc95e0/0df7c6fd-6ac6-488b-9803-73fee496586f:
total 112
-rw-r--r-- 1 rustfs rustfs 112398 Nov 20 00:52 xl.meta
total 128
-rw-r--r-- 1 rustfs rustfs 127190 Nov 20 01:17 xl.meta
attachments table columns (no binary content)
@@ -31,14 +30,3 @@ attachments table columns (no binary content)
updated_at | timestamp with time zone
(12 rows)
anonymous S3 GET without credentials
Connecting to s3:9000 (10.89.5.10:9000)
HTTP/1.1 403 Forbidden
wget: server returned error: HTTP/1.1 403 Forbidden
admin console port (must be closed)
000
console-closed