Open mbranden opened 11 years ago
The test applies only to a single time series (remember a time series is uniquely defined by a metric name and a set of tags).
This check here is intentional, because importing data in-order allows for various optimizations, which are especially important for batch imports. Is it OK for you to keep sorting the data before you batch-import it?
Hi @mbranden If your question has been answered, could you please close this issue ?
thanks :)
My workflow for feeding opentsdb involves off-line processing of numerous log files and generating a single stream of importable data for 'tsdb import'. This data may not be ordered in time and this results in an exception being thrown out of addPointInternal():
I haven't looked at this closely to see if this test is restricted to a single time sequence or if it has wider scope.
I'm dealing with this by simply sorting the unified stream before importing. So this may be taken as a bug, a feature request or just a documentation request for a works-as-intended test.