Skip to content

Commit

Permalink
Place case 'edge' in TbInstallService to the bottom to make it clear,…
Browse files Browse the repository at this point in the history
… that we have to leave it after case version
  • Loading branch information
AndriiLandiak committed Jan 8, 2024
1 parent 875166a commit 28f5a9c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -280,13 +280,10 @@ public void performInstall() {
log.info("Skipping images migration. Run the upgrade with fromVersion as '3.6.2-images' to migrate");
}
//TODO DON'T FORGET to update switch statement in the CacheCleanupService if you need to clear the cache

case "edge": // leave this after latest case version
// reset full sync required - to upload the latest widgets from cloud
// fromVersion must be updated per release
// DefaultDataUpdateService must be updated as well
// tenantsFullSyncRequiredUpdater and fixDuplicateSystemWidgetsBundles moved to 'edge' version
dataUpdateService.updateData("edge");

break;
default:
throw new RuntimeException("Unable to upgrade ThingsBoard Edge, unsupported fromVersion: " + upgradeFromVersion);
Expand Down

0 comments on commit 28f5a9c

Please sign in to comment.