Search code examples
sentry

Is it safe to run `sentry upgrade –noinput` every time Sentry is restarted?


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?


Solution

  • Sentry's core developer Matt Robenolt gave the answer:

    Yes, it is perfectly safe and idempotent.