From 0cc527200feea4187b302950f65270f84766df1a Mon Sep 17 00:00:00 2001 From: ms Date: Fri, 5 Jul 2024 01:19:52 +0200 Subject: [PATCH] fix crash when new archive slice is created --- validator/db/archive-slice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/validator/db/archive-slice.cpp b/validator/db/archive-slice.cpp index c49dfd589..cbe9f309a 100644 --- a/validator/db/archive-slice.cpp +++ b/validator/db/archive-slice.cpp @@ -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(kv_.get())->try_catch_up_with_primary());