Commit aa7752e94288256d0370072975cf1457f2b0de89

Authored by ShvaykaD
Committed by Andrew Shvayka
1 parent b418b08d

fix typo

@@ -121,6 +121,8 @@ public class JpaPsqlTimeseriesDao extends AbstractChunkedAggregationTimeseriesDa @@ -121,6 +121,8 @@ public class JpaPsqlTimeseriesDao extends AbstractChunkedAggregationTimeseriesDa
121 if (ex.getCause() instanceof ConstraintViolationException) { 121 if (ex.getCause() instanceof ConstraintViolationException) {
122 log.warn("Saving partition [{}] rejected. Timeseries data will save to the ts_kv_indefinite (DEFAULT) partition.", psqlPartition.getPartitionDate()); 122 log.warn("Saving partition [{}] rejected. Timeseries data will save to the ts_kv_indefinite (DEFAULT) partition.", psqlPartition.getPartitionDate());
123 partitions.put(psqlPartition.getStart(), psqlPartition); 123 partitions.put(psqlPartition.getStart(), psqlPartition);
  124 + } else {
  125 + throw new RuntimeException(ex);
124 } 126 }
125 } finally { 127 } finally {
126 partitionCreationLock.unlock(); 128 partitionCreationLock.unlock();