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
Cameron Sparr
3fe0ffd5ad
String escape unit tests
2016-11-18 16:02:52 +00: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
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