Commit Graph

11276 Commits (b8ef792606d2712907a23fd326db31b8de5e0de2)

Author SHA1 Message Date
Jason Wilder 800da5732b Update release date 2016-11-11 16:25:22 -07:00
Jason Wilder 77e2c80a4f Merge pull request #7435 from marcv81/feature-7066
Support for collectd signed and encrypted packets
2016-11-11 11:30:24 -07:00
Chris Casey 8e720a3308 fix chuid argument order 2016-11-10 16:31:50 -06:00
Jonathan A. Sternberg d04ccbab67 Merge pull request #7608 from influxdata/js-7606-backport
Avoid deadlock when max-row-limit is hit
2016-11-08 15:08:43 -06:00
Jonathan A. Sternberg b87116449c Avoid deadlock when max-row-limit is hit
When the `max-row-limit` was hit, the goroutine reading from the results
channel would stop reading from the channel, but it didn't signal to the
sender that it was no longer reading from the results. This caused the
sender to continue trying to send results even though nobody would ever
read it and this created a deadlock.

Include an `AbortCh` on the `ExecutionContext` that will signal when
results are no longer desired so the sender can abort instead of
deadlocking.
2016-11-08 14:48:16 -06:00
Jonathan A. Sternberg ee4d04de4e Merge pull request #7606 from influxdata/js-max-row-limit-block-fix
Avoid deadlock when max-row-limit is hit
2016-11-08 14:39:46 -06:00
Jonathan A. Sternberg 64c2d704da Avoid deadlock when max-row-limit is hit
When the `max-row-limit` was hit, the goroutine reading from the results
channel would stop reading from the channel, but it didn't signal to the
sender that it was no longer reading from the results. This caused the
sender to continue trying to send results even though nobody would ever
read it and this created a deadlock.

Include an `AbortCh` on the `ExecutionContext` that will signal when
results are no longer desired so the sender can abort instead of
deadlocking.
2016-11-08 13:12:28 -06:00
Marc 05d929caa9 Update CHANGELOG.md 2016-11-08 08:42:14 +08:00
Marc 7d277d0def Add support for collectd security policy
There are 2 new keys in the configuration file.
- security-level: "none", "sign", or "encrypt".
- auth-file: The location of the user/password file.

Please see the collectd network doc for more details.
2016-11-08 08:42:09 +08:00
Marc 0260dfb575 Replace kimor79/gollectd with collectd.org
At this point this is a like-for-like swap.

collectd.org is more active and supports more features.
2016-11-08 08:24:57 +08:00
Jonathan A. Sternberg 6ffe164eac Merge pull request #7600 from influxdata/js-7575-backport
Fix the `-execute` and `-import` when there is no TTY
2016-11-07 15:36:37 -06:00
Mark Rushakoff d52eb01c17 Merge pull request #7492 from influxdata/mr-influx_inspect-help-verify
Mention verify subcommand in influx_inspect help
2016-11-07 13:23:39 -08:00
Jason Wilder 3c0aaae8ff Merge pull request #7556 from influxdata/rk-readme-fix
Update example in influx_inspect README.md
2016-11-07 14:16:43 -07:00
Jason Wilder 8c1228169d Merge pull request #7592 from Tomcat-Engineering/remove-unused-function
Remove old code which is no longer used.
2016-11-07 14:15:38 -07:00
Jonathan A. Sternberg 40431cbee0 Fix the `-execute` and `-import` when there is no TTY 2016-11-07 15:08:12 -06:00
Jonathan A. Sternberg be49f3ee2c Merge pull request #7586 from influxdata/js-7575-fix-execute-flag-with-no-tty
Fix the `-execute` and `-import` when there is no TTY
2016-11-07 15:07:21 -06:00
Jason Wilder b3f6704849 Merge pull request #7599 from influxdata/jw-admin
Backport disable/deprecate admin interface
2016-11-07 14:05:01 -07:00
Jason Wilder e10776081a Disable/deprecate admin interface 2016-11-07 13:33:36 -07:00
Jason Wilder d4a0f715a5 Merge pull request #7597 from influxdata/jw-admin
Disable/deprecate admin interface
2016-11-07 13:32:28 -07:00
Jason Wilder b6863b04d1 Disable/deprecate admin interface 2016-11-07 12:04:51 -07:00
Ross McDonald fe75085bb5 Merge pull request #7580 from tcheneau/arm64-build-fix
Fix ARM64 build by replacing "aarch64" string with "arm64"
2016-11-07 09:16:22 -06:00
Cory LaNou e112de2ee0 Merge pull request #7554 from influxdata/cjl-godeps
update latest dependencies with Godeps
2016-11-07 09:10:30 -06:00
Cory LaNou 3774d5e734
update latest dependencies with Godeps 2016-11-07 08:49:29 -06:00
Cory LaNou 40f626d20f Merge pull request #7449 from influxdata/cjl-7488-fix-rp-defaults
fix retention policy creation inconsistencies
2016-11-07 08:20:34 -06:00
Tom Young 24fa1ac1c0 Remove old function which is no longer used. 2016-11-06 13:38:59 +00:00
Jonathan A. Sternberg 8a57f27eb9 Fix the `-execute` and `-import` when there is no TTY 2016-11-04 16:35:38 -05:00
Tony Cheneau 89d091e23e Fix ARM64 build by replacing "aarch64" string with "arm64" 2016-11-03 22:23:43 +00:00
Cory LaNou 6e290040bb
remove SetDefaultRetentionPolicy method from meta.Client 2016-11-03 09:39:41 -05:00
Cory LaNou cd272ce6c3 fix retention policy creation inconsistencies 2016-11-03 09:09:43 -05:00
Jonathan A. Sternberg dd8caa750a Merge pull request #7570 from influxdata/js-7564-backport
Fix incorrect grouping when multiple aggregates are used with sparse data
2016-11-02 14:54:37 -05:00
Jonathan A. Sternberg e7d4a601a6 Fix incorrect grouping when multiple aggregates are used with sparse data
When a query would use a grouping with two different aggregates, it was
possible for one of the aggregates to return a value from a different
series key than the second aggregate. When these series keys didn't
match, the returned grouping would be screwed up because it sorted by
time before checking for name and tags.

This did not happen when the aggregates returned values for the same
series keys because then the iterators were aligned with each other.
2016-11-02 14:29:31 -05:00
Jonathan A. Sternberg 4b85371a71 Merge pull request #7568 from influxdata/js-7564-group-by-incorrect-with-multiple-aggregates
Fix incorrect grouping when multiple aggregates are used with sparse data
2016-11-02 14:28:54 -05:00
Jonathan A. Sternberg 1b2fa645ee Fix incorrect grouping when multiple aggregates are used with sparse data
When a query would use a grouping with two different aggregates, it was
possible for one of the aggregates to return a value from a different
series key than the second aggregate. When these series keys didn't
match, the returned grouping would be screwed up because it sorted by
time before checking for name and tags.

This did not happen when the aggregates returned values for the same
series keys because then the iterators were aligned with each other.
2016-11-02 13:35:22 -05:00
Jonathan A. Sternberg e4e5edcbea Merge pull request #7561 from influxdata/js-7552-backport
Support the ON syntax in SHOW TAG VALUES
2016-11-01 17:35:42 -05:00
Jonathan A. Sternberg 50d252566e Support the ON syntax in SHOW TAG VALUES
The parser was updated previously in #7295 and the functionality was
supposed to be there, but the wiring in the query engine for that to
happen was never written.
2016-11-01 16:36:37 -05:00
Jonathan A. Sternberg cf7f1da8b2 Merge pull request #7560 from influxdata/js-7552-fix-show-tag-values-when-using-on
Support the ON syntax in SHOW TAG VALUES
2016-11-01 16:36:07 -05:00
Jonathan A. Sternberg 83e998fbed Support the ON syntax in SHOW TAG VALUES
The parser was updated previously in #7295 and the functionality was
supposed to be there, but the wiring in the query engine for that to
happen was never written.
2016-11-01 15:54:45 -05:00
Regan Kuchan 3ebaba4714 Update example in influx_inspect README.md 2016-11-01 10:16:23 -07:00
Jason Wilder 90ec3ce3fe Merge pull request #7550 from influxdata/jw-changelog
Highlight new query features
2016-10-31 13:37:41 -06:00
Jason Wilder 7f1f1b002d Highly new query features 2016-10-31 12:47:36 -06:00
Jonathan A. Sternberg 6f57448b73 Merge pull request #7549 from influxdata/js-7548-show-queries-shows-wrong-units
Fix output duration units for SHOW QUERIES
2016-10-31 13:27:34 -05:00
Jonathan A. Sternberg ce1831160d Fix output duration units for SHOW QUERIES
The previous version was showing the microseconds unit when it was
outputting nanoseconds. Now we correctly identify which sub-second unit
to use (milliseconds, microseconds, or nanoseconds) and use the correct
unit while dividing the duration unit correctly to produce the correct
output.

