Closed lfse-slafleur closed 7 months ago
Unsure if necessary at the moment. Currently all work for orchestrator is kept in durable queues and no info needs to be saved. Perhaps we do not need postgresql for this purpose.
Necessary for cancel and timeout functionalities.
Please take care of ordering: Any handler in the orchestrator that processes an AMQP message will acknowledge that message the moment the function returns. The handler should only succeed and acknowledge the message once any postgresql transactions have completed. If this invariant is broken, we will lose work/state in edge-case situations.