https://dagster.io/ logo
#ask-community
Title
# ask-community
v

Vasco Villas-Boas

07/13/2023, 2:21 PM
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

chris

07/13/2023, 4:13 PM
There isn’t, but it’s reasonable to add something like that. Mind filing an issue?
v

Vasco Villas-Boas

07/13/2023, 4:22 PM
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.
8 Views