m

    Marwan Sarieddine

    10 months ago
    Hi folks - is it possible to restart a flow run but with a different context or run config ?
    The use case is we specify our resource requirements (memory and cpu) via the flow’s context. Our flow run failed due to OOM error, so would like to re-run it but supply it with more resources by updating our context …
    Kevin Kho

    Kevin Kho

    10 months ago
    Hey @Marwan Sarieddine, I don’t think so because restarts will use the same context. Maybe you could use caching though to preserve the old run results when you kick off a new flow run?
    m

    Marwan Sarieddine

    10 months ago
    Hi @Kevin Kho thank you for your quick response I see - yes having caching enabled would have resolved this I suppose …
    So there is no way to run a flow with an old flow run’s results without caching right ?
    it sort of places a bit of a constraint - i.e. if the cache gets invalidated one can’t really do much to recover a failure
    Kevin Kho

    Kevin Kho

    10 months ago
    You can make a temporary flow run and set the
    target
    for the file so that it would check for the existence of that file and then load the data
    m

    Marwan Sarieddine

    10 months ago
    right