-
Notifications
You must be signed in to change notification settings - Fork 334
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
Correct rocksdb path -- ensure we use KAVA_HOME/data/application.db #1767
Conversation
and not a nested application.db within that path
@@ -90,7 +90,8 @@ func OpenDB(appOpts types.AppOptions, home string, backendType dbm.BackendType) | |||
// openRocksdb loads existing options, overrides some of them with appOpts and opens database | |||
// option will be overridden only in case if it explicitly specified in appOpts | |||
func openRocksdb(dir string, appOpts types.AppOptions) (dbm.DB, error) { | |||
dbOpts, cfOpts, err := loadLatestOptions(dir) | |||
optionsPath := filepath.Join(dir, "application.db") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we move this to being sourced from config.yml?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ya agree, we can implement a better fix on master w/ an integration test to ensure path doesn't change in the future
…1767) and not a nested application.db within that path
ensure we use KAVA_HOME/data/application.db and not a nested application.db within that path
…#1777) * fix(rocksdb): correctly resolve rocksdb path (#1767) (#1776) * fix(rocksdb): correctly resolve rocksdb path (#1767) ensure we use KAVA_HOME/data/application.db and not a nested application.db within that path * update changelog --------- Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> (cherry picked from commit aca738f) # Conflicts: # CHANGELOG.md * update changelog --------- Co-authored-by: Robert Pirtle <Astropirtle@gmail.com>
…#1778) * fix(rocksdb): correctly resolve rocksdb path (#1767) (#1776) * fix(rocksdb): correctly resolve rocksdb path (#1767) ensure we use KAVA_HOME/data/application.db and not a nested application.db within that path * update changelog --------- Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> (cherry picked from commit aca738f) # Conflicts: # CHANGELOG.md * update changelog --------- Co-authored-by: Robert Pirtle <Astropirtle@gmail.com>
…#1782) * fix(rocksdb): correctly resolve rocksdb path (#1767) (#1776) * fix(rocksdb): correctly resolve rocksdb path (#1767) ensure we use KAVA_HOME/data/application.db and not a nested application.db within that path * update changelog --------- Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> (cherry picked from commit aca738f) * update changelog --------- Co-authored-by: Robert Pirtle <Astropirtle@gmail.com>
…#1779) * fix(rocksdb): correctly resolve rocksdb path (#1767) (#1776) * fix(rocksdb): correctly resolve rocksdb path (#1767) ensure we use KAVA_HOME/data/application.db and not a nested application.db within that path * update changelog --------- Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> (cherry picked from commit aca738f) # Conflicts: # CHANGELOG.md * update changelog * disable remote proto braking ci check --------- Co-authored-by: Robert Pirtle <Astropirtle@gmail.com>
…#1782) * fix(rocksdb): correctly resolve rocksdb path (#1767) (#1776) * fix(rocksdb): correctly resolve rocksdb path (#1767) ensure we use KAVA_HOME/data/application.db and not a nested application.db within that path * update changelog --------- Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> (cherry picked from commit aca738f) * update changelog --------- Co-authored-by: Robert Pirtle <Astropirtle@gmail.com>
…#1782) * fix(rocksdb): correctly resolve rocksdb path (#1767) (#1776) * fix(rocksdb): correctly resolve rocksdb path (#1767) ensure we use KAVA_HOME/data/application.db and not a nested application.db within that path * update changelog --------- Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> (cherry picked from commit aca738f) * update changelog --------- Co-authored-by: Robert Pirtle <Astropirtle@gmail.com>
…#1780) * fix(rocksdb): correctly resolve rocksdb path (#1767) (#1776) * fix(rocksdb): correctly resolve rocksdb path (#1767) ensure we use KAVA_HOME/data/application.db and not a nested application.db within that path * update changelog --------- Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> (cherry picked from commit aca738f) # Conflicts: # CHANGELOG.md * update changelog * update golangci-lint job --------- Co-authored-by: Robert Pirtle <Astropirtle@gmail.com>
…#1781) * fix(rocksdb): correctly resolve rocksdb path (#1767) (#1776) * fix(rocksdb): correctly resolve rocksdb path (#1767) ensure we use KAVA_HOME/data/application.db and not a nested application.db within that path * update changelog --------- Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> (cherry picked from commit aca738f) # Conflicts: # CHANGELOG.md * update changelog * update golangci-lint job --------- Co-authored-by: Robert Pirtle <Astropirtle@gmail.com>
No description provided.