-
Notifications
You must be signed in to change notification settings - Fork 197
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
Added peer miniblocks save after start in epoch #4091
Conversation
iulianpascalau
commented
May 19, 2022
•
edited
edited
- added peer miniblocks save after start in epoch
Codecov Report
@@ Coverage Diff @@
## rc/2022-july #4091 +/- ##
===============================================
Coverage ? 73.66%
===============================================
Files ? 661
Lines ? 85495
Branches ? 0
===============================================
Hits ? 62979
Misses ? 17792
Partials ? 4724 Continue to review full report at Codecov.
|
# Conflicts: # epochStart/bootstrap/interface.go # epochStart/bootstrap/syncValidatorStatus.go
The base branch was changed.
update/sync/syncMiniBlocks.go
Outdated
@@ -103,6 +106,14 @@ func (p *pendingMiniBlocks) SyncPendingMiniBlocks(miniBlockHeaders []data.MiniBl | |||
func (p *pendingMiniBlocks) syncMiniBlocks(listPendingMiniBlocks []data.MiniBlockHeaderHandler, ctx context.Context) error { | |||
_ = core.EmptyChannel(p.chReceivedAll) | |||
|
|||
// TODO - remove this |
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.
is this still required?
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.
no, removed. Thanks
process/block/baseProcess.go
Outdated
@@ -1267,7 +1267,7 @@ func (bp *baseProcessor) saveBody(body *block.Body, header data.HeaderHandler, h | |||
if errNotCritical != nil { | |||
log.Warn("saveBody.Put -> MiniBlockUnit", "error", errNotCritical.Error()) | |||
} | |||
log.Trace("saveBody.Put -> MiniBlockUnit", "time", time.Since(startTime)) | |||
log.Debug("saveBody.Put -> MiniBlockUnit", "time", time.Since(startTime), "hash", miniBlockHash) // TODO revert this to TRACE |
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.
missing todo revert
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.
reverted. Thanks
storage/pruning/pruningStorer.go
Outdated
"used", persisterToUse.epoch, | ||
"path", ps.dbPath, | ||
"returning persister", returningPath, | ||
"stack", string(debug.Stack())) // TODO remove debug.Stack call |
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.
missing todo revert
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.
removed. Thanks
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.
System test passed.