Hi, I was wondering, is there a recommended way to...
# ask-community
v
Hi, I was wondering, is there a recommended way to delete run history for runs older than say, 1 month? The same for sensor and schedule evaluations and asset materializations. I suppose that this is a way to wipe old run records. Is there an analagous way to wipe old sensor and schedule ticks?
c
There isn’t, but it’s reasonable to add something like that. Mind filing an issue?
v
Will do, thank you
I created a job that wipes old runs as in the linked discussion. The job run succeeds but there's an error logged
OSError: [WinError 6] The handle is invalid
. After a google search, it seems that this error is related to multiprocessing. Do you know what may be the problem? I checked the
storage
folder in
$DAGSTER_HOME
, and it seems like all of the information about old runs was not wiped.