Skip to content

Add more logs in ListenableFutureUtil #324

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

Merged
merged 2 commits into from
Jun 2, 2022
Merged

Conversation

junchuanwang
Copy link
Contributor

Two changes
(1) Add more logs in ListenableFutureUtil to understand the cancel sequence.
(2) when we call BaseTask.cancel(), we need to cancel "future.cancel" no matter what, therefore this statement better not to be short-circuited.

@junchuanwang junchuanwang requested review from cgtz and mchen07 June 2, 2022 22:30
Copy link

@cgtz cgtz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@junchuanwang junchuanwang merged commit 1624b8d into master Jun 2, 2022
@junchuanwang junchuanwang deleted the add_log_listanbleFuture branch June 2, 2022 22:36
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.

2 participants