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

All changes to date including pause requests & start paused, along with new adds for cleanups and checking of execution #75

Merged
merged 20 commits into from
Jul 8, 2020

Conversation

hannahhoward
Copy link
Collaborator

No description provided.

Allow graphsync requests to be paused and unpaused via request cancelling and DoNotSendCIDs
extension
remove extraneous allocation of closure functions
allow pausing requests imperatively via PauseRequest function
add the ability for a hook to pause a response right when it's first received
provide a mechanism for responders to learn a requestor cancelled a request and for requestors to
learn a request was cancelled
process the responder returning a request cancelled error code and also support sentinel errors
remove loader, also only fire restart request as needed
Fix external pauses missing a block
Run complete listener in same thread as response processing, making it less susceptable to
interruption via cancel
fix checking for context cancellation errors based off of the way ipld-prime does not wrap errors
make cancels only get recorded if actual blocks are not sent -- otherwise the request is considered
complete -- and the complete hook always runs
Handler the case where a pause is requested but never actually takes place
Properly handle cancels for both paused and unpaused states
make sure that the traverser is finished in the request executor
@hannahhoward hannahhoward merged commit caa872f into master Jul 8, 2020
@aschmahmann aschmahmann mentioned this pull request Sep 22, 2020
72 tasks
@mvdan mvdan deleted the feat/refactor-executor branch December 15, 2021 14:15
marten-seemann pushed a commit that referenced this pull request Mar 2, 2023
* Emit events with received cids (#71)

* persist received cids on channel state.

* Send, Receive and Validate Restart requests (#75)

* Send, Receive and Validate Requests

* Initiating and Responding Tests and bug fixes (#76)

* Testing for resuming data transfer work

* Cleanup Push Restarts PR  (#79)

* cleanup of restart PR

* link the peers

* Tests for pull restarts (#84)

* tests for pull restarts

* Merge Tests cleanup work (#92)

* cleanup of restart PR

* cleanup timedout channels (#93)

* backward compatibility of restart (#96)

* backward compatibility of restart

* changes and tests

* more tests

* better error handling for restarts

* feat(message): switch to cbor map encoding (#97)

switch to cbor map encoding for the 1_1 message protocol

* feat(channels): setup datastore migrations (#99)

setup datatransfer channels so they migrate over successfully

Co-authored-by: Hannah Howard <hannah@hannahhoward.net>
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.

1 participant