Commit Graph

7070 Commits (c8f88f9a61cb237072f9703555f1356b96dd0d42)

Author SHA1 Message Date
Jason Wilder 17583f7c5d Remove [meta].peers config option
Adding a new peer must happen via the -join flag.
2015-08-12 13:01:27 -06:00
Jason Wilder 5dfd25269f Fix panic: reflect: call of reflect.Value.NumField on string Value
The env var overrides panic if we if peers was set in the config.
The type of that value is a []string and NumFields is not a valid
for that type.  We don't currently support this slice fields via
the env variable settings.  This particular one can be set with the
-join flag already so we just skip these fields for now.
2015-08-12 11:27:04 -06:00
Jason Wilder f07b8d4016 Make sure port is optional when passing hostanme flag 2015-08-12 10:41:43 -06:00
Philip O'Toole b032c1c6ad Merge pull request #3629 from influxdb/default_graphite_config
Set sensible Graphite batching defaults
2015-08-11 19:08:14 -07:00
Philip O'Toole 68058aee98 Update CHANGELOG 2015-08-11 18:34:49 -07:00
Philip O'Toole 966dee7559 Set sensible Graphite batching defaults 2015-08-11 18:34:36 -07:00
Ben Johnson 2547049c6f Merge pull request #3626 from benbjohnson/fix-3571
Fix duplicate points in b1/cursor
2015-08-11 16:15:35 -06:00
Ben Johnson 10c1ae782a fix duplicate points in b1/cursor
This commit fixes the b1 cursor so that reads from either the cache
or bolt buffer will check against the previously read key to ensure
that two of the same keys are not returned.

Fixes #3571.
2015-08-11 13:43:44 -06:00
Philip O'Toole 3666ab7766 Merge pull request #3625 from influxdb/dont_support_mixing
InfluxDB does not support mixing aggregate and raw queries
2015-08-11 12:37:00 -07:00
Philip O'Toole 13972eeeaa Update CHANGELOG 2015-08-11 12:25:10 -07:00
Philip O'Toole d0993c5e3f Unit-test detection of agggregate and raw queries 2015-08-11 12:25:06 -07:00
Sean Beckett 56e478e05c Merge pull request #3590 from influxdb/beckettsean-patch-1
updating bug report example to line protocol
2015-08-11 12:00:03 -07:00
Philip O'Toole 4770451837 Return error if queries mix aggregate and raw
Fixes issue #3198
2015-08-11 11:59:04 -07:00
Philip O'Toole be792b926a Re-enable regex test
Test now passes after recent changes.
2015-08-10 17:17:17 -07:00
Philip O'Toole 5b39b96b9d Re-enable RP test
Test passes after latest changes.
2015-08-10 17:15:46 -07:00
Philip O'Toole 11c45ad387 Merge pull request #3618 from influxdb/alignment_3213
Align batcher stats for i386
2015-08-10 16:50:04 -07:00
Philip O'Toole 55c491964b Update CHANGELOG 2015-08-10 16:39:29 -07:00
Philip O'Toole 480998974d Align batcher stats for i386
Fixes issue #3213.
2015-08-10 16:37:16 -07:00
Philip O'Toole f5c8280525 Fix multi UDP tests 2015-08-10 16:23:04 -07:00
Philip O'Toole 8dbcff833b Revert "Revert "Merge pull request #3599 from tpitale/multiple-udp-servers""
This reverts commit 5f83f038e1.
2015-08-10 16:21:27 -07:00
Philip O'Toole 5f83f038e1 Revert "Merge pull request #3599 from tpitale/multiple-udp-servers"
This reverts commit 7f35d65412, reversing
changes made to f828781544.
2015-08-10 14:44:14 -07:00
Philip O'Toole 2195f591cb Update CHANGELOG for PR 3599
[ci skip]
2015-08-10 14:24:52 -07:00
Philip O'Toole 7f35d65412 Merge pull request #3599 from tpitale/multiple-udp-servers
Change single udp config to support multiple UDP listeners
2015-08-10 14:22:27 -07:00
Philip O'Toole f828781544 Merge pull request #3617 from influxdb/reenable-test
Re-enable test "TestServer_Query_Now"
2015-08-10 14:15:11 -07:00
Philip O'Toole 84af826a0f Re-enable test "TestServer_Query_Now"
Recent changes must have fixed issue #2874.
2015-08-10 14:10:20 -07:00
Jason Wilder b23b2539a5 Merge pull request #3616 from influxdb/jw-3326
Fix regex queries regression
2015-08-10 15:09:02 -06:00
Jason Wilder 68b82f3030 Fix regex queries regression
ValidateGroupBy was returning an error if a tag does not exist
but it appears that function was supposed to be validating that
a field name was not used as a group by field.

Fixes #3326
2015-08-10 15:02:29 -06:00
Philip O'Toole 95b63ff2a5 Merge pull request #3613 from influxdb/fix_int_math
Force all values to float64 for math
2015-08-10 13:25:01 -07:00
Gunnar e0261a4111 Merge pull request #3587 from influxdb/ga-admin-error-handling
Better query error handling for admin UI
2015-08-10 13:18:59 -07:00
Gunnar 8ef9eb435b Merge pull request #3591 from influxdb/ga-clean-dump
Remove dump from client and handler
2015-08-10 13:18:47 -07:00
Philip O'Toole c42697f929 Update CHANGELOG 2015-08-10 13:13:19 -07:00
Philip O'Toole a122e709ea Add system-level test for math 2015-08-10 13:13:04 -07:00
Philip O'Toole 18589e20e6 Force all values to Float64 for math
Any literal values in a math query e.g. the '2' in 'value * 2' are
stored as float64, so all other values must be cast to this type. This
does mean that precision may be lost if the integer values are greater
than 2^53.
2015-08-10 13:13:04 -07:00
Jason Wilder 460e174229 Merge pull request #3612 from influxdb/jw-3583
Fix panic when parsing value in scientific notation with trailing i
2015-08-10 14:09:43 -06:00
Jason Wilder bc81a4283f Fix panic when parsing value in scientific notation with trailing i
Fixes #3583
2015-08-10 13:46:53 -06:00
Jason Wilder 2b33302d07 Merge pull request #3610 from influxdb/jw-derivative
Fix panic when running derivative on non-numeric values
2015-08-10 13:04:21 -06:00
Jason Wilder 03dfec31db Add integer derivative tests
There was one for aggregates that was misnamed.  Added one for
raw derviative.
2015-08-10 12:58:36 -06:00
Ben Johnson 25293052b6 add b1 test harness 2015-08-10 12:46:57 -06:00
Jason Wilder d4ce2f9048 Fix panic when running derivative on non-numeric values
Fixes #3401
2015-08-10 12:45:34 -06:00
Daniel Morsing 41733f6817 Merge pull request #3521 from DanielMorsing/sharderrcheck
check error when opening shard DBs.
2015-08-10 11:28:20 -07:00
Daniel Morsing 65ea56ae2c check error when opening shard DBs.
This should catch the case where someone messed up the permisssions
for a database that they moved from one machine to another.
2015-08-10 09:31:22 -07:00
Jason Wilder 9ece632791 Merge pull request #3592 from influxdb/jw-docker
Initial docker support
2015-08-09 17:04:58 -06:00
Jason Wilder 11f4ba82aa Add env override config test 2015-08-09 16:14:10 -06:00
Jason Wilder 775dadadf5 Use INFLUXDB as env var prefix 2015-08-09 16:06:38 -06:00
Tony Pitale e943afacdc Change (previously unused) single udp config to support multiple UDP listeners
do not use NewConfig for UDP

appendUDPService must return a value

udp service does not need to handle error

fix missing case of c.UDP in tests
2015-08-09 11:28:09 -04:00
Paul Dix 596db019a0 Merge pull request #3593 from benbjohnson/multi-cursor
Add tsdb.MultiCursor
2015-08-08 10:03:16 -04:00
Ben Johnson 1ebcb10b03 Add tsdb.MultiCursor
This commit adds a cursor that wraps multiple `tsdb.Cursor` objects
and streams them out as one cursor. The multi-cursor automatically
dedupes keys by using the first cursor specified in the argument
list.
2015-08-07 17:02:29 -06:00
Jason Wilder 43804596dc Fix grammar 2015-08-07 14:51:58 -06:00
Jason Wilder b01eb34920 Update changelog 2015-08-07 14:27:38 -06:00
Jason Wilder 6f9c18fe95 Allow overriding of configuration parameters using environment variables
This allows all config variable to be set via environment variables using
a similar naming convention for the toml config.  For example, to change the
HTTP API port using the config, you would set:

[http]
  bind-address = ":8086"

To change it with an environment variable, you would use:

  HTTP_BIND_ADDRESS=":8086" influxd

The section name is used as the env variable prefix and the config key
name is the suffix.  The only change to the config name is that "-" should
be replaced with "_" to avoid shell interpretation issues.

This makes it much easier to configure docker instances within a docker container
or adhoc instances at the command-line.

For slice config sections like graphite, you can currently only override the first
entry since the default config only has 1 entry.  To do that use, GRAPHITE_0 as the
prefix.  You cannot currently add new entries like GRAPHITE_1.  A future PR might
address this issue.

The environment variable values should be the same as the config values.

The order that configuration values are applied is as follows:
* Default config
* Config file
* Environment variables
* Command-line arguments

Fixes #3246
2015-08-07 14:27:38 -06:00