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

Diagnostics: snapshot stage info gathering #11105

Merged
merged 1 commit into from
Jul 12, 2024
Merged

Conversation

dvovk
Copy link
Member

@dvovk dvovk commented Jul 10, 2024

  • added snapshot fill from DB state gathering
  • refactor persisted data parsing

"github.com/ledgerwatch/erigon-lib/kv"
"github.com/ledgerwatch/log/v3"
)

var (
SnapshotDownloadStatisticsKey = []byte("diagSnapshotDownloadStatistics")
SnapshotIndexingStatisticsKey = []byte("diagSnapshotIndexingStatistics")
SnapshotFillDBStatisticsKey = []byte("diagSnapshotFillDBStatistics")
Copy link
Collaborator

Choose a reason for hiding this comment

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

this data stored in own db and in own table, probably no reason to have diagSnapshot prefix in this case.

@AskAlexSharov AskAlexSharov merged commit 81c28cd into release/2.60 Jul 12, 2024
7 checks passed
@AskAlexSharov AskAlexSharov deleted the syncdiag branch July 12, 2024 04:22
AskAlexSharov added a commit that referenced this pull request Jul 12, 2024
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.

2 participants