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

feat: indexer cold start (WIP) #566

Merged
merged 18 commits into from
Jul 21, 2023
Merged

feat: indexer cold start (WIP) #566

merged 18 commits into from
Jul 21, 2023

Conversation

jingchen2222
Copy link
Collaborator

@jingchen2222 jingchen2222 commented Jul 19, 2023


PR-Codex overview

This PR focuses on adding block state information and implementing block recovery functionality.

Detailed summary

  • Added BlockState message in the proto file.
  • Modified StoreSDKV2 to include get_blocks and get_block_by_height methods.
  • Modified Recover to include block recovery from fetched blocks.
  • Modified IndexerNodeImpl to include block recovery and block event handling.

The following files were skipped due to too many changes: src/storage/src/db_store_v2.rs

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

imotai
imotai previously approved these changes Jul 20, 2023
…exer_cold_start

# Conflicts:
#	src/node/src/command.rs
#	src/node/src/indexer_impl.rs
#	src/node/src/recover.rs
#	src/storage/src/meta_store_client.rs
#	src/storage/src/state_store.rs
#	tools/start_localnet.sh
@jingchen2222 jingchen2222 self-assigned this Jul 21, 2023
@codecov-commenter
Copy link

codecov-commenter commented Jul 21, 2023

Codecov Report

Merging #566 (36641d7) into main (e628ee4) will not change coverage.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##             main     #566   +/-   ##
=======================================
  Coverage   63.97%   63.97%           
=======================================
  Files           9        9           
  Lines         433      433           
  Branches       64       64           
=======================================
  Hits          277      277           
  Misses        156      156           
Flag Coverage Δ
rust 63.97% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@imotai imotai merged commit 0974e4a into main Jul 21, 2023
@imotai imotai deleted the feat/indexer_cold_start branch July 24, 2023 01:06
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.

3 participants