Skip to content

Release candidate 3 for OpenTSDB 2.0.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@manolama manolama released this 25 Apr 17:37
· 995 commits to next since this release
Fix incorrect downsampling unit

The bug incorrectly assumed the downsampling unit was second while computing
start and end time of HBase scan.
- Fixed the math.
- Suffixed the field name with _ms.
- Added unit tests to address the bug.
  * downsample and downsampleMilliseconds.
- Added a nested helper class for unit tests to access private methods.
- Factored out the unit tests related to downsampling from the huge
  TestTsdbQuery.java. It was too big for Eclipse to run.

Signed-off-by: Chris Larsen <[email protected]>