-
Notifications
You must be signed in to change notification settings - Fork 761
Unable to restart BigchainDB and Tendermint at block height 1 #2518
Copy link
Copy link
Closed
Description
Description
- BigchainDB version: master - (9bf0932)
- Tendermint version:
0.22.8 - MongoDB version:
3.6.3 - OS:
Ubuntu 18.04.1 LTS bionic
Unable to restart BigchainDB and Tendermint at block height 1 of Tendermint. I get the following errors in BigchainDB logs:
[2018-09-05 14:52:11] [ERROR] (bigchaindb.core) Got invalid InitChain ABCI request (time: 1536156417
chain_id: "test-chain-E0e9OT"
consensus_params {
block_size {
max_bytes: 22020096
max_txs: 10000
max_gas: -1
}
tx_size {
max_bytes: 10240
max_gas: -1
}
block_gossip {
block_part_size_bytes: 65536
}
}
validators {
address: "r;J\001[\375\277\366-\247\242/5\246\362f\312b\214\342"
pub_key {
type: "ed25519"
data: "U\017\277\306\340*\323\301\257%F\013\266\033\022\215\321\311\0160\363\007\276ow\343\323l\r4-\277"
}
power: 10
}
) - the chain {chain_id} is already synced. (MainProcess - pid: 6107)
and the system crashes.
Steps to reproduce
- Install MongoDB
- Install Tendermint
- Install BigchainDB(master-(9bf0932))
- Run MongoDB + Tendermint + BigchainDB
- Kill Tendermint and BigchainDB
- Restart Tendermint and BigchainDB
# automatically start mongodb as well with Ubuntu 18
$ sudo apt install mongodb
$ curl -fOL https://github.com/tendermint/tendermint/releases/download/v0.22.8/tendermint_0.22.8_linux_amd64.zip
$ unzip unzip tendermint_0.22.8_linux_amd64.zip
$ mv tendermint /usr/local/bin/
$ git clone https://github.com/bigchaindb/bigchaindb.git
$ cd bigchaindb/
$ pip install .
$ tendermint init
$ tendermint node
$ bigchaindb start
$ pkill bigchaindb
$ pkill tendermint
$ tendermint node
$ bigchaindb startWorkaround
- Drop database, reset tendermint
- Once the system is up, commit a transaction to the system and everything recovers normally.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels