From 94b7c3caca94efcedd3730d59ef49e2f14711f19 Mon Sep 17 00:00:00 2001 From: Guo Teng Date: Sun, 15 Sep 2024 15:29:18 +0800 Subject: [PATCH] small fix --- db/art/filter_cache_client.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/art/filter_cache_client.cc b/db/art/filter_cache_client.cc index f2e053412..1b3e1fa61 100644 --- a/db/art/filter_cache_client.cc +++ b/db/art/filter_cache_client.cc @@ -38,7 +38,7 @@ void FilterCacheClient::do_retrain_or_keep_model(std::vector* const fe filter_cache_manager_.make_clf_model_ready(*features_nums_except_level_0); while (level_recorder->size() != segment_ranges_recorder->size()); level_copy = *level_recorder; segment_ranges_copy = *segment_ranges_recorder; - if (level_copy.size() != segment_ranges_copy.size()) { + while (level_copy.size() != segment_ranges_copy.size()) { while (level_recorder->size() != segment_ranges_recorder->size()); level_copy = *level_recorder; segment_ranges_copy = *segment_ranges_recorder; }