Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(homeserver): add a reference counter for chunks to avoid deleting shared blobs #33

Merged
merged 3 commits into from
Sep 13, 2024

Conversation

Nuhvi
Copy link
Collaborator

@Nuhvi Nuhvi commented Sep 12, 2024

closes #32

@Nuhvi Nuhvi requested a review from SHAcollision September 12, 2024 14:58
@SHAcollision
Copy link
Contributor

Added a dirty commit that fixes the missing DEL events when reference_count > 1 . Please, make pretty or refactor as needed.

@Nuhvi Nuhvi force-pushed the fix/chunks-ref-count branch from 8fc856c to f381f9f Compare September 13, 2024 07:53
@Nuhvi Nuhvi merged commit db0710f into main Sep 13, 2024
1 check passed
@Nuhvi Nuhvi deleted the fix/chunks-ref-count branch November 15, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: edge case user_1 can delete content of user_2
2 participants