-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#25 As suggested, the fix was to separate `mgr.n` into two fields to reflect the two competing jobs it was trying to perform. (Tracking the number of generation 0 chunks on one hand, for the purpose of determing whether to remove a stream from `mgr.pq`; and tracking the total number of known chunks for the stream, for the purpose of knowing whether the chunk is EOF.) In implementing this commit, I realized that `mgr.n` was incorrectly listed in the "immutable" section of `type mgr struct`, so that has also been fixed. This incorrect placement would have occurred stealthily during implementation of dynamic chunk splitting.
- Loading branch information
Showing
3 changed files
with
9 additions
and
7 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
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