In the context of running Sentry in OpenShift/Kubernetes and automating the upgrade process I'm considering running sentry upgrade --noinput
every time the pod is recreated (before running sentry run web
). Is this safe? In other words, are repeated runs of sentry upgrade --noinput
completely passive and harmless when no version change has taken place?
Sentry's core developer Matt Robenolt gave the answer:
Yes, it is perfectly safe and idempotent.