-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid writer EOF until fast store complete (#480)
Currently we send the EOF to the fast store and the requester at the same time. The bytestream_server drops the get_part future as soon as it receives the EOF which means that the fast store doesn't get time to sync and populate. This is resolved by only sending the EOF to the requestor in the fast_slow_store once all of the futures have completed. The alternative is to spawn for the fast store or to complete the get_part future in bytestream_server, but this seems like the least heavy weight solution which doesn't require thought by the user.
- Loading branch information
1 parent
f2bd770
commit 2de8867
Showing
2 changed files
with
156 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters