-
Notifications
You must be signed in to change notification settings - Fork 283
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
Sync/rejoin lagging-behind lookup nodes after recovery #1726
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1726 +/- ##
========================================
- Coverage 33.5% 33.4% -0.1%
========================================
Files 270 270
Lines 33277 33383 +106
========================================
+ Hits 11148 11151 +3
- Misses 22129 22232 +103
Continue to review full report at Codecov.
|
160067a
to
078151e
Compare
c50a215
to
defde84
Compare
7024de6
to
d2d1e63
Compare
76db641
to
1279397
Compare
6579492
to
fdadad9
Compare
87a6f5c
to
8c744e1
Compare
src/libLookup/Lookup.cpp
Outdated
// retMicroBlocks.push_back(*mbptr); | ||
// } | ||
// } | ||
LOG_GENERAL(INFO, "Reques for " << microBlockHashes.size() << " blocks"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spell mistake Reques
src/libLookup/Lookup.cpp
Outdated
// vector<TxnHash> txnhashes; | ||
// txnhashes.clear(); | ||
vector<TxnHash> txnhashes; | ||
txnhashes.clear(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may not need to clear
src/libLookup/Lookup.cpp
Outdated
|
||
// bytes setTxnMsg = {MessageType::LOOKUP, | ||
// LookupInstructionType::SETTXNFROMLOOKUP}; | ||
vector<TransactionWithReceipt> txnvector; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can rename it to txns
??
Description
As https://github.com/Zilliqa/Issues/issues/542 mentioned, we need to synchronize after recovery, with the larger and larger size of persistence database.
Backward Compatibility
Review Suggestion
Status
Implementation
Integration Test (Core Team)