You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Per-team worker base resource type volumes outlive their team #1708
The WATs create a fresh team for every test and then destroy it at the end. It looks like the volumes for the base resource types never go away, even when the team_id column is NULL.
If team_id is ever NULL, I think we should GC the volume. We don't share any type of volume across teams, even resource caches, so there's no case where we'd want to keep it.
@topherbullock It's been a while, so do you know if this is still the case? I think this would be low-hanging fruit to fix, so if we've got the bandwidth for it it'd be nice to clean up this tech debt.
Ran through creating a team with a pipeline which uses base resources, and they do get GC'd eventually.
I did observe a lot of "volume cannot be destroyed as children are present" messages relating to the base resource type volume, so this might be a place to improve. We could potentially do some ordering of the volumes (and containers) to delete, so that we remove the deepest children first.
Activity
vito commentedon Jun 28, 2018
@topherbullock It's been a while, so do you know if this is still the case? I think this would be low-hanging fruit to fix, so if we've got the bandwidth for it it'd be nice to clean up this tech debt.
topherbullock commentedon Jun 28, 2018
@vito
No idea. We should validate whether this is still the case.. dragging it up the backlog.
topherbullock commentedon Jul 25, 2018
Ran through creating a team with a pipeline which uses base resources, and they do get GC'd eventually.
I did observe a lot of
"volume cannot be destroyed as children are present"messages relating to the base resource type volume, so this might be a place to improve. We could potentially do some ordering of the volumes (and containers) to delete, so that we remove the deepest children first.vito commentedon Jul 25, 2018
I think this may have actually been fixed by vmware-archive/atc@25cac08 as part of #2168.
bump etree tsa handlers mux clockwork goxmldsig genproto grpc