Commit Graph

11209 Commits (d54d32b9d4c6bc529abf5b2e0bb4eebe793c3937)

Author SHA1 Message Date
Cory LaNou d54d32b9d4
prune shards in meta data 2016-12-01 11:22:16 -06:00
Jonathan A. Sternberg 5d63ebe311 Merge pull request #7676 from influxdata/js-7356-xff-changelog
Update changelog for #7356 (PR #7662)
2016-12-01 11:03:27 -06:00
Jonathan A. Sternberg 3427c7b356 Update changelog for #7356 (PR #7662) 2016-12-01 10:41:39 -06:00
Jonathan A. Sternberg edeb70c1da Merge pull request #7662 from influxdata/js-7356-xff-logging-for-http-requests
Use X-Forwarded-For IP address in HTTP logger if present
2016-12-01 10:40:18 -06:00
Jonathan A. Sternberg 825aa07877 Use X-Forwarded-For IP address in HTTP logger if present 2016-12-01 09:16:36 -06:00
Jonathan A. Sternberg 3dc5165b3c Merge pull request #7505 from oiooj/pr-influx-unixsocket
support unix socket connection for influx CLI
2016-11-30 09:02:32 -06:00
oiooj 8ddb11cee2 support unix socket connect for influx CLI 2016-11-30 22:37:56 +08:00
Jonathan A. Sternberg 128cbf04a2 Merge pull request #7658 from allenpetersen/ap_7656
Use slash separator for filenames in tar archives
2016-11-29 15:48:22 -06:00
Jonathan A. Sternberg e0c1908683 Merge pull request #7644 from influxdata/js-fix-empty-variable-serialization
Quote the empty string as an ident
2016-11-29 12:16:35 -06:00
Allen Petersen 31129ab0e9 Use slash separator for filenames in tar archives
NO-OP on platforms with unix path separator.
On Windows paths get converted to slashes before adding to archive and back to backslashes during restore.
2016-11-29 09:44:08 -08:00
Jonathan A. Sternberg 933702549d Merge pull request #7368 from influxdata/js-partial-in-json-response
Introduce syntax for marking a partial response with chunking
2016-11-29 11:17:24 -06:00
Abdisamad Hashi 0ea807dce1 Make monitor golintable (#7652)
* added comment on top of the Reporter interface
* fixed a capitalisation typo which threw a linting error
* added comment on top of type Statistics
* Added a proper comment to Reporter interface
* Added a proper comment to type Statistics
* Update service.go
Changed wording 'list' to 'slice'.
2016-11-28 10:47:02 +00:00
Jason Wilder 27d157763a Merge pull request #7651 from influxdata/jw-shard-last-modified
Expose Shard.LastModified
2016-11-23 10:19:26 -07:00
Jason Wilder e8a28cfbab Expose Shard.LastModified
This returns the LastModified time of the shard.  The LastModified
time is the wall time when a change to the shards state occurred.
It uses the WAL or FileStore to determine the max mod time.
2016-11-23 10:04:07 -07:00
Edd Robinson b83b8df32f Merge pull request #7635 from influxdata/er-msg
Fix incorrect error message
2016-11-23 13:58:33 +00:00
Edd Robinson f488c5bcf4 Merge pull request #7645 from shaybix/make-influxdb/tcp-golintable
removed parentheses to make tcp golintable
2016-11-23 13:47:17 +00:00
Jonathan A. Sternberg b4db76cee2 Introduce syntax for marking a partial response with chunking
The `partial` tag has been added to the JSON response of a series and
the result so that a client knows when more of the series or result will
be sent in a future JSON chunk.

This helps interactive clients who don't want to wait for all of the
data to know if it is done processing the current series or the current
result. Previously, the client had to guess if the next chunk would
refer to the same result or a new result and it had to match the name
and tags of the two series to know if they were the same series. Now,
the client just needs to check the `partial` field included with the
response to know if it should expect more.

Fixed `max-row-limit` so it counts rows instead of results and it
truncates the response when the `max-row-limit` is reached.
2016-11-22 11:16:22 -06:00
shaybix 1240ffd66f removed parentheses to make tcp golintable 2016-11-19 04:13:25 +00:00
Jonathan A. Sternberg c957bf7f99 Quote the empty string as an ident
Without this quoting, the function `max("")` turns into `max()` and will
not be reparsed correctly.
2016-11-18 16:25:39 -06:00
Jason Wilder b765a4b8c7 Merge pull request #7631 from influxdata/jw-timer-allocs
Allocation/pointer removal
2016-11-17 18:02:01 -07:00
Edd Robinson 9e9719749f Sprinkle some golint 2016-11-17 16:31:38 +00:00
Edd Robinson 28ba8ced74 Fixes #7625 2016-11-17 16:31:36 +00:00
Jason Wilder 63554ce5a3 Update changelog
Add #7616
2016-11-16 17:05:47 -07:00
Jason Wilder bdf389d13c Merge pull request #7616 from ccasey/master
fix chuid argument order
2016-11-16 17:04:12 -07:00
Jason Wilder 89706dbd60 Merge pull request #7632 from influxdata/jw-merge-11
Merge 1.1 branch
2016-11-16 12:38:10 -07:00
Jason Wilder 62177826d5 Merge branch '1.1' into jw-merge-11 2016-11-16 11:16:44 -07:00
Jason Wilder 3a5a01181b Switch all Value types from pointers 2016-11-15 16:13:55 -07:00
Jason Wilder bf17074f58 Avoid allocation when counting tag keys
A new sorted slice was called by the monitor func every 10s.  The
tag keys don't need to be sorted so this avoid the allocation of the
slice and one during sorting.
2016-11-15 16:13:55 -07:00
Jason Wilder 0ee58c208a Switch time.Sleep to time.Ticker
Avoids an allocation when calling time.Sleep
2016-11-15 16:13:55 -07:00
Jason Wilder 73b8f52ca0 Cache results onf findGenerations
This allocates quite a bit and it's called multiple times per
second per shard.  The generations don't change until a compaction
has occurred so most of the time is re-calculating the same thing
and creating garbage.
2016-11-15 16:13:55 -07:00
Jason Wilder 61daedac03 Use time.Tick instead of time.After
Eliminates an allocation
2016-11-15 16:13:55 -07:00
Jonathan A. Sternberg 4b9c88037f Merge pull request #7628 from influxdata/js-7621-sample-wildcard
Expand string and boolean fields when using a wildcard with sample()
2016-11-15 16:15:52 -06:00
Jonathan A. Sternberg e885fe5117 Expand string and boolean fields when using a wildcard with sample() 2016-11-15 15:56:47 -06:00
Jason Wilder 4fcbedad3f Merge pull request #7622 from marcv81/bug-7602
Fix references to Go 1.6.2 in doc
2016-11-15 14:44:46 -07:00
Marc 20d0653aa6 Fix references to Go 1.6.2 in doc 2016-11-12 11:50:44 +08:00
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