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

Log error conditions when fetching validator list. #2243

Closed
wants to merge 1 commit into from

Conversation

mtrippled
Copy link
Collaborator

@mtrippled mtrippled commented Oct 9, 2017

This would have saved some time isolating a problem with Ubuntu using our statically linked redhat ssl lib.

@MarkusTeufelberger
Copy link
Collaborator

You could also link against the native library that is installed... ;-)

@codecov-io
Copy link

codecov-io commented Oct 9, 2017

Codecov Report

Merging #2243 into develop will decrease coverage by 0.03%.
The diff coverage is 0%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2243      +/-   ##
===========================================
- Coverage    70.12%   70.08%   -0.04%     
===========================================
  Files          689      689              
  Lines        50800    50810      +10     
===========================================
- Hits         35621    35612       -9     
- Misses       15179    15198      +19
Impacted Files Coverage Δ
src/ripple/app/misc/impl/ValidatorSite.cpp 73.2% <0%> (-5.12%) ⬇️
src/ripple/server/impl/BaseHTTPPeer.h 86.95% <0%> (-3.11%) ⬇️
src/ripple/protocol/impl/STVar.cpp 85.71% <0%> (-2.6%) ⬇️
src/ripple/app/misc/SHAMapStoreImp.cpp 78.92% <0%> (-1.03%) ⬇️
src/ripple/protocol/impl/Serializer.cpp 69.96% <0%> (-0.35%) ⬇️
src/ripple/basics/DecayingSample.h 86.11% <0%> (+8.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3e5490e...0d59e81. Read the comment docs.

Copy link
Contributor

@wilsonianb wilsonianb left a comment

Choose a reason for hiding this comment

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

👍 LGTM

@mtrippled mtrippled closed this Oct 9, 2017
@mtrippled mtrippled reopened this Oct 9, 2017
@mtrippled mtrippled closed this Oct 10, 2017
@mtrippled mtrippled reopened this Oct 10, 2017
Copy link
Collaborator

@ximinez ximinez left a comment

Choose a reason for hiding this comment

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

Good simple change. I left one future-proofing suggestion, but it's not a deal breaker. 👍

JLOG (j_.warn()) <<
"Unsupported version validator list from " <<
sites_[siteIdx].uri;
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

If there is any chance of ListDisposition getting additional values in the future, I suggest adding a final case.

else
{
  BOOST_ASSERT(false);
}

That would make it a little more likely that we catch missing cases like this in the future, and gets optimized out in release builds.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

fixed

@mtrippled mtrippled added the Passed Passed code review & PR owner thinks it's ready to merge. Perf sign-off may still be required. label Oct 14, 2017
@mtrippled
Copy link
Collaborator Author

I'm marking this passed: both reviewers 👍, it passes my local unit tests. But continuous-integration/travis-ci/pr has failed several times with timeouts in building, so Travis seems unusable at this point.

@bachase
Copy link
Collaborator

bachase commented Nov 30, 2017

Merged as 8f347a5

@bachase bachase closed this Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Passed Passed code review & PR owner thinks it's ready to merge. Perf sign-off may still be required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants