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

Ensure chunk filler goes to sleep when active operations do not have any data #400

Open
pnarayanan opened this issue Jul 16, 2016 · 0 comments

Comments

@pnarayanan
Copy link
Contributor

Currently PutManager ChunkFiller goes into WAITING when there are no active operations (when there are no running operations that have started getting any data from the channel).

This can be improved so that the chunk filler goes to sleep when data stops arriving after it starts to arrive. This can get a little tricky and involved as we need to ensure that chunk filler gets notified in all the paths. For example, if data arrives and there are no chunks available to be filled, then when chunks eventually become available, the chunk filler should be notified.

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

No branches or pull requests

1 participant