From cdec60a7c02b30b03594d2f79ec764153efbb232 Mon Sep 17 00:00:00 2001 From: Vanshdeep Singh Date: Fri, 23 Feb 2018 19:05:18 +0530 Subject: [PATCH] Rollback crash recovery mechanism (#2091) --- bigchaindb/commands/bigchaindb.py | 3 +-- tests/commands/test_commands.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/bigchaindb/commands/bigchaindb.py b/bigchaindb/commands/bigchaindb.py index a866fcaa..68cb930c 100644 --- a/bigchaindb/commands/bigchaindb.py +++ b/bigchaindb/commands/bigchaindb.py @@ -15,7 +15,6 @@ from bigchaindb.common.exceptions import (StartupError, KeypairNotFoundException, DatabaseDoesNotExist) import bigchaindb -from bigchaindb.tendermint.core import BigchainDB from bigchaindb import backend from bigchaindb.backend import schema from bigchaindb.backend import query @@ -193,7 +192,7 @@ def run_start(args): """Start the processes to run the node""" logger.info('BigchainDB Version %s', bigchaindb.__version__) - run_recover(BigchainDB()) + # run_recover(BigchainDB()) if args.allow_temp_keypair: if not (bigchaindb.config['keypair']['private'] or diff --git a/tests/commands/test_commands.py b/tests/commands/test_commands.py index aa0df51e..4c963cb4 100644 --- a/tests/commands/test_commands.py +++ b/tests/commands/test_commands.py @@ -589,7 +589,6 @@ def test_recover_db_from_zombie_block(b, monkeypatch): assert block['height'] == 9 -@pytest.mark.tendermint @patch('bigchaindb.config_utils.autoconfigure') @patch('bigchaindb.commands.bigchaindb.run_recover') @patch('bigchaindb.tendermint.commands.start')