Also updated to use the default duration string instead of our own
custom formatters. It turns out that the string method for
`time.Duration` does the correct thing as long as we truncate the value
first.
2016-10-31 12:48:01 -05:00
Jason Wilder 97ba0bbb98 Merge pull request #7538 from influxdata/jw-limits
Add config option to messages when limits exceeded
2016-10-31 09:26:30 -06:00
Jason Wilder 0b6f5441b9 Add config option to messages when limits exceeded
When a limit is exceeded, we return errors and sometimes log (if appropriate)
that a limit was exceeded.  The messages don't always provide an indication
as to where or how they are configured.

Instead, return the config option (easily searchable for) as well as the limit
currently set and the value that exceeded it when possible.
2016-10-28 14:54:45 -06:00
Jason Wilder bcb48a8ff2 Merge pull request #7533 from influxdata/jw-7498
Fix panic: interface conversion: tsm1.Value is *tsm1.FloatValue, not *tsm1.StringValue
2016-10-28 12:53:08 -06:00
Jason Wilder b1ceb5e66d Add cache write OK, Dropped, Error stats
Adds a new dropped stat as well as fixes OK and error stats not
actually get collected and stored.
2016-10-28 12:15:50 -06:00
Jason Wilder 873189e0c2 Fix panic: interface conversion: tsm1.Value is *tsm1.FloatValue, not *tsm1.StringValue
If concurrent writes to the same shard occur, it's possible for different types to
be added to the cache for the same series.  The way the measurementFields map on the
shard is updated is racy in this scenario which would normally prevent this from occurring.
When this occurs, the snapshot compaction panics because it can't encode different types
in the same series.

To prevent this, we have the cache return an error a different type is added to existing
values in the cache.

Fixes #7498
2016-10-28 12:15:50 -06:00
Jason Wilder e388912b6c Fix race in findGenerations
The file store stats slice is re-used which causes the race below:

WARNING: DATA RACE
Write at 0x00c42007e140 by goroutine 43:
  github.com/influxdata/influxdb/tsdb/engine/tsm1.(*FileStore).Stats()
      /Users/jason/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/file_store.go:511 +0x22e
  github.com/influxdata/influxdb/tsdb/engine/tsm1.(*DefaultPlanner).findGenerations()
      /Users/jason/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:461 +0x6f
  github.com/influxdata/influxdb/tsdb/engine/tsm1.(*DefaultPlanner).PlanLevel()

Previous read at 0x00c42007e140 by goroutine 40:
  github.com/influxdata/influxdb/tsdb/engine/tsm1.(*DefaultPlanner).findGenerations()
      /Users/jason/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/compact.go:463 +0x13d
  github.com/influxdata/influxdb/tsdb/engine/tsm1.(*DefaultPlanner).PlanOptimize()
2016-10-28 12:15:49 -06:00
Jason Wilder 96648d2045 Merge pull request #7532 from influxdata/jw-7093
Don't normalize drop/delete series statements
2016-10-28 12:07:20 -06:00
Stephan Klatt 35d2fb6e01 init.sh: busybox kill compatible signal names
busybox's kill does not accept -s SIGTERM, but only -s TERM
2016-10-28 15:30:48 +02:00