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

path lookup: Add requester #2913

Merged
merged 2 commits into from
Jul 26, 2019

Conversation

lukedirtwalker
Copy link
Collaborator

@lukedirtwalker lukedirtwalker commented Jul 25, 2019

Adds a requester component that fetches segments from a remote server.

Contributes #2454


This change is Reviewable

Adds a requester component that fetches segments from a remote server.

Contributes scionproto#2454
Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

Reviewed 5 of 5 files at r1.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @lukedirtwalker)


go/lib/infra/modules/segfetcher/requester.go, line 34 at r1 (raw file):

// DestProvider provides the destination for a segment lookup.
type DestProvider interface {

We generally use dst instead of dest.


go/lib/infra/modules/segfetcher/requester.go, line 50 at r1 (raw file):

}

// Request the missing segments from the remote. Note that

what should I note?

Probably that if Up or Down are non-zero, no core is fetched :)


go/lib/infra/modules/segfetcher/requester.go, line 91 at r1 (raw file):

		defer close(replies)
		wg.Wait()

remove empty line

Copy link
Collaborator Author

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

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

Reviewable status: 1 of 5 files reviewed, 2 unresolved discussions (waiting on @oncilla)


go/lib/infra/modules/segfetcher/requester.go, line 34 at r1 (raw file):

Previously, Oncilla wrote…

We generally use dst instead of dest.

Done.


go/lib/infra/modules/segfetcher/requester.go, line 50 at r1 (raw file):

Previously, Oncilla wrote…

what should I note?

Probably that if Up or Down are non-zero, no core is fetched :)

Yes, see it works 💯 Done.


go/lib/infra/modules/segfetcher/requester.go, line 91 at r1 (raw file):

Previously, Oncilla wrote…

remove empty line

Done.

Copy link
Contributor

@oncilla oncilla left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 4 of 4 files at r2.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@lukedirtwalker lukedirtwalker merged commit b87ac25 into scionproto:master Jul 26, 2019
@lukedirtwalker lukedirtwalker deleted the pubReqRequester branch July 26, 2019 06:39
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