Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Problem (Fix #1007): liveness tracker doesn't contain information about some nodes in multi-node integration test #1055

Merged
merged 1 commit into from
Feb 12, 2020

Conversation

yihuang
Copy link
Collaborator

@yihuang yihuang commented Feb 12, 2020

Solution:

  • Check tendermint_validator_addresses when liveness_tracker not found, if cleaned up, log error otherwise log info.

Copy link
Collaborator

@devashishdxt devashishdxt left a comment

Choose a reason for hiding this comment

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

LGTM. Just a small suggestion.

chain-abci/src/app/app_init/validator_state.rs Outdated Show resolved Hide resolved
…mation about some nodes in multi-node integration test

Solution:
- Check `tendermint_validator_addresses` when `liveness_tracker` not
found, if cleaned up, log error, otherwise log info.

Update chain-abci/src/app/app_init/validator_state.rs

Co-Authored-By: Devashish Dixit <devashish@crypto.com>
@codecov
Copy link

codecov bot commented Feb 12, 2020

Codecov Report

Merging #1055 into master will decrease coverage by 0.04%.
The diff coverage is 60%.

@@            Coverage Diff             @@
##           master    #1055      +/-   ##
==========================================
- Coverage   66.81%   66.76%   -0.05%     
==========================================
  Files         147      147              
  Lines       19004    18651     -353     
==========================================
- Hits        12697    12453     -244     
+ Misses       6307     6198     -109
Impacted Files Coverage Δ
chain-abci/src/app/app_init/validator_state.rs 79.42% <60%> (-0.7%) ⬇️
chain-core/src/tx/data/attribute.rs 37.93% <0%> (-4.01%) ⬇️
chain-core/src/tx/data/output.rs 46.66% <0%> (-3.34%) ⬇️
chain-abci/src/slashing.rs 78.94% <0%> (-2.88%) ⬇️
chain-core/src/tx/data/input.rs 20.58% <0%> (-2.27%) ⬇️
chain-core/src/tx/witness/tree.rs 47.05% <0%> (-1.52%) ⬇️
chain-core/src/state/validator.rs 57.89% <0%> (-1.2%) ⬇️
client-core/src/types/transaction_change.rs 84.17% <0%> (-1.01%) ⬇️
client-common/src/error.rs 66.19% <0%> (-0.93%) ⬇️
client-core/src/signer/dummy_signer.rs 67.6% <0%> (-0.89%) ⬇️
... and 63 more

@tomtau
Copy link
Contributor

tomtau commented Feb 12, 2020

bors r+

bors bot added a commit that referenced this pull request Feb 12, 2020
1055: Problem (Fix #1007): liveness tracker doesn't contain information about some nodes in multi-node integration test r=tomtau a=yihuang

Solution:
- Check `tendermint_validator_addresses` when `liveness_tracker` not found, if cleaned up, log error otherwise log info.

Co-authored-by: yihuang <huang@crypto.com>
@bors
Copy link
Contributor

bors bot commented Feb 12, 2020

@bors bors bot merged commit 667d823 into crypto-com:master Feb 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants