summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp')
-rw-r--r--searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp b/searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp
index 428e6654039..47812c2a63c 100644
--- a/searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp
+++ b/searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp
@@ -270,7 +270,7 @@ public:
index->assign_generation(gen_handler.getCurrentGeneration());
gen_handler.incGeneration();
gen_handler.update_oldest_used_generation();
- index->trim_hold_lists(gen_handler.get_oldest_used_generation());
+ index->reclaim_memory(gen_handler.get_oldest_used_generation());
std::lock_guard<std::mutex> guard(in_progress_lock);
in_progress->clearBit(docid);
// printf("commit: %u\n", docid);