We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e59986 commit b654a1dCopy full SHA for b654a1d
libraries/plugins/account_history_rocksdb/account_history_rocksdb_plugin.cpp
@@ -1074,13 +1074,6 @@ void account_history_rocksdb_plugin::impl::on_pre_reindex(const hive::chain::rei
1074
_provider->shutdownDb();
1075
std::string strPath = _storagePath.string();
1076
1077
- if( note.force_replay )
1078
- {
1079
- ilog("Received onReindexStart request, attempting to clean database storage.");
1080
- auto s = ::rocksdb::DestroyDB(strPath, ::rocksdb::Options());
1081
- checkStatus(s);
1082
- }
1083
-
1084
_provider->openDb( _mainDb.get_last_irreversible_block_num() );
1085
_initialized = true; // prevent reopening of database during plugin_startup
1086
0 commit comments