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

[Bug]: rocksdb in app.toml doesn't work #23134

Closed
1 task done
robert-zaremba opened this issue Dec 31, 2024 · 2 comments
Closed
1 task done

[Bug]: rocksdb in app.toml doesn't work #23134

robert-zaremba opened this issue Dec 31, 2024 · 2 comments
Labels

Comments

@robert-zaremba
Copy link
Collaborator

robert-zaremba commented Dec 31, 2024

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

Similar to #23133

When setting in app.toml:

app-db-backend = 'rocksdb'

we immediately get the following error:

failed to create SCRawDB: unsupported db type: rocksdb

NOTE: setting rocksdb in config.toml works without any problems.

Cosmos SDK Version

main(v2)

How to reproduce?

  • Build: COSMOS_BUILD_OPTIONS=rocksdb,v2 make build
  • simdv2 version --long reports build_tags: netgo ledger rocksdb grocksdb_clean_link
  • start a basic simapp similarly to [Bug]: pebbledb in app.toml doesn't work #23133 but use rocksdb backend
@robert-zaremba
Copy link
Collaborator Author

Based on the error message ([...] SCRawDB [...]), didn't some store/v2 or IAVL/v2 code got into store/v1? My understanding is that store/v1 doesn't follow the SC/SS design.

@tac0turtle
Copy link
Member

hey in #23157 we opted to only support pebble db and goleveldb. Goleveldb because it is widely used today and pebble because it is the best out of the box solution for go. other tools like memiavl and iavlv2 will not sure the underlying db here these are only for iavlv1.

@github-project-automation github-project-automation bot moved this from 📋 Backlog to 🥳 Done in Cosmos-SDK Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🥳 Done
Development

No branches or pull requests

2 participants