mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-13 03:25:20 +00:00
3767030005
* Add rocksdb compact command * Increase compaction log output to 1 min * Use GetClient/ServerContextFromCmd * Update cmd info * Add doc to logColumnFamilyMetadata * Update RocksDBCmd docs * Add changelog entry * Load latest options from rocksdb * Allow application.db to be compacted * Rename more store -> db * Ensure compaction stats output does not run when db is closed * Add flag for custom stat output interval, return error
15 lines
304 B
Go
15 lines
304 B
Go
//go:build !rocksdb
|
|
// +build !rocksdb
|
|
|
|
package rocksdb
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
// RocksDBCmd defines the root command when the rocksdb build tag is not set.
|
|
var RocksDBCmd = &cobra.Command{
|
|
Use: "rocksdb",
|
|
Short: "RocksDB util commands, disabled because rocksdb build tag not set",
|
|
}
|