Remove pthread defend for set in filter IN pushdown scenario

This commit is contained in:
XIAO-HOU
2024-07-24 08:51:43 +00:00
committed by ob-robot
parent b0126f2a2d
commit bd8de495d9

View File

@ -366,7 +366,7 @@ public:
CHECK_USE_HASHSET_FOR_IN_OP(filter_val_cnt, row_count);
if (use_hash_set) {
common::hash::ObHashSet<ValDataType> datums_val;
common::hash::ObHashSet<ValDataType, common::hash::NoPthreadDefendMode> datums_val;
if (OB_FAIL(datums_val.create(filter_val_cnt))) {
STORAGE_LOG(WARN, "fail to create hashset", KR(ret), K(filter_val_cnt));
}
@ -440,7 +440,7 @@ public:
CHECK_USE_HASHSET_FOR_IN_OP(filter_val_cnt, row_count);
if (use_hash_set) {
common::hash::ObHashSet<uint64_t> datums_val;
common::hash::ObHashSet<uint64_t, common::hash::NoPthreadDefendMode> datums_val;
if (OB_FAIL(datums_val.create(filter_val_cnt))) {
STORAGE_LOG(WARN, "fail to create hash set", KR(ret), K(filter_val_cnt));
}