-
Notifications
You must be signed in to change notification settings - Fork 2
Handle quota and cleanup correctly #103
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
Merged
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
f387b89
feat: set block size to 512kb
dryajov d229be8
feat: dissable nat in integration tests - speeds up startup significa…
dryajov 83f9737
feat: regenerate circuits for 512kb blocks
dryajov a09fda1
feat: bump deps
dryajov 7a3c456
feat: update circuits
dryajov c6b38cc
feat: allow setting namespace for kubernetes
dryajov bd7f260
fix: don't double del manifest and count against quota
dryajov b522a17
feat: adding quota checks
dryajov 437a85f
fix: remove noisy trace
dryajov f519b43
fix: properly handle verifiable manifest cleanup
dryajov 34d0e07
fix: race condition in concurrent put/drop test
dryajov 9570bb2
feat: cleanup slots on failed purchases
dryajov 2097a25
feat: adding tracked semaphore (keyed)
dryajov de865a8
feat: avoid interleaving delets and puts by allowing delets to run af…
dryajov b410009
fix: deletel re-entrancy bug
dryajov 29eb35d
feat: track cleanup future
dryajov 2a91f7d
feat: check for file presence
dryajov cd75a75
fix: don't create a semaphore for `count`
dryajov 48b1422
feat: add asyncbarrier
dryajov 391b135
feat: move repo operations to `operations` to avoid put/del interleaving
dryajov 1ce13ff
feat: add cancellation tests
dryajov ee18143
fix: properly store and cleanup all manifests
dryajov 6e482ca
fix: remove un-used param
dryajov 70dbc86
feat: trest proper cleanup across all manifests
dryajov a5e55d4
fix: femove unused param
dryajov 48632f1
fix: avoid mutating query iterator
dryajov 9c92b06
feat: allow setting dataset params with storeVerifiableManifest
dryajov f30f964
bump archivist contracts
dryajov 9829741
bump circom_witnessgen
dryajov 35eb60a
feat: use fetchManifest instead of manually decoding from block
dryajov d63c2aa
feat: properly track manifest refcounts to avoid dangling manifests
dryajov fb1b337
fix: fire onBlockStored callback when storing manifest block
dryajov 6237338
feat: add tests for manifest tracking
dryajov b51a402
feat: streamline manifest tracking
dryajov 0f138c5
fix: skip non-manifest blocks
dryajov 246ee63
feat: more tightening of manifest tracking
dryajov cdc58cc
feat: make sure slot proving times out eventually and add buffer to s…
dryajov 8316dd0
fix: properly handle quota over limit uploads
dryajov 1c000f6
fix: avoid double counting on update and set expiry
dryajov a7d1701
Update archivist/marketplace/sales/states/initialproving.nim
dryajov dd52bab
fix: potential race condition during delete
dryajov 819c4a2
fix: minor review cleanup
dryajov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that this is necessary. When the request has ended, submitting the proof will not work anyway. So it doesn't matter that generating the proof fails.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, as per our discussion, this is mostly harmless on the marketplace side, but it will trigger re-downloads of data that is potentially already gone, so it will either download something that is not longer needed, or get stuck in retries.