-
Notifications
You must be signed in to change notification settings - Fork 3
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
There is no way to detect that a given stream has finished. #68
Comments
Note that currently there might still be notifications left after removing the listener. Tangentially related to #68.
* fix: BigInteger deserialization was throwing by-ref errors * fix: Add a PerperNameMapper to fix #67 * fix: Consume notification when breaking in await foreach of Stream Note that currently there might still be notifications left after removing the listener. Tangentially related to #68. * fix: Regression with root null values from NameMapper changes * fix: Fix "pairing" of notifications in Fabric Previously, Fabric sent notifications in pairs if there was sufficient delay between the notifications, due to Ignite processing the local queries for the cache before we could write to the queue. Note that this commit introduces a potential race condition if Fabric reads the queued notification, sends that to the runtime, and the runtime tries to read the notification, all before we can write it to the cache. * chore: prepare for merge Co-authored-by: Bojidar Marinov <[email protected]>
This should be possible since 884a80a as Streams now have an underlying Execution which is marked as finished whenever they finish, however care must be taken when implementing as we still want to read the last few items before stopping the enumeration. A few possible implementations
|
The foreach will iterate through the numbers from 0 to 10 and it will freeze
The text was updated successfully, but these errors were encountered: