flux-framework / flux-core

core services for the Flux resource management framework
GNU Lesser General Public License v3.0
159 stars 49 forks source link

sdexec: don't return ENODATA without start/finish #6033

Closed garlick closed 3 weeks ago

garlick commented 3 weeks ago

Problem: in an OOM situation, sdexec was observed to return ENODATA to an exec request without having sent started or finished responses, which violates RFC 42.

Fail with EINVAL and a detailed error response message if this happens.

Fixes #6012.

garlick commented 3 weeks ago

Thanks I'll set MWP.