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:
Alex Vandiver 2020-07-10 07:54:24 +00:00 committed by Tim Abbott
parent 0502b7a8d5
commit 47400cd04b
1 changed files with 0 additions and 2 deletions

View File

@ -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