feat: implement S3 block cleanup on file/space deletion#193
Conversation
marcolaux
commented
Dec 11, 2025
- Implemented DeleteMany in s3store using batch deletion
- Updated index service to return removed CIDs on FileUnbind and SpaceDelete
- Updated deletion log to delete blocks from store when spaces are removed
- Updated file node to delete blocks from store when files are deleted
- Updated CID entry to remove key from Redis when refs count drops to zero
- Implemented DeleteMany in s3store using batch deletion - Updated index service to return removed CIDs on FileUnbind and SpaceDelete - Updated deletion log to delete blocks from store when spaces are removed - Updated file node to delete blocks from store when files are deleted - Updated CID entry to remove key from Redis when refs count drops to zero
|
CLA Assistant Lite bot: I have read the CLA Document and I hereby sign the CLA Marco Laux seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. |
|
I hereby grant Any Association and its successors or assignees permission to use, copy, modify, distribute, and sub-license my contributions on any terms they like, under all my rights in my contributions. A contribution includes anything I submit to the project. I am giving them this license in order to make it possible for them to accept my contributions into their project. As far as the law allows, my contributions come as is, without any warranty or condition, and I will not be liable to anyone for any damages related to this software or this license, under any kind of legal claim. |
- Updated persistentStore interface to include DeleteMany - Updated CheckDeletedSpaces to call DeleteMany on S3 store for deleted spaces - Updated CheckDeletedSpaces test