-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
WIP: using multistream muxer #1438
Conversation
97111ec
to
2ae031c
Compare
@whyrusleeping code LGTM but the tests seem to be deadlocking. maybe things not getting added to the muxer right? or negotiated by the muxer right? |
where are you seeing a deadlock? I see some tests failing locally, but nothing seems like its actually hung |
the travis tests hang |
(also, If you could look at the test failures in |
These test failures are rather frustrating... nothing appears to be concretely related... although every travis test failed on that set. |
@whyrusleeping all circlecis failed on this:
so that is a bug (either on the code or the test should change to reflect new state) |
ah, didnt catch that one. That test fails no matter what on my machine anyways so i dont run it locally, speaking of which, i wrote this to do it better: https://github.com/whyrusleeping/ngrep |
look at all that green. |
fefbdfe
to
2474247
Compare
@@ -243,7 +244,9 @@ func LoadPinner(d ds.ThreadSafeDatastore, dserv mdag.DAGService) (Pinner, error) | |||
|
|||
rootKey := key.Key(rootKeyBytes) | |||
|
|||
ctx := context.TODO() | |||
ctx, cancel := context.WithTimeout(context.TODO(), time.Second*5) | |||
defer cancel() |
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.
so this causes exiting with an error if loading the pinner fails, correct?
* ID service stream * make the relay service use msmux * fix nc tests Note from jbenet: Maybe we should remove the old protocol/muxer and see what breaks. It shouldn't be used by anything now. License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com> Signed-off-by: Juan Batiz-Benet <juan@benet.ai>
There were the following issues with your Pull Request
Guidelines are available to help. Your feedback on GitCop is welcome on this issue This message was auto-generated by https://gitcop.com |
squashed altogether for tests. (previous head: 2474247) |
This PR adds multistream as the protocol muxer in go-ipfs and allows the selection of yamux or spdystream for stream muxing. It should be merged on top of the dev0.4.0 branch.
Currently, some tests are failing, i've looked at them briefly, but theyre out of my domain of knowledge. if @jbenet could take a look, that would be great.
License: MIT
Signed-off-by: Jeromy jeromyj@gmail.com