diff options
author | Geir Storli <geirst@yahooinc.com> | 2022-10-12 13:03:52 +0000 |
---|---|---|
committer | Geir Storli <geirst@yahooinc.com> | 2022-10-12 13:38:37 +0000 |
commit | 462073020110f8343553cdbc1d5e264c67942c7d (patch) | |
tree | 1e3b6603c4b45fd3b06e5067b18d76f1c0d4f87e /searchlib/src/tests/tensor/hnsw_index/stress_hnsw_mt.cpp | |
parent | 06f895593abd5bf49ba181e697bf3a1c68fb870a (diff) |
Rename trimHoldLists() -> reclaim_memory().
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.cpp | 2 |
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); |