Commit Graph

1199 Commits (627cd9d486b98af01f02f0915319185a81b46c87)

Author SHA1 Message Date
Edd Robinson cfbb219e49 Fixes #5545 2016-02-09 18:41:26 +00:00
Nic Grayson 87deeb6348 fixed grammar/typos in collectd section of docs 2016-02-09 10:32:43 -06:00
Nic Grayson 3a12b2e392 fixed grammar/typos in collectd section of docs 2016-02-09 10:31:57 -06:00
Jason Wilder aacacbc4c3 Update changelog
[ci skip]
2016-02-09 09:25:09 -07:00
Jason Wilder efc5de0bf4 Update changelog
[ci skip]
2016-02-09 09:19:49 -07:00
Edd Robinson 142ff668c8 Merge pull request #5550 from gabelev/lint_engine_wal
Enable `golint` on the tsdb/engine/wal
2016-02-09 15:54:12 +00:00
Gabriel Levine 7d4217ab97 enabled golint for tsdb/engine/wal.go and wal_test.go and updated changelog. 2016-02-09 10:29:09 -05:00
Tait Clarridge 63ff0ca488 Fix for lease redirect
Previously, the lease redirect was invalid causing anything relying
on a lease for execution (eg. continuous queries) to cease functioning.

The name/nodeid URL param parsing has been moved up to the top of the
handler so the options can be forwarded on to the real leader.

X-Github-Closes: #5592
2016-02-09 09:48:19 -05:00
Jason Wilder a9552fdd91 Merge pull request #5565 from tpitale/configure-udp-precision
Configurable precision on UDP services
2016-02-08 15:20:55 -07:00
Tony Pitale f76569c536 update changelog 2016-02-08 16:03:26 -06:00
Jason Wilder 7d03cd859e Update changelog
[ci skip]
2016-02-08 12:54:05 -07:00
Jason Wilder dc74bb53d0 Merge pull request #4299 from arussellsaw/feature/client-reject-uint64
Reject uint64 Client.Point.Field values
2016-02-08 12:52:17 -07:00
Jason Wilder 119ba299b9 Update changelog
[ci skip]
2016-02-08 12:19:36 -07:00
Jason Wilder 016bdf729d Merge pull request #5533 from influxdata/pd-010-release-notes
Update CHANGELOG for v0.10.0 release
2016-02-08 10:29:06 -07:00
Cory LaNou 958d5ecca3 release 0.10.0 2016-02-08 11:14:18 -06:00
Jason Wilder f6ebb0b242 Merge pull request #5522 from methane/tsm1-optimize
[tsm1] Change timestamp from time.Time to unixnano
2016-02-04 10:20:41 -07:00
Paul Dix 706a23fe79 Update CHANGELOG.md 2016-02-03 10:28:58 -08:00
INADA Naoki 3ce1c66f7a Update CHANGELOG 2016-02-03 11:07:32 +09:00
David Norton efbac5fce2 fix #5505: clear authCache when pwd changes 2016-02-02 17:51:21 -05:00
Seif Lotfy 0864816c8b Add unit tests to ensure retention policy for non existing db is not created 2016-02-02 21:03:16 +01:00
Seif Lotfy c3fb710871 Initialize MetaClient before setting it up as a data and/or meta node
Take out MetaClient initialization from initializeDataNode and invoke it
in (server.)Open after MetaService is opened.
Fixes #5479
2016-02-02 17:39:29 +01:00
Edward Robinson b8e42cdd3a Ensure non-interactive mode returns appropriate exit code
Fixes #5475.
2016-02-02 15:23:16 +00:00
Joe LeGasse 2bd85b3c9e Update first() and last() to handle varying types 2016-02-01 11:38:08 -05:00
Alex Russell-Saw 5bde459f01 client: reject uint64 Client.Point.Field values 2016-02-01 16:17:47 +00:00
Jason Wilder 924275b337 Fix panic preventing wal file truncation
Fixes #5455
2016-01-28 21:50:51 -07:00
Jason Wilder 01193668cf Fix nil pointer panic when dropping collectd points
Fixes #5449
2016-01-28 21:36:59 -07:00
Joe LeGasse d2816dbb34 Updated CHANGELOG 2016-01-28 13:11:26 -05:00
Todd Persen 0328ac1a7e Fix typo in README.md 2016-01-27 15:16:37 -08:00
Todd Persen 265e3aff8c Update CHANGELOG.md 2016-01-27 15:15:16 -08:00
Todd Persen e5fa969306 Update CHANGELOG.md 2016-01-26 18:30:05 -08:00
Joe LeGasse 8791011b10 Validate metadata backup blob
Fixes #5349
2016-01-19 10:30:08 -08:00
Edd Robinson 789aff9b23 Fixes #5380 and #5381 2016-01-19 17:10:03 +00:00
Jonathan A. Sternberg 8eac790eab Fix a panic when a tag value was empty
A panic would happen if you wrote the following:
    cpu,host=

There was a missing bounds check when scanning the tag value.

Fixes #5262.
2016-01-16 12:21:32 -05:00
Joe LeGasse d0b8b2acab Updated CHANGELOG.md for fixing #5350 2016-01-15 15:13:33 -08:00
Jason Wilder 9c851f790e Use go1.4.3
Fixes #5283 #5217
2016-01-10 16:43:31 -07:00
Jason Wilder 5b179113fc Don't close tsm cursor prematurely
We were closing the cursor when we read the last block which caused
the internal state to be cleared.  In a group by query, we seeked multiple
times so depending on the group by interval and how the data was laid out
in the blocks, we woudl close the cursor and the last block would get skipped.

Fixes #5193
2016-01-10 15:26:01 -07:00
Jonathan A. Sternberg 8fc4cbe7ce Merge pull request #5186 from pires/5077-throw_parse_error
Fixes #5077
2016-01-07 20:29:00 -05:00
Philip O'Toole db2f3bd5ba Update CHANGELOG for PR 5129
[ci skip]
2016-01-07 14:49:04 -08:00
Paulo Pires 17c2a344cd Fixed database creation with retention statement parsing. Fixes #5077 2016-01-07 22:08:19 +00:00
Jason Wilder bd63489ef0 Update changelog
[ci skip]
2016-01-07 08:30:59 -07:00
Philip O'Toole c1e847af22 Update CHANGELOG for PR 5226
[ci skip]
2016-01-06 14:00:49 -08:00
Paul Dix 6ccc416ef0 Update CHANGELOG.md 2015-12-31 09:13:56 -05:00
Jonathan A. Sternberg 0931e30dd2 Merge pull request #5194 from influxdb/js-5136-per-cq-options
Custom continuous query options per query rather than per node
2015-12-29 14:00:39 -05:00
Jonathan A. Sternberg 5d4ecf853c Add continuous query option for customizing resampling
This makes the following syntax possible:

    CREATE CONTINUOUS QUERY mycq ON mydb
        RESAMPLE EVERY 1m FOR 1h
        BEGIN
          SELECT mean(value) INTO cpu_mean FROM cpu GROUP BY time(5m)
        END

The RESAMPLE option customizes how often an interval will be sampled and
the duration. The interval is customized with EVERY. Any intervals
within the resampling duration on a multiple of the resample interval
will be updated with the new results from the query.

The duration is customized with FOR. This determines how long an
interval will participate in resampling.

Both options are optional. If RESAMPLE is in the syntax, at least one of
the two needs to be given. The default for both is the interval of the
continuous query.

The service also improves tracking of the last run time and the logic of
when a query for an interval should be run. When determining the oldest
interval to run for a query, the continuous query service determines
what would have been the optimal time to perform the next query based on
the last run time. It then uses this time to determine the oldest
interval that should be run using the resample duration and will
resample all intervals between this time and the current time as opposed
to potentially forgetting about the last run in an interval if the
continuous query service gets delayed for some reason.

This removes the previous config options for customizing continuous
queries since they are no longer relevant and adds a new option of
customizing the run interval. The run interval determines how often the
continuous query service polls for when it should execute a query. This
option defaults to 1s, but can be set to 1m if the least common factor
of all continuous queries' intervals is a higher value (like 1m).
2015-12-28 16:43:49 -05:00
Jonathan A. Sternberg 4813d82285 Fix the line protocol scanner to read field keys with quotes correctly
Quotes are not supposed to be significant in field keys, but are
significant in field values. The code as it currently was would
consider quotes in a key to be significant, but the later parser that
would unmarshal the fields from the byte string did not consider those
quotes to be significant. This meant that the following string:

    "a=1

The line protocol parser would see a mismatched quote instead of a valid
input to the line protocol. But more nefariously, the following string:

    "a=1"=2

The line protocol parser would ignore the first equals since it is
located in the quotation marks and think this was a valid input. It
would then pass it on to the field parser who would panic and die when
it tried to parse `1"=2` as a number.

Fixes #4076.
2015-12-23 09:14:28 -05:00
Philip O'Toole 3264ab02b4 Update CHANGELOG for PR5201
[ci skip]
2015-12-22 13:34:20 -05:00
Philip O'Toole 70353a116c Update CHANGELOG for PR5183
[ci skip]
2015-12-22 07:09:54 -08:00
Philip O'Toole 308cab0a52 Update CHANGELOG for PR 5178
[ci skip]
2015-12-21 15:44:50 -08:00
Philip O'Toole 8004f117e0 Credit for PR 5078
[ci skip]
2015-12-17 15:00:19 -08:00
nick.grange 33de878956 Fixed #5078 to support Inserts in non-interactive mode.
Changed non-interactive mode to send everything through the CLI's parser the same way the interactive mode works.
Added multiline support for -execute flag.
2015-12-17 23:42:30 +11:00