Closed kohlisid closed 5 months ago
Attention: Patch coverage is 90.60403%
with 14 lines
in your changes are missing coverage. Please review.
Project coverage is 94.65%. Comparing base (
cb37054
) to head (0f0daec
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What is the status of this PR? is it ready for review?
Requirement On any exception received in the user code or the execution make the UDF container restart.
Use Case
Flow For all UDF types apart from Reduce, Reducestreamer we do not expect the Numa container to crash when the UDF container crashes.
For Reduce/Reduce streamer UDF crashes due to error -> signals numa to panic -> both restart -> replay of records
For others UDF crashes due to error -> signals error to numa -> UDF restarts -> replay of message due to infinite retry
Testing
Testing logs UDF container logs
Numa Container logs
TODOs Done: 1) Multiproc restart will work after #161 2) Reduce sends context cancelled on restart which doesn't make the numa container restart as it retries directly on that error. 3) Async reduce error Unit test cases terminating even after mocking the method