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

libs/autofile: bring back loops #2261

Merged
merged 2 commits into from Aug 31, 2018
Merged

libs/autofile: bring back loops #2261

merged 2 commits into from Aug 31, 2018

Conversation

ebuchman
Copy link
Contributor

Trying to understand why #2259 is happening.

Looks like could be due to the changes in #2135, where we may have accidentally removed these loops.

  • Updated all relevant documentation in docs
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGELOG_PENDING.md

@ebuchman
Copy link
Contributor Author

Seems to solve the issue from local manual testing.

@codecov-io
Copy link

Codecov Report

Merging #2261 into master will increase coverage by 0.17%.
The diff coverage is 30.76%.

@@            Coverage Diff             @@
##           master    #2261      +/-   ##
==========================================
+ Coverage   62.48%   62.65%   +0.17%     
==========================================
  Files         216      216              
  Lines       17296    17369      +73     
==========================================
+ Hits        10807    10883      +76     
+ Misses       5605     5601       -4     
- Partials      884      885       +1
Impacted Files Coverage Δ
libs/autofile/group.go 66.75% <0%> (-0.18%) ⬇️
libs/autofile/autofile.go 69.69% <66.66%> (+0.46%) ⬆️
rpc/grpc/api.go 81.81% <0%> (-7.08%) ⬇️
types/validator.go 74% <0%> (-4.13%) ⬇️
rpc/client/httpclient.go 68.78% <0%> (-0.98%) ⬇️
blockchain/reactor.go 39.1% <0%> (-0.34%) ⬇️
p2p/peer.go 57.95% <0%> (ø) ⬆️
consensus/state.go 77.66% <0%> (+0.24%) ⬆️
blockchain/pool.go 66.43% <0%> (+0.69%) ⬆️
config/config.go 83.58% <0%> (+1.77%) ⬆️
... and 2 more

@ValarDragon
Copy link
Contributor

Should we have autofile rotation tests to cover this case?

@melekes
Copy link
Contributor

melekes commented Aug 25, 2018

@bradyjoestar wrote two tests which check rotation here #2244

@ebuchman ebuchman mentioned this pull request Aug 27, 2018
@melekes melekes mentioned this pull request Aug 29, 2018
1 task
@ebuchman ebuchman merged commit 9e940b9 into master Aug 31, 2018
@ebuchman ebuchman deleted the bucky/fix-autofile branch August 31, 2018 18:05
ebuchman added a commit that referenced this pull request Aug 31, 2018
libs/autofile: bring back loops (#2261)
zengguocheng added a commit to zengguocheng/tendermint that referenced this pull request Sep 2, 2018
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.

None yet

4 participants