Skip to content

Commit

Permalink
fix:miss wait thread tasks finish in diskann. (#380)
Browse files Browse the repository at this point in the history
Signed-off-by: cqy123456 <[email protected]>
  • Loading branch information
cqy123456 committed Feb 4, 2024
1 parent 097693c commit 861ee91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thirdparty/DiskANN/src/partition_and_pq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ int generate_pq_data_from_pivots(const std::string data_file,
}
}));
}
knowhere::WaitAllSuccess(futures);

futures.clear();
futures.reserve(num_pq_chunks);
Expand Down

0 comments on commit 861ee91

Please sign in to comment.