Commit 19e32dd645a3e21858095755603439620c6cec78
1 parent
7e0871d5
Fix cassandra database upgrade service.
Showing
1 changed file
with
2 additions
and
0 deletions
@@ -66,6 +66,8 @@ public class CassandraDatabaseUpgradeService implements DatabaseUpgradeService { | @@ -66,6 +66,8 @@ public class CassandraDatabaseUpgradeService implements DatabaseUpgradeService { | ||
66 | 66 | ||
67 | //Dump devices, assets and relations | 67 | //Dump devices, assets and relations |
68 | 68 | ||
69 | + cluster.getSession(); | ||
70 | + | ||
69 | KeyspaceMetadata ks = cluster.getCluster().getMetadata().getKeyspace(cluster.getKeyspaceName()); | 71 | KeyspaceMetadata ks = cluster.getCluster().getMetadata().getKeyspace(cluster.getKeyspaceName()); |
70 | 72 | ||
71 | log.info("Dumping devices ..."); | 73 | log.info("Dumping devices ..."); |