-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUGFIX]Transfer test fix #23
Conversation
…control Conflicts: streaming/src/channel/channel.cc streaming/src/test/mock_transfer_tests.cc
Co-authored-by: Qing Wang <[email protected]>
…obius into empty-message-flow-control
|
||
transfer_config_->Set(ConfigEnum::QUEUE_ID_VECTOR, input_ids); | ||
|
||
last_fetched_queue_item_ = nullptr; | ||
timer_interval_ = timer_interval; | ||
last_message_ts_ = 0; | ||
// NOTE(lingxuan.zlx): Last recived message timestamp is marked in current system time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
@@ -33,13 +33,15 @@ void DataReader::Init(const std::vector<ObjectID> &input_ids, | |||
void DataReader::Init(const std::vector<ObjectID> &input_ids, | |||
const std::vector<ChannelCreationParameter> &init_params, | |||
int64_t timer_interval) { | |||
STREAMING_LOG(INFO) << input_ids.size() << " queue to init."; | |||
STREAMING_LOG(INFO) << "Reader " << input_ids.size() | |||
<< " queue to init, timer interval " << timer_interval; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add =
here to make it make understandable?
"Reader, input id size =" << input_ids.size() << "xxxx timer interval = " << timer_interval;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo and other suggestions
Sorry for this comments. you might point out what we can change these in next PR. This pr is planning to fix this previous ci failures. |
* Flowcontrol on empty messages * mock queue empty message flow control * Update streaming/src/channel/channel.h Co-authored-by: Qing Wang <[email protected]> * convert -1 to uint64_t max * timer interval init * data reader timeout setting * fix empty message emit Co-authored-by: ashione <[email protected]> Co-authored-by: Qing Wang <[email protected]>
Mock transfer multiple channel consumed test will fail to filter empty message.