Attempt to rollback part of the UID assignment code that was re-written
asynchronously.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix a bug in the RowSeq state tracking where the values were still being cast
to an int but needed to be cast to a long to hold two ints instead of two
shorts. This should now allow for rows with more than 32K data points.
Cleanup some comments and code
Add some unit tests for Internal functions to validate > 32K data points.
Add some unit tests to validate parsing data points at the end of an hour in
seconds and milliseconds for Internal functions.
Add unit tests to make sure we handle rows with > 32K data points properly.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix unit tests from the write path async rollback.
Fix UniqueId to pass the actual runtime exception instead of recasting as a
generic in getOrCreateId.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Cleanup pending assignment map removal in UniqueId.
Fix a possible bug in the race condition return logic where the wrong deferred
was being returned.

Signed-off-by: unknown <clarsen@euphoriaaudio.com>
#259: TSDB.collectStats(StatsCollector) will relay collect stats to plugin instances.

Signed-off-by: unknown <clarsen@euphoriaaudio.com>
Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
#260: Fix for UIDMeta.getStorageJSON() which fails when custom is not null.

Signed-off-by: unknown <clarsen@euphoriaaudio.com>
Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Fix exception message in IncomingDataPoints to note when a timestamp is equal
to the last stamp instead of less than.
Add TestTextImporter.java class with TextImporter unit tests in preparation
of fixing the importer to accept millisecond timestamps.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Modify IncomingDataPoints.addPointInternal() to accept millisecond timestamps
so users can bulk import data. Also disabled the data point tracking code that
was meant for pre-compacting data during imports. That can be added later.
Modify IncomingDataPoints.addPoint() to support variable length integers
instead of forcing everything to 8 bytes.
Modify the Text Importer unit tests to validate the variable length and
millisecond timestamps.

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Add TestTextImporter class to the Makefile

Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Merge branch 'next' into next_lastdp