-
Notifications
You must be signed in to change notification settings - Fork 815
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
Archive Node Online Migration #1863
Conversation
7ba74d6
to
27a1676
Compare
* Add QMS for online migration * Fix lint --------- Co-authored-by: kbhat1 <[email protected]>
go func() { | ||
homeDir := cast.ToString(appOpts.Get(flags.FlagHome)) | ||
stateStore := app.GetStateStore() | ||
migrationHeight := cast.ToInt64(appOpts.Get("migrate-height")) | ||
migrator := ss.NewMigrator(homeDir, db, stateStore) | ||
if err := migrator.Migrate(migrationHeight, homeDir); err != nil { | ||
panic(err) | ||
} | ||
}() |
Check notice
Code scanning / CodeQL
Spawning a Go routine Note
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1863 +/- ##
==========================================
- Coverage 61.56% 61.35% -0.22%
==========================================
Files 263 263
Lines 23308 23328 +20
==========================================
- Hits 14349 14312 -37
- Misses 7952 8013 +61
+ Partials 1007 1003 -4
|
if module != startModule && startModule != "" { | ||
continue | ||
} | ||
startTimeModule := time.Now() // Measure time for each module |
Check warning
Code scanning / CodeQL
Calling the system time Warning
}) | ||
|
||
batchLeafNodeCount = 0 | ||
startTimeBatch = time.Now() |
Check warning
Code scanning / CodeQL
Calling the system time Warning
fmt.Println("Scanning database and exporting leaf nodes...") | ||
fmt.Println("SeiDB Archive Migration: Scanning database and exporting leaf nodes...") | ||
|
||
startTimeTotal := time.Now() // Start measuring total time |
Check warning
Code scanning / CodeQL
Calling the system time Warning
* 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]>
* 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]>
Describe your changes and provide context
Testing performed to validate your change