How to realize non-stop upgrade of sentry in production Environment

the company wants to try sentry as the log management system. I have successfully deployed it with docker according to the documentation, ran it at the same time, and forwarded it using nginx. But one thing I haven"t figured out is how to ensure that sentry can be upgraded normally without affecting client error reporting.

my deployment environment is ubuntu+nginx+sentry.. I have been on Baidu and Google for a long time, but I haven"t seen any articles about upgrading. The official website also did not find a safe way to upgrade, all downtime upgrade.

could you tell me how to solve this?

Oct.14,2021

the general project downtime upgrade has little impact. If you must upgrade without downtime, I will give you a reference:
1. Make sure your sentry is deployed on CVM , and even the database is cloud database.
2. Mirror sentry , pop up a sentry , remove the running sentry, from the load balancer and upgrade it, and test the ok, to switch to this one.


sentry upgrade requires changes to database tables, so there is no way to upgrade without downtime.
needs to be upgraded by executing the sentry ugprade command.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b38399-41139.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b38399-41139.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?