Migrate sei-db into sei-chain as mono repo#2457
Conversation
[SeiDB] Fix PebbleDB Iterator Issue
Update config description and defaults
Prune Batch Reset
Improve memiavl graceful shutdown
…bbleDBIteratorBug
PebbleDB Iterator Fix
[SeiDB] State Store Expose `GetEarliestVersion`
* Commit to metadata table * Fix schema * Fix schema * Fix schema
Integrate UCI basic go linting into sei-db.
* MemIAVL should only keep 1 current snapshot * Fix comment * Fix locking issue * Use numcpu as default
* Snapshot should be created whenever height diff exceed interval * Fix unit test * Fix unit test * Fix lint * Add log for closing db
## Describe your changes and provide context - Add interface functions for rocksdb state store - Bump grocksdb ## Testing performed to validate your change - verified fully on 2 nodes
Integrate UCI versioning and release into `sei-db` and create the version file for the latest tagged semver currently present. Upgrade UCI Go lint to latest while at it.
#118) This reverts commit c35c30a, reversing changes made to 302e86d. ## Describe your changes and provide context - Revert surfacing errors from db layer since the rpc / keeper / store layer hard codes a lot of handling of record not found and there needs to be a larger refactor - Can re introduce this error after a redesign and consideration of impact ## Testing performed to validate your change - Verified in unit tests and on node
## Describe your changes and provide context This PR add couple of new metrics using otel for seidb ## Testing performed to validate your change Example: <img width="1497" height="671" alt="image" src="https://github.com/user-attachments/assets/346de110-9d42-4c41-bd74-7a4f04e8b4ba" />
Codecov Report❌ Patch coverage is ❌ Your patch status has failed because the patch coverage (20.52%) is below the target coverage (70.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #2457 +/- ##
===========================================
+ Coverage 40.15% 50.69% +10.53%
===========================================
Files 1533 1580 +47
Lines 156532 161276 +4744
===========================================
+ Hits 62850 81753 +18903
+ Misses 88970 73294 -15676
- Partials 4712 6229 +1517
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Updare readme with archive notice. Relates to: * sei-protocol/sei-chain#2457
Updare readme with archive notice. Relates to: * sei-protocol/sei-chain#2457
Merge git commit history from
sei-dbintosei-chainand update the replace directive in root ofsei-chainto use relative path.Note
The merged commits from
sei-dbpoint tov0.0.55, the release currently in use by head ofmainatsei-chain. This leaves behind one additional commit tosei-tendermintwhich will be separately ported over:The reminder of changes done here are mechanical to fix CI runs and update the
replacedirective ingo.modto use relative path.