Skip to content

Commit

Permalink
fix crash when new archive slice is created
Browse files Browse the repository at this point in the history
  • Loading branch information
dungeon-master-666 committed Jul 4, 2024
1 parent 035c36d commit 0cc5272
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions validator/db/archive-slice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,7 @@ void ArchiveSlice::end_async_query() {

td::Status ArchiveSlice::try_catch_up_with_primary() {
CHECK(mode_ == td::DbOpenMode::db_secondary);
before_query();

TRY_STATUS(static_cast<td::RocksDbSecondary *>(kv_.get())->try_catch_up_with_primary());

Expand Down

0 comments on commit 0cc5272

Please sign in to comment.