Improve upgrade from 3.4.1 to clear assets and repositorySettings cache

This commit is contained in:
Igor Kulikov 2022-11-09 17:43:47 +02:00
parent 08534d68c5
commit 1b5d988d71

View File

@ -73,6 +73,11 @@ public class DefaultCacheCleanupService implements CacheCleanupService {
log.info("Clear cache to upgrade from version 3.3.4 to 3.4.0 ...");
clearAll();
break;
case "3.4.1":
log.info("Clear cache to upgrade from version 3.4.1 to 3.4.2 ...");
clearCacheByName("assets");
clearCacheByName("repositorySettings");
break;
default:
//Do nothing, since cache cleanup is optional.
}