Skip to content

Grocksdb and docker - #278

Closed
faddat wants to merge 26 commits into
tendermint:masterfrom
notional-labs:grocksdb-and-docker
Closed

faddat wants to merge 26 commits into
tendermint:masterfrom
notional-labs:grocksdb-and-docker

Conversation

@faddat

@faddat faddat commented Jul 21, 2022

Copy link
Copy Markdown
Contributor

This PR introduces grocksdb and a docker container that has rocksdb v7.x in it

@codecov

codecov Bot commented Jul 26, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #278 (62b1275) into master (b599fa5) will not change coverage.
The diff coverage is 92.30%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #278   +/-   ##
=======================================
  Coverage   68.30%   68.30%           
=======================================
  Files          27       27           
  Lines        2073     2073           
=======================================
  Hits         1416     1416           
  Misses        586      586           
  Partials       71       71           
Impacted Files Coverage Δ
db.go 35.00% <ø> (ø)
rocksdb.go 78.51% <90.00%> (ø)
rocksdb_batch.go 84.31% <100.00%> (ø)
rocksdb_iterator.go 92.94% <100.00%> (ø)
Impacted Files Coverage Δ
db.go 35.00% <ø> (ø)
rocksdb.go 78.51% <90.00%> (ø)
rocksdb_batch.go 84.31% <100.00%> (ø)
rocksdb_iterator.go 92.94% <100.00%> (ø)

@tac0turtle tac0turtle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a changelog entry and some reasoning as to why this change is needed

Comment thread .github/workflows/ci.yml
# To update the container image, see docker.yml.
runs-on: ubuntu-latest
container: tendermintdev/docker-tm-db-testing
container: ghcr.io/faddat/cosmos

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reasoning?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reasoning: when we bump rocksdb, we also need to use a different docker image. The alternative is to upgrade the current docker image.

name: lint
runs-on: ubuntu-latest
container: tendermintdev/docker-tm-db-testing
container: ghcr.io/faddat/cosmos

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reasoning: when we bump rocksdb, we also need to use a different docker image. The alternative is to upgrade the current docker image.

Comment thread .github/workflows/lint.yml Resolved
@faddat

faddat commented Jul 29, 2022 •

Copy link
Copy Markdown
Contributor Author

You're right it definitely needs docs.

This upgrades gorocksdb to grocksdb, meaning that we need to use as container that has rocks 7.x in it. So at the same time, I changed both the dev container and the version of rocks.

@faddat
faddat marked this pull request as draft July 31, 2022 06:13
@faddat faddat closed this Aug 18, 2022
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

Successfully merging this pull request may close these issues.

2 participants