Fix master failed case && fix a corretness problem

This commit is contained in:
qianchanger
2022-11-21 12:35:53 +00:00
committed by wangzelin.wzl
parent 796ac0fd53
commit fdf88c9dc9

View File

@ -88,6 +88,7 @@ public:
void reset_eof_cnt() { eof_channel_cnt_ = 0; }
void inc_eof_cnt() { eof_channel_cnt_ += 1; }
int64_t get_eof_cnt() { return eof_channel_cnt_; }
bool all_eof(const int64_t data_channel_cnt) const
{
return eof_channel_cnt_ >= data_channel_cnt;
@ -190,6 +191,7 @@ OB_INLINE void ObDtlChannelLoop::reset()
first_data_get_ = false;
sentinel_node_.prev_link_ = &sentinel_node_;
sentinel_node_.next_link_ = &sentinel_node_;
eof_channel_cnt_ = 0;
}
OB_INLINE ObDtlChannelLoop &ObDtlChannelLoop::register_processor(Proc &proc)