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

Add QMS for online migration #1870

Merged
merged 3 commits into from
Sep 25, 2024
Merged

Conversation

yzang2019
Copy link
Contributor

Describe your changes and provide context

This PR depends on the cosmos change in sei-protocol/sei-cosmos#542, it set IAVL store as QMS to serve query when height is below migration height. This will be served as fallback query when online migration is enabled.

Testing performed to validate your change

Copy link

codecov bot commented Sep 24, 2024

Codecov Report

Attention: Patch coverage is 28.57143% with 5 lines in your changes missing coverage. Please review.

Project coverage is 61.01%. Comparing base (6c8b336) to head (9799ecc).

Files with missing lines Patch % Lines
app/seidb.go 28.57% 4 Missing and 1 partial ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1870      +/-   ##
==========================================
- Coverage   61.33%   61.01%   -0.32%     
==========================================
  Files         261      261              
  Lines       23152    23158       +6     
==========================================
- Hits        14201    14131      -70     
- Misses       7949     8030      +81     
+ Partials     1002      997       -5     
Flag Coverage Δ
61.01% <28.57%> (-0.32%) ⬇️

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

Files with missing lines Coverage Δ
app/seidb.go 80.35% <28.57%> (-7.65%) ⬇️

... and 3 files with indirect coverage changes

@Kbhat1 Kbhat1 changed the base branch from main to ArchiveNodeMigrationOnline September 25, 2024 03:11
@Kbhat1 Kbhat1 changed the base branch from ArchiveNodeMigrationOnline to main September 25, 2024 03:12
@Kbhat1 Kbhat1 changed the base branch from main to ArchiveNodeMigrationOnline September 25, 2024 03:36
@Kbhat1 Kbhat1 merged commit 3ac501f into ArchiveNodeMigrationOnline Sep 25, 2024
4 of 5 checks passed
@Kbhat1 Kbhat1 deleted the yzang/SEI-8116 branch September 25, 2024 03:38
Kbhat1 added a commit that referenced this pull request Oct 22, 2024
* Add QMS for online migration

* Fix lint

---------

Co-authored-by: kbhat1 <[email protected]>
Kbhat1 added a commit that referenced this pull request Oct 29, 2024
* Add QMS for online migration

* Fix lint

---------

Co-authored-by: kbhat1 <[email protected]>
Kbhat1 added a commit that referenced this pull request Oct 30, 2024
* Archive Node Online Migration

* Add migrate-iavl flag for online migration

* Update sei cosmos

* Add QMS for online migration (#1870)

* Add QMS for online migration

* Fix lint

---------

Co-authored-by: kbhat1 <[email protected]>

* Add migrate-height flag to start cmd

* Bump seidb

* Reduce logging

* Archive Migration doc

* Update form

* Update

* Export metric

* latest height

* Update start module logic

* Remove migrate SS command

* Enable ss store

* Update archive node migration docs

* More migration doc updates

* Update metrics in readme

* Merge main

* Remove dex

* Add Faq section

* Add requirements section

* Systemd instructions

* Minor add to readme

* Add more examples for migration height

* Bump sei cosmos

* Update error log

* Update command sc migration background

---------

Co-authored-by: Yiming Zang <[email protected]>
philipsu522 pushed a commit that referenced this pull request Oct 30, 2024
* Archive Node Online Migration

* Add migrate-iavl flag for online migration

* Update sei cosmos

* Add QMS for online migration (#1870)

* Add QMS for online migration

* Fix lint

---------

Co-authored-by: kbhat1 <[email protected]>

* Add migrate-height flag to start cmd

* Bump seidb

* Reduce logging

* Archive Migration doc

* Update form

* Update

* Export metric

* latest height

* Update start module logic

* Remove migrate SS command

* Enable ss store

* Update archive node migration docs

* More migration doc updates

* Update metrics in readme

* Merge main

* Remove dex

* Add Faq section

* Add requirements section

* Systemd instructions

* Minor add to readme

* Add more examples for migration height

* Bump sei cosmos

* Update error log

* Update command sc migration background

---------

Co-authored-by: Yiming Zang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants