docs: remove RocksDB (#23212)
Co-authored-by: Marko <marko@baricevic.me>
This commit is contained in:
parent
ead1b1c9df
commit
b0031a103d
@ -14,8 +14,6 @@ DOCKER := $(shell which docker)
|
||||
PROJECT_NAME = $(shell git remote get-url origin | xargs basename -s .git)
|
||||
COSMOS_BUILD_OPTIONS += ' v2'
|
||||
|
||||
rocksdb_version=v9.7.3
|
||||
|
||||
ifeq ($(findstring .,$(VERSION)),)
|
||||
VERSION := 0.0.0
|
||||
endif
|
||||
|
||||
@ -2,13 +2,10 @@
|
||||
|
||||
set -e
|
||||
|
||||
REPO_ROOT="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )/.." &> /dev/null && pwd )"
|
||||
REPO_ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." &>/dev/null && pwd)"
|
||||
export REPO_ROOT
|
||||
|
||||
LINT_TAGS="e2e,ledger,test_ledger_mock"
|
||||
if [[ ! -z "${ROCKSDB:-}" ]]; then
|
||||
LINT_TAGS+=",rocksdb"
|
||||
fi
|
||||
export LINT_TAGS
|
||||
|
||||
lint_module() {
|
||||
@ -53,4 +50,4 @@ else
|
||||
echo "linting github.com/cosmos/cosmos-sdk [$(date -Iseconds -u)]"
|
||||
golangci-lint run ./... -c "${REPO_ROOT}/.golangci.yml" "$@" --build-tags=${LINT_TAGS}
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -26,8 +26,8 @@ The pruning option is provided via the 'pruning' argument or alternatively with
|
||||
- custom: allow pruning options to be manually specified through 'pruning-keep-recent'
|
||||
|
||||
Note: When the --app-db-backend flag is not specified, the default backend type is 'goleveldb'.
|
||||
Supported app-db-backend types include 'goleveldb', 'rocksdb', 'pebbledb'.`,
|
||||
Example: fmt.Sprintf("%s prune custom --pruning-keep-recent 100 --app-db-backend 'goleveldb'", "<appd>"),
|
||||
Supported app-db-backend types include 'goleveldb', 'pebbledb'.`,
|
||||
Example: "<appd> prune custom --pruning-keep-recent 100 --app-db-backend 'goleveldb'",
|
||||
Args: cobra.RangeArgs(0, 1),
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
// bind flags to the Context's Viper so we can get pruning options.
|
||||
|
||||
20
server/v2/testdata/config.toml
vendored
20
server/v2/testdata/config.toml
vendored
@ -21,25 +21,13 @@ proxy_app = "tcp://127.0.0.1:26658"
|
||||
# A custom human readable name for this node
|
||||
moniker = "aurn-node"
|
||||
|
||||
# Database backend: goleveldb | cleveldb | boltdb | rocksdb | badgerdb
|
||||
# Database backend: goleveldb | pebbledb
|
||||
# * goleveldb (github.com/syndtr/goleveldb - most popular implementation)
|
||||
# - pure go
|
||||
# - stable
|
||||
# * cleveldb (uses levigo wrapper)
|
||||
# - fast
|
||||
# - requires gcc
|
||||
# - use cleveldb build tag (go build -tags cleveldb)
|
||||
# * boltdb (uses etcd's fork of bolt - github.com/etcd-io/bbolt)
|
||||
# - EXPERIMENTAL
|
||||
# - may be faster is some use-cases (random reads - indexer)
|
||||
# - use boltdb build tag (go build -tags boltdb)
|
||||
# * rocksdb (uses github.com/tecbot/gorocksdb)
|
||||
# - EXPERIMENTAL
|
||||
# - requires gcc
|
||||
# - use rocksdb build tag (go build -tags rocksdb)
|
||||
# * badgerdb (uses github.com/dgraph-io/badger)
|
||||
# - EXPERIMENTAL
|
||||
# - use badgerdb build tag (go build -tags badgerdb)
|
||||
# * pebbledb (uses github.com/cockroachdb/pebble)
|
||||
# - stable
|
||||
# - pure go
|
||||
db_backend = "goleveldb"
|
||||
|
||||
# Database directory
|
||||
|
||||
@ -25,6 +25,10 @@ Ref: https://keepachangelog.com/en/1.0.0/
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### API Breaking
|
||||
|
||||
* [#23157](https://github.com/cosmos/cosmos-sdk/pull/23157) Remove support for RocksDB.
|
||||
|
||||
## [v2.0.0-beta.1](https://github.com/cosmos/cosmos-sdk/releases/tag/store/v2.0.0-beta.1)
|
||||
|
||||
Initial tag of `cosmossdk.io/store/v2`.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user