Hey,
Once we got #2588 in, we added support for GCing when there's a mismatch between what is in the worker and what is in the DB when
- DB has containers/volumes that a worker doesn't have,
But we don't do the other "side" of the diff:
- a worker having containers/volumes that the DB doesn't have.
This means that if worker-0, for some reason, has volumes that the DB doesn't have, those volumes will never be cleaned up unless someone manually discovers that diff and performs the removals.
A scenario where this could occur:
- the user takes backup of the DB at
t0,
- time goes on ... the worker has some volumes at
t1,
- DB gets restored to
t0,
- the worker will forever have the extra volumes there.
Do you think this could have repercussions in the way we create containers/volumes? E.g., in the case of ephemeral check containers?
Thanks!
Hey,
Once we got #2588 in, we added support for GCing when there's a mismatch between what is in the worker and what is in the DB when
But we don't do the other "side" of the diff:
This means that if
worker-0, for some reason, has volumes that the DB doesn't have, those volumes will never be cleaned up unless someone manually discovers that diff and performs the removals.A scenario where this could occur:
t0,t1,t0,Do you think this could have repercussions in the way we create containers/volumes? E.g., in the case of ephemeral check containers?
Thanks!