CassandraBaseTimeseriesDao init method fix (revert)
This commit is contained in:
parent
4d4d189816
commit
70f9da07d8
@ -116,6 +116,7 @@ public class CassandraBaseTimeseriesDao extends AbstractCassandraBaseTimeseriesD
|
|||||||
super.startExecutor();
|
super.startExecutor();
|
||||||
if (!isInstall()) {
|
if (!isInstall()) {
|
||||||
getFetchStmt(Aggregation.NONE, DESC_ORDER);
|
getFetchStmt(Aggregation.NONE, DESC_ORDER);
|
||||||
|
}
|
||||||
Optional<NoSqlTsPartitionDate> partition = NoSqlTsPartitionDate.parse(partitioning);
|
Optional<NoSqlTsPartitionDate> partition = NoSqlTsPartitionDate.parse(partitioning);
|
||||||
if (partition.isPresent()) {
|
if (partition.isPresent()) {
|
||||||
tsFormat = partition.get();
|
tsFormat = partition.get();
|
||||||
@ -127,7 +128,6 @@ public class CassandraBaseTimeseriesDao extends AbstractCassandraBaseTimeseriesD
|
|||||||
throw new RuntimeException("Failed to parse partitioning property: " + partitioning + "!");
|
throw new RuntimeException("Failed to parse partitioning property: " + partitioning + "!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@PreDestroy
|
@PreDestroy
|
||||||
public void stop() {
|
public void stop() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user