Fix cassandra timeseries dao install mode
This commit is contained in:
parent
aee7e09cab
commit
e97edd61f2
@ -108,6 +108,7 @@ public class CassandraBaseTimeseriesDao extends AbstractCassandraBaseTimeseriesD
|
||||
super.startExecutor();
|
||||
if (!isInstall()) {
|
||||
getFetchStmt(Aggregation.NONE, DESC_ORDER);
|
||||
}
|
||||
Optional<NoSqlTsPartitionDate> partition = NoSqlTsPartitionDate.parse(partitioning);
|
||||
if (partition.isPresent()) {
|
||||
tsFormat = partition.get();
|
||||
@ -116,7 +117,6 @@ public class CassandraBaseTimeseriesDao extends AbstractCassandraBaseTimeseriesD
|
||||
throw new RuntimeException("Failed to parse partitioning property: " + partitioning + "!");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@PreDestroy
|
||||
public void stop() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user