https://flyte.org logo
#flytekit
Title
# flytekit
e

Edgar Trujillo

09/16/2022, 1:30 PM
Hey everyone, Is it possible to update the outputs of a cache-enabled task that was
Aborted
due to another task's
Failure
?
d

Dan Rammer (hamersaw)

09/16/2022, 1:58 PM
Hey @Edgar Trujillo, if the task was aborted before completion then the outputs should never be written to the cache. Are you seeing something different?
e

Edgar Trujillo

09/16/2022, 2:01 PM
No you are right, was just wondering if there was a way to "set" the output for that task manually
d

Dan Rammer (hamersaw)

09/16/2022, 2:05 PM
Oh OK. So yeah, there is no way to manually set the cached output (well, no easy way without writing to the DB, etc). There is community driven effort to support cache overriding, so that you can start a workflow and all of the cached tasks will override the existing values in the cache. This is useful when caches are corrupted, etc then you don't have to update the
cache_version
, reregister, etc.
26 Views