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

feat: MSP reject storage requests for existing file keys #224

Merged
merged 46 commits into from
Oct 12, 2024

Conversation

snowmead
Copy link
Contributor

@snowmead snowmead commented Oct 9, 2024

Adds test for file key rejection for existing file keys in forest storage.
Fixes ForestCaching locking mechanism in RocksDB implementations.

Added NewStorageRequest handler event for UserSendFileTask. It also modifies the MSP and User tasks to respond process NewStorageRequest events if it is intended for them.
…ctor forest storage handler impls for different storage layers, create forest if bucket does not exist, user retry upload request to msp, batch apply delta to forests msp
…reject-storage-requests-for-existing-file-keys
…storage request, return when reached max upload request retries, renamed mspnet package scripts to fullnet, msp rejecting storage request integration test for duplicate file key
@snowmead snowmead marked this pull request as ready for review October 11, 2024 12:54
@snowmead snowmead force-pushed the feat/msp-reject-storage-requests-for-existing-file-keys branch from ca81591 to 99d248e Compare October 11, 2024 18:23
Copy link
Contributor

@ffarall ffarall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!

test/util/fullNet/helpers.ts Outdated Show resolved Hide resolved
test/util/bspNet/types.ts Show resolved Hide resolved
test/util/bspNet/types.ts Outdated Show resolved Hide resolved
@snowmead snowmead merged commit ec17be4 into main Oct 12, 2024
21 checks passed
@snowmead snowmead deleted the feat/msp-reject-storage-requests-for-existing-file-keys branch October 12, 2024 00:06
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.

2 participants