grailbio / reflow

A language and runtime for distributed, incremental data processing in the cloud
Apache License 2.0
965 stars 52 forks source link

reflow/flow: Return reserved resources in Flow.ExecConfig #115

Closed demetrin closed 4 years ago

demetrin commented 4 years ago

Currently, Flow.ExecConfig returns f.Resources for an Exec's Execonfig. Since resources are reserved before running an exec and the flow's reserved resources can change if its corresponding task OOMs, changing ExecConfig to reflect this allows it to always return the most up-to-date resources for an Exec.

demetrin commented 4 years ago

This change was done internally.