8000 [Bugfix] Destroy operator when run finishes by pschafhalter · Pull Request #152 · erdos-project/erdos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Bugfix] Destroy operator when run finishes #152

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 1 commit into from
Mar 11, 2021

Conversation

pschafhalter
Copy link
Member

Fixes a bug in operators with no input streams where destroy() would not be invoked after run() finishes.

Note: although destroy() will be invoked, top watermarks are not automatically sent on output streams.

Copy link
Contributor
@ICGog ICGog left a comment

Choose a reason for hiding this comment

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

LGTM

@ICGog ICGog merged commit 3bd2f92 into erdos-project:master Mar 11, 2021
@pschafhalter pschafhalter deleted the fix-destroy branch March 11, 2021 23:07
sukritkalra added a commit that referenced this pull request Jan 26, 2022
* Invoke destroy when sources finish running (#152)

* Rust linq operators

* reordered imports

* removing unused imports

* Delete operator_executor.rs

* cleaning up traits and renaming files

* more format cleanup

* changes after review

* fixed operator names

* cleaned up comment

* Use where clauses for types and fix imports in linq.rs

* Fix SourceOp in linq.rs to take in OperatorConfig

Co-authored-by: Peter Schafhalter <pschafhalter@berkeley.edu>
Co-authored-by: Sukrit Kalra <sukritkalra@gmail.com>
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
0