Skip to content
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

Merged
merged 11 commits into from
Feb 18, 2022
Merged

[BUGFIX]Transfer test fix #23

merged 11 commits into from
Feb 18, 2022

Conversation

ashione
Copy link
Member

@ashione ashione commented Feb 18, 2022

Mock transfer multiple channel consumed test will fail to filter empty message.

@ashione ashione merged commit 3f34341 into master Feb 18, 2022
@jovany-wang jovany-wang deleted the transfer-test-fix branch February 18, 2022 08:01

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.
Copy link
Collaborator

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;
Copy link
Collaborator

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;

Copy link
Collaborator

@chunyang-wen chunyang-wen left a 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

@ashione
Copy link
Member Author

ashione commented Feb 18, 2022

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.

ashione added a commit that referenced this pull request Feb 21, 2022
* 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants