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:
sparknack 2025-07-21 17:39:40 +08:00 committed by GitHub
parent e9fc140eaf
commit 81694739ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: {