Fix error that init dtl first buffer
This commit is contained in:
@ -59,7 +59,7 @@ int ObDtlLocalFirstBufferCache::init(int64_t bucket_num, int64_t concurrent_cnt)
|
|||||||
bucket_num = CHANNEL_HASH_BUCKET_NUM;
|
bucket_num = CHANNEL_HASH_BUCKET_NUM;
|
||||||
LOG_DEBUG("unexepct bucket number", K(bucket_num), K(concurrent_cnt));
|
LOG_DEBUG("unexepct bucket number", K(bucket_num), K(concurrent_cnt));
|
||||||
}
|
}
|
||||||
if (0 >= bucket_num || MAX_BITSET_CNT < bucket_num) {
|
if (0 >= bitset_cnt_ || MAX_BITSET_CNT < bitset_cnt_) {
|
||||||
bitset_cnt_ = MAX_BITSET_CNT;
|
bitset_cnt_ = MAX_BITSET_CNT;
|
||||||
LOG_DEBUG("unexepct bucket number", K(bucket_num), K(concurrent_cnt));
|
LOG_DEBUG("unexepct bucket number", K(bucket_num), K(concurrent_cnt));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user