-
Notifications
You must be signed in to change notification settings - Fork 120
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
UDSink receives one unexpected message during shutdown #2285
Comments
Same behaviour observed with Go SDK - v0.9.0. |
could be a regression due to streaming gRPC, do you see this with 1.3.3? |
monovertex doesn't have such issue. |
@KeranYang - I believe this issue also happens in v1.3.3 (reproduced it). But it's not caused by WMB but the generator clean shutdown problem, it always generates lots of empty messages at the time being shut down, and one of them is propagated to the downstream (dedup). There are some small things can be improved. #2288 |
@whynowy Thanks for looking into this issue! It explains why mvtx doesn't have this issue - I used an udsource to test. Not sure why I didn't see it when I use https://github.com/numaproj/numaflow/blob/release-1.3/config/install.yaml to deploy numaflow. I assumed it's v1.3.3. Maybe it's transient. |
Describe the bug
I have a testing pipeline
generator -> cat -> java udsink
. I killed the pipeline usingkubectl delete -f
and at sink, I observed this message being received.id: cat-49-0-0, value: [], header: {}, eventtime: 2024-12-13T18:41:39.424879807Z, watermark: 0001-01-01T00Z
.We should never expose to UDFs messages that are not produced by previous vertices.
To Reproduce
Steps to reproduce the behavior:
Numaflow Version: 1.4.0+
Java SDK Version: 0.9.0
Use the following pipeline spec. run
kubectl delete -f
.See the last message being printed out:
Message from the maintainers:
Impacted by this bug? Give it a 👍. We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: