mirror of https://github.com/zulip/zulip.git
upgrade: Drop unnecessary memcached restart.
The contents in the database are unchanged across the PostgreSQL restart; as such, there is no reason to invalidate the caches. This step was inherited from the general operating system upgrade documentation. When Python versions change, such as during OS upgrades, we must ensure that memcached is cleared. However, the `do-release-upgrade` process uninstalled and upgraded to a new memcached, as well as likely restarted the system; a separate step for OS upgrades to restart memcached is thus unnecessary.
This commit is contained in:
parent
0502b7a8d5
commit
47400cd04b
|
@ -50,8 +50,6 @@ crudini --set /etc/zulip/zulip.conf postgresql version "$UPGRADE_TO"
|
|||
|
||||
"$ZULIP_PATH"/scripts/zulip-puppet-apply -f
|
||||
|
||||
service memcached restart
|
||||
|
||||
pg_dropcluster "$UPGRADE_FROM" main
|
||||
apt remove -y "postgresql-$UPGRADE_FROM"
|
||||
if [ -n "$SCRIPTS_PATH" ]; then
|
||||
|
|
Loading…
Reference in New Issue