mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
fix: revert ska::flat_hash_set to std::unordered_set to address an un… (#43428)
issue: #43388 Signed-off-by: Shawn Wang <shawn.wang@zilliz.com>
This commit is contained in:
parent
e9fc140eaf
commit
81694739ef
@ -19,7 +19,6 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include <flat_hash_map/flat_hash_map.hpp>
|
||||
#include <folly/futures/Future.h>
|
||||
#include <folly/futures/SharedPromise.h>
|
||||
#include <folly/Synchronized.h>
|
||||
@ -111,7 +110,7 @@ class CacheSlot final : public std::enable_shared_from_this<CacheSlot<CellT>> {
|
||||
-> std::shared_ptr<
|
||||
CellAccessor<CellT>> {
|
||||
auto count = std::min(uids.size(), cells_.size());
|
||||
ska::flat_hash_set<cid_t> involved_cids;
|
||||
std::unordered_set<cid_t> involved_cids;
|
||||
involved_cids.reserve(count);
|
||||
switch (cell_id_mapping_mode_) {
|
||||
case CellIdMappingMode::IDENTICAL: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user