Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Add ability to parse logs for frozen/full slot information in ledger-tool #10840

Merged
merged 1 commit into from
Jun 30, 2020

Conversation

carllin
Copy link
Contributor

@carllin carllin commented Jun 29, 2020

Problem

Hard to parse slot information (frozen/full) useful for debugging from large log files

Summary of Changes

Add parse_full_frozen command to ledger tool which given a ledger + starting slot + ending_slot + log file, will find all the ancestors of the given ending_slot and extract frozen/full logs for those slots.

Fixes #

@carllin carllin added the v1.2 label Jun 29, 2020
@carllin carllin requested a review from sakridge June 29, 2020 22:56
@codecov
Copy link

codecov bot commented Jun 30, 2020

Codecov Report

Merging #10840 into master will decrease coverage by 0.0%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #10840     +/-   ##
=========================================
- Coverage    81.9%    81.8%   -0.1%     
=========================================
  Files         303      303             
  Lines       71087    71087             
=========================================
- Hits        58227    58208     -19     
- Misses      12860    12879     +19     

@carllin carllin merged commit 2dfa48d into solana-labs:master Jun 30, 2020
mergify bot pushed a commit that referenced this pull request Jun 30, 2020
Co-authored-by: Carl <carl@solana.com>
(cherry picked from commit 2dfa48d)

# Conflicts:
#	ledger-tool/src/main.rs
carllin added a commit that referenced this pull request Jul 1, 2020
Co-authored-by: Carl <carl@solana.com>
(cherry picked from commit 2dfa48d)
mergify bot added a commit that referenced this pull request Jul 1, 2020
Co-authored-by: Carl <carl@solana.com>
(cherry picked from commit 2dfa48d)

Co-authored-by: carllin <wumu727@gmail.com>
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.

1 participant