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

segfetcher: Improve logging / documentation #3054

Merged
merged 2 commits into from
Aug 27, 2019

Conversation

lukedirtwalker
Copy link
Collaborator

@lukedirtwalker lukedirtwalker commented Aug 27, 2019

This change is Reviewable

@lukedirtwalker lukedirtwalker requested a review from oncilla August 27, 2019 14:52
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 3 of 3 files at r1.
Reviewable status: all files reviewed, 2 unresolved discussions (waiting on @lukedirtwalker)


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

		}
		if i > 3 {
			log.FromCtx(ctx).Error("No convergence in looking up", "i", i)

"No convergence in lookup", "iteration", i+1


go/path_srv/internal/segreq/handler.go, line 89 at r1 (raw file):

		},
	}
	err = rw.SendSegReply(ctx, reply)

collapse in if statement

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: all files reviewed, 2 unresolved discussions (waiting on @oncilla)


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

Previously, Oncilla wrote…

"No convergence in lookup", "iteration", i+1

Done.


go/path_srv/internal/segreq/handler.go, line 89 at r1 (raw file):

Previously, Oncilla wrote…

collapse in if statement

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.

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

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:

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@lukedirtwalker lukedirtwalker merged commit 1da26bb into scionproto:master Aug 27, 2019
@lukedirtwalker lukedirtwalker deleted the pubNewLookupFixes branch August 27, 2019 15:28
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