Deleting a project leaves every file uploaded through signed or multipart upload in the bucket
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- next.js, postgresql, typescript
Hướng nghiên cứu
Start with lib/projects/purge.ts and compare its project prefix with the object key layouts in the signed upload and multipart upload routes. Then inspect the project deletion tests and add coverage for projects containing one file from each upload path. Done means deleting a project removes both objects, with the tests passing.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When a project is deleted, its stored objects are purged by deleting everything under {projectId}/:
That is where the storage driver puts files ({projectId}/{bucketId}/{fileId}-{hash}{ext}). The two direct-to-S3 upload paths write somewhere else.
Signed upload, projects/{projectId}/buckets/{bucket}/…:
S3 multipart upload, projects/{projectId}/buckets/{bucket}/{uploadId}/…:
So after a project is deleted, every file its end users uploaded through those paths (large uploads such as videos, which is what those paths are for) stays in the bucket with no row pointing at it. The storage sweep could catch these objects, but it only deletes when BACKENLY_STORAGE_PURGE=enforce, and the default is a dry run:
For a developer, "delete project" does not delete their users' files. That matters for their users' deletion requests as much as for cost.
Done when deleting a project removes objects under both layouts (or the upload paths use the driver's layout), with a test that deletes a project holding a signed-upload file and a multipart file.
- Ngôn ngữ chính
- TypeScript
- Star
- 56
- Fork
- 19
- Merge trung bình
- 14 giờ 4 phút
- Pull request đã merge (30 ngày)
- 366
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của backenly/backenly
-
JSON and Math are empty inside sandbox functions, so any function that uses them fails on every runĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 56/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ctx.db treats { column: null } as = NULL, so query, update and delete match no rowsCó thể đã có người làm @akashr001 đã nhận hôm nay. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 77/100
backenly/backenly#602 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của backenly/backenly
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
AykutSarac/jsoncrack.com#616 ·
-
nip27: long hashtag swallows the rest of the content, lone # gives an empty hashtagCó thể đã có người làm @bardrop đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
nbd-wtf/nostr-tools#578 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
backnotprop/plannotator#3427 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
microsoft/Power-CAT-Copilot-Studio-Kit#942 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG]: Duplicate preposition in heading and unformatted feedback text on Strengthen Argument pageĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
AOSSIE-Org/DebateAI#801 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày