Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 16, 2014
  1. @manolama

    Couple of deferred fixes for older Java compilers

    manolama authored
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  2. @manolama

    Add support for bulk deleting annotations via API. Users can supply a…

    manolama authored
    … list
    
    of TSUIDs and/or set a "global" flag along with a time range and any notes
    found in that range will be purged.
    Also add unit tests for the new annotation bulk delete range.
    
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  3. @manolama

    Fix Annotation.getGlobalAnnotations() to handle millisecond timestamp…

    manolama authored
    …s properly
    
    Add Annotation.deleteRange() to remove local or global annotations for a given
    time span.
    Fix Annotations to normalize timestamps on second boundaries to 2 bytes instead
    of 4 since we want to save space and avoid duplicates. This also allows all of
    the functions to accept timestamps in seconds or milliseconds.
    Add Annotation.timeFromQualifier() to parse the time from a qualifier given the
    base time found in the row key.
    Add a bunch of unit tests for the annotation range deletion and regular deletion
    as well as the timestamp normalization.
    
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Commits on Jan 15, 2014
  1. @manolama

    Move createAndSetTSUIDFilter() from TsdbQuery.java to Internal.java a…

    manolama authored
    …s it will be used by some other functions.
    
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Commits on Jan 14, 2014
  1. @manolama

    Add /api/annotation/bulk endpoint for bulk adding or updating of anno…

    manolama authored
    …tations
    
    Add parse and format serializer calls for the bulk annotations
    Add unit tests for bulk annotations
    
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  2. @manolama
Commits on Dec 30, 2013
  1. @manolama

    Add TestTextImporter class to the Makefile

    manolama authored
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  2. @manolama

    Modify IncomingDataPoints.addPointInternal() to accept millisecond ti…

    manolama authored
    …mestamps
    
    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>
  3. @manolama

    Fix exception message in IncomingDataPoints to note when a timestamp …

    manolama authored
    …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>
  4. @nickman @manolama

    #260: Fix for UIDMeta.getStorageJSON() which fails when custom is not…

    nickman authored manolama committed
    … null.
    
    Signed-off-by: unknown <clarsen@euphoriaaudio.com>
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  5. @nickman @manolama

    #259: TSDB.collectStats(StatsCollector) will relay collect stats to p…

    nickman authored manolama committed
    …lugin instances.
    
    Signed-off-by: unknown <clarsen@euphoriaaudio.com>
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  6. @manolama

    Cleanup pending assignment map removal in UniqueId.

    manolama authored
    Fix a possible bug in the race condition return logic where the wrong deferred
    was being returned.
    
    Signed-off-by: unknown <clarsen@euphoriaaudio.com>
Commits on Dec 3, 2013
  1. @manolama

    Fix unit tests from the write path async rollback.

    manolama authored
    Fix UniqueId to pass the actual runtime exception instead of recasting as a
    generic in getOrCreateId.
    
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  2. @manolama

    Fix a bug in the RowSeq state tracking where the values were still be…

    manolama authored
    …ing 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>
Commits on Nov 8, 2013
  1. @manolama

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

    manolama authored
    asynchronously.
    
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Commits on Oct 30, 2013
  1. @manolama

    Fix TestTSUIDQuery for MockBase with column family support

    manolama authored
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  2. @manolama

    Enable the UID fsck utility to fix errors in the UID table and create…

    manolama authored
    … a unit
    
    test file to confirm the fixes work.
    Add uid fsck "delete_unknown" flag to remove unknown columns
    
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  3. @manolama

    Add UniqueId.uidToLong() to convert a UID from a hex string or byte a…

    manolama authored
    …rray to
    
    the numeric value given the length of the UID for the proper type.
    
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  4. @manolama
  5. @manolama

    Fix scan --import output where data values were printed as an array o…

    manolama authored
    …f bytes
    
    instead of the actual values. Had inverted the value printing lines in the raw
    vs import methods. Closes #248
    
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  6. @manolama

    Fix "tsuid:null" output in stats call

    manolama authored
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  7. @manolama

    Add missing header in TestFsck.java

    manolama authored
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  8. @manolama

    Update unit tests to handle MockBase column families

    manolama authored
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  9. @manolama

    Update MockBase to support column families

    manolama authored
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Commits on Oct 29, 2013
  1. @manolama
Commits on Oct 28, 2013
  1. @benesch @tsuna

    Fix Debian init script

    benesch authored tsuna committed
      - Fix bash test syntax error
      - Properly test that TSD has started successfully
      - Pass appropriate exit code to log_action_end_msg if TSD fails to start
    
    Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Commits on Oct 27, 2013
  1. @tsuna

    Kill trailing whitespaces.

    tsuna authored
  2. @looztra @tsuna

    Provide a default value for os.name to avoid NPE in some cases.

    looztra authored tsuna committed
    Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Commits on Oct 23, 2013
  1. @tcolgate @tsuna

    Updates to debian init script

    tcolgate authored tsuna committed
     - support /etc/default/opentsdb
     - Add /usr/lib/default-java as a potential JDK path, this
       is commonly used as a symlink to the default jdk
    
    Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Commits on Oct 22, 2013
  1. @tsuna

    Remove extraneous space.

    tsuna authored
    This fixes #247.
Commits on Oct 16, 2013
  1. @tsuna

    Use `Cache-Control: max-age=0' instead of `no-cache'.

    tsuna authored
    Varnish ignores `no-cache', and since `max-age=0' works just as well
    for both Varnish and web browsers, and makes for simpler code, just
    use that instead.
  2. @tcolgate @tsuna

    Fix Debian package creation

    tcolgate authored tsuna committed
    create_table.sh needs to be copied into the package preparation
    directory.
    
    Signed-off-by: Benoit Sigoure <tsunanet@gmail.com>
Commits on Sep 30, 2013
  1. @manolama

    Partial fix for millisecond timestamps where more than 32,767 data po…

    manolama authored
    …ints
    
    were stored in a single RowSeq. Larry Reeder found this bug where an assertion
    was thrown because the short index rolled over. Changing it to an int will help
    but only allows up to 2.1M data points in a row whereas the schema allows 4M.
    TODO - figure out an efficient means of keeping the full 4M bytes in memory
    with quick access for iteration.
    
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
  2. @manolama

    Partial fix for millisecond timestamps where more than 32,767 data po…

    manolama authored
    …ints
    
    were stored in a single RowSeq. Larry Reeder found this bug where an assertion
    was thrown because the short index rolled over. Changing it to an int will help
    but only allows up to 2.1M data points in a row whereas the schema allows 4M.
    TODO - figure out an efficient means of keeping the full 4M bytes in memory
    with quick access for iteration.
    
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Commits on Sep 27, 2013
  1. @manolama

    Fix missing name field set call in UIDMeta when loading an object

    manolama authored
    Avoid CAS errors in UIDMeta by simply returning the original byte array
    Don't write the "name" or UID fields to storage for UIDMeta objects as the
    canonical name is stored in the uid -> name mapping column. Note that this may
    require a purge/resync for RC1 users.
    
    Signed-off-by: Chris Larsen <clarsen@euphoriaaudio.com>
Something went wrong with that request. Please try again.