Browse Source
Merge pull request #10648 from YevhenBondarenko/fix/clear-cache
added clear cache for upgrade from 3.6.4 to 3.7.0
pull/10650/head
Viacheslav Klimov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
5 additions and
1 deletions
-
application/src/main/java/org/thingsboard/server/service/install/update/DefaultCacheCleanupService.java
|
|
@ -55,7 +55,11 @@ public class DefaultCacheCleanupService implements CacheCleanupService { |
|
|
clearCacheByName(RESOURCE_INFO_CACHE); |
|
|
clearCacheByName(RESOURCE_INFO_CACHE); |
|
|
break; |
|
|
break; |
|
|
case "3.6.3": |
|
|
case "3.6.3": |
|
|
log.info("Clearing cache to upgrade from version 3.6.3 to 3.7.0"); |
|
|
log.info("Clearing cache to upgrade from version 3.6.3 to 3.6.4"); |
|
|
|
|
|
clearAll(); |
|
|
|
|
|
break; |
|
|
|
|
|
case "3.6.4": |
|
|
|
|
|
log.info("Clearing cache to upgrade from version 3.6.4 to 3.7.0"); |
|
|
clearAll(); |
|
|
clearAll(); |
|
|
break; |
|
|
break; |
|
|
default: |
|
|
default: |
|
|
|