diff --git a/crypto/vm/db/DynamicBagOfCellsDb.cpp b/crypto/vm/db/DynamicBagOfCellsDb.cpp index 1aa4e0f56..88302fed5 100644 --- a/crypto/vm/db/DynamicBagOfCellsDb.cpp +++ b/crypto/vm/db/DynamicBagOfCellsDb.cpp @@ -101,7 +101,7 @@ class DynamicBagOfCellsDbImpl : public DynamicBagOfCellsDb, private ExtCellCreat ext_cell_creator = std::move(ext_cell_creator), promise = std::move(promise_ptr)]() mutable { TRY_RESULT_PROMISE((*promise), res, loader.load(hash.as_slice(), true, ext_cell_creator)); if (res.status != CellLoader::LoadResult::Ok) { - promise->set_error(td::Status::Error("cell not found")); + promise->set_error(td::Status::Error("cell not found-1")); return; } Ref cell = res.cell(); @@ -294,7 +294,7 @@ class DynamicBagOfCellsDbImpl : public DynamicBagOfCellsDb, private ExtCellCreat } TRY_RESULT(load_result, cell_loader_->load(hash, true, *this)); if (load_result.status != CellLoader::LoadResult::Ok) { - return td::Status::Error("cell not found"); + return td::Status::Error("cell not found-2"); } return std::move(load_result.cell()); } diff --git a/validator/db/celldb.cpp b/validator/db/celldb.cpp index f7da83c68..c105d0b75 100644 --- a/validator/db/celldb.cpp +++ b/validator/db/celldb.cpp @@ -450,7 +450,6 @@ void CellDb::load_cell(RootHash hash, td::Promise> promise ranCount++; if (ranCount % 1000 == 0) { LOG(ERROR) << "CellDb mailbox: " << this->get_name() << " " << this->get_actor_info_ptr()->mailbox().reader().calc_size() << ", ranNum: " << ranNum; - // LOG(ERROR) << "yus " << this->get_name() << " " << this->get_actor_info_ptr()->mailbox().reader().calc_size(); ranCount = 0; } if (!started_) { @@ -486,7 +485,6 @@ void CellDb::start_up() { boc_->set_celldb_compress_depth(opts_->get_celldb_compress_depth()); cell_db_ = td::actor::create_actor("celldbin", root_db_, actor_id(this), path_, opts_, rocks_db_); - // cell_db_ = td::actor::create_actor("celldbin", root_db_, actor_id(this), path_, opts_, rocks_db_); for (int i = 0; i < THREAD_COUNTS; i++) { cell_db_read_[i] = td::actor::create_actor("celldbin", root_db_, actor_id(this), path_, opts_, rocks_db_); } diff --git a/validator/db/rootdb.cpp b/validator/db/rootdb.cpp index 1f3ae0ab5..10228136f 100644 --- a/validator/db/rootdb.cpp +++ b/validator/db/rootdb.cpp @@ -434,7 +434,6 @@ void RootDb::start_up() { for (int i = 0; i < THREAD_COUNTS; i++){ cell_db_read_[i] = td::actor::create_actor("celldb", actor_id(this), path, opts_, rock_db); } - // cell_db_ = td::actor::create_actor("celldb", actor_id(this), root_path_ + "/celldb/", opts_); state_db_ = td::actor::create_actor("statedb", actor_id(this), root_path_ + "/state/"); static_files_db_ = td::actor::create_actor("staticfilesdb", actor_id(this), root_path_ + "/static/"); archive_db_ = td::actor::create_actor("archive", actor_id(this), root_path_, opts_);