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

Bootstrap debug logs #6147

Merged
merged 14 commits into from
Oct 2, 2020
Merged

Bootstrap debug logs #6147

merged 14 commits into from
Oct 2, 2020

Conversation

nholland94
Copy link
Member

Added additional logs to the transition router and the bootstrap algorithm so that we will have more information when there are more issues in the future. For the transition router, there are logs that now detail exactly why we enter bootstrap or participation (based on persistent frontier and initial best tip query). For bootstrap, I added a series of additional timings that will time where time was spent on each retry cycle of a bootstrap operation. Unfortunately, it adds more complexity to the code, making it even harder to read. I don't think right now is the best time to do a major refactor of that code though; perhaps in the future.

If you review, please check the bootstrap controller changes carefully to make sure the control flow is still the same.

@nholland94 nholland94 requested a review from a team as a code owner September 25, 2020 21:53
@nholland94 nholland94 mentioned this pull request Sep 25, 2020
5 tasks
@nholland94 nholland94 added the ci-build-me Add this label to trigger a circle+buildkite build for this branch label Sep 25, 2020
@nholland94 nholland94 added the ready-to-merge Adding this label will trigger mergify and trigger CI to run and merge the PR label Sep 28, 2020
@netlify
Copy link

netlify bot commented Sep 28, 2020

Deploy preview for mina-staging ready!

Built with commit a84a073

https://deploy-preview-6147--mina-staging.netlify.app

@netlify
Copy link

netlify bot commented Sep 29, 2020

Preview:

Built with commit b26bdba

https://deploy-preview-6147--o1website2.netlify.app

@mrmr1993 mrmr1993 added ci-build-me Add this label to trigger a circle+buildkite build for this branch and removed ci-build-me Add this label to trigger a circle+buildkite build for this branch labels Oct 1, 2020
@mergify mergify bot merged commit 4cd4344 into develop Oct 2, 2020
@mergify mergify bot deleted the feature/bootstrap-debug-logs branch October 2, 2020 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch ready-to-merge Adding this label will trigger mergify and trigger CI to run and merge the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants