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

Why is db backend set at compile time and not via flag '--db_backend'. How do I application db set to rocksdb? #10828

Closed
4 tasks
ylsGit opened this issue Dec 22, 2021 · 1 comment

Comments

@ylsGit
Copy link

ylsGit commented Dec 22, 2021

Summary of Bug

https://github.com/cosmos/cosmos-sdk/blob/master/types/utils.go#L15
https://github.com/cosmos/cosmos-sdk/blob/master/types/utils.go#L88

Version

Steps to Reproduce


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@tac0turtle
Copy link
Member

This is done to avoid needing to compile every db into the binary.

you can install is like so COSMOS_BUILD_OPTIONS=rocksdb ENABLE_ROCKSDB=true make install something changed recently that makes it require the second flag

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

No branches or pull requests

2 participants