core: reuse remote transcoder for stream#1849
Conversation
f3744b9 to
bd7b60f
Compare
|
We also want to remove the currentTranscoder from the go-livepeer/core/orchestrator.go Line 906 in 7a0fd1f |
|
We also want to remove the currentTranscoder from the go-livepeer/core/orchestrator.go Line 840 in 7a0fd1f |
5b8003e to
cb99f0c
Compare
358d391 to
b248bef
Compare
021aa53 to
f659900
Compare
kyriediculous
left a comment
There was a problem hiding this comment.
Looks good ! Just two very small comments.
Feel free to rebase and flatten the commit history once you've addressed those.
Let's use a commit message that indicates which packages were altered and also use that in the title of the PR
e.g. "core: re-use remote transcoder for stream"
f659900 to
0ec6d9d
Compare
0ec6d9d to
fb76f12
Compare
3e8dcea to
59b545b
Compare
|
I've pushed the changes to the same commit(will use !fixup henceforth), have a look. The Ts are getting removed from the list properly now, but don't seem to adding back, if there is no error. This is the assertion in question. Shouldn't it be 2 after the T succeeds? I'm not quite sure how would it get selected, if the T was not in the list in the first place. Any advice? |
@reubenr0d Transcoder 2 gets removed here: https://github.com/reubenr0d/go-livepeer/blob/59b545b57a94f350879307da304a838e99d2c390/core/orch_test.go#L343 |
Right, the comment "assert transcoder gets added back to remoteTranscoders if no transcoding error" threw me off, if it's not supposed to get added back, shall I just remove the last set of assertions after that comment? |
f45fb1b to
e5654d8
Compare
|
@yondonfu Did you have any other remarks regarding the changes you requested ? |
|
See #1864 (comment) |
e5654d8 to
bf5397d
Compare
What does this pull request do? Explain your changes. (required)
Specific updates (required)
How did you test each of these updates (required)
On local offchain setup:
Does this pull request close any open issues?
Fixes #1842
Fixes #1712
Fixes #1273
Checklist:
makeruns successfully./test.shpass