Cory LaNou
f96b59ed20
Add changelog for 8187
2017-04-13 10:31:31 -05:00
Cory LaNou
4ca132765b
Merge pull request #8187 from influxdata/cjl-create-subscription-add-default-database
...
Several statements were missing the DefaultDatabase method
2017-04-12 16:57:19 -05:00
Cory LaNou
9060a2a5ff
Add HasDefaultDatabase interface to several statements
2017-04-12 13:41:28 -05:00
Jonathan A. Sternberg
c64524b6b0
Merge pull request #8279 from influxdata/js-junit-test-output
...
Use go junit formatter to output tests in junit format on CircleCI
2017-04-12 10:13:04 -05:00
Jonathan A. Sternberg
d653b76b5b
Merge pull request #8282 from influxdata/js-8281-influxql-select-tests
...
Fix influxql select tests
2017-04-11 15:05:08 -05:00
Jonathan A. Sternberg
48f1c0a013
Merge pull request #8258 from influxdata/js-8067-forbid-fill-none-linear-for-raw-values
...
Restrict fill(none) and fill(linear) to be usable only with aggregate queries
2017-04-10 20:52:32 -05:00
Jonathan A. Sternberg
c6e1b83906
Fix influxql select tests
...
The inputs are now sent to the tested iterator in the correct order so
we can more accurately test each individual select statement.
2017-04-10 20:51:14 -05:00
Jonathan A. Sternberg
a550d323c4
Restrict fill(none) and fill(linear) to be usable only with aggregate queries
2017-04-10 15:58:05 -05:00
Jonathan A. Sternberg
9d83e4626d
Merge pull request #8267 from influxdata/js-8252-fix-or-condition-with-null-values
...
Implicitly cast null to false in binary expressions with a boolean
2017-04-10 15:54:23 -05:00
Jonathan A. Sternberg
d0a9c4c781
Use go junit formatter to output tests in junit format on CircleCI
2017-04-10 11:47:51 -05:00
Jason Wilder
db430cb434
Merge pull request #8272 from influxdata/jw-12-drop-time
...
Fix dropping fields creating data corruption
2017-04-07 13:16:29 -06:00
Jason Wilder
ff1270dfeb
Fix dropping fields created data corruption
...
The Point is intended to be immutable after being parsed since it
is shared by several goroutines. When dropping a field (e.g. time),
corrupted data can result if one goroutine is delete the field
while another is marshaling the underlying byte slices.
To avoid this, the shard will just skip invalid fields and series
instead of trying to mutate them by deleting them.
2017-04-07 12:58:42 -06:00
Jason Wilder
7c5ce27bb0
Merge pull request #8269 from influxdata/jw-points-unmarshal
...
Optimize Point.NewPointFromBytes
2017-04-06 13:18:15 -06:00
Jason Wilder
1de99cd219
Merge pull request #8268 from influxdata/jw-dedup-measurements
...
Ensure MeasurementNames deduplicates measurements across shards
2017-04-06 13:10:56 -06:00
Jason Wilder
c3e0748bd9
Optimize Point.NewPointFromBytes
...
There was a check to ensure that fields exists when unmarshalBinary
is called. This created a map and other garbage just to see if any
fields exist.
This changes it to use a FieldIterator that does not allocate as
much as the other method.
2017-04-06 12:51:45 -06:00
Jason Wilder
927acb5ab9
Ensure MeasurementNames deduplicates measurements across shards
2017-04-06 12:17:29 -06:00
Jonathan A. Sternberg
0a5e4bd92b
Implicitly cast null to false in binary expressions with a boolean
...
Also more consistently treat a binary expression with strings so it
produces the same value no matter the direction of the expression.
2017-04-06 12:26:04 -05:00
Jason Wilder
03338c69b5
Merge pull request #8263 from influxdata/jw-meta-deadlock
...
Fix deadlock in Measurement.SeriesIDsAllOrByExpr
2017-04-05 20:19:14 -04:00
Jason Wilder
cf100647e0
Fix deadlock in Measurement.SeriesIDsAllOrByExpr
...
SeriesIDsAllOrByExpr took a RLock and ended up calling SeriesIDs
which can take a Lock causing a deadlock.
2017-04-05 16:22:45 -06:00
Jonathan A. Sternberg
45895862b7
Merge pull request #8058 from karlding/service-golinting
...
Make services/{admin, httpd, subscriber, udp} golintable
2017-04-05 12:30:11 -05:00
Jason Wilder
fad4784f9e
Merge pull request #8254 from influxdata/jw-8251-backport
...
Backport - Fix delete time fields creating unparseable points
2017-04-04 18:47:42 -04:00
Jason Wilder
91bfc5772a
Update changelog
2017-04-04 16:39:53 -06:00
Jason Wilder
1a4b1b3109
Fix delete time fields creating unparseable points
...
If a field was named time was written and was subsequently dropped,
it could leave a trailing comma in the series key causing it to fail
to be parseable in other parts of the code.
2017-04-04 16:37:51 -06:00
Jason Wilder
abaf42fbab
Merge pull request #8251 from influxdata/jw-time-delete
...
Fix delete time fields creating unparseable points
2017-04-04 18:37:00 -04:00
Jason Wilder
ca55fff12c
Fix delete time fields creating unparseable points
...
If a field was named time was written and was subsequently dropped,
it could leave a trailing comma in the series key causing it to fail
to be parseable in other parts of the code.
2017-04-04 16:19:11 -06:00
Ben Johnson
a403f7ec6d
Merge pull request #7618 from influxdata/tsi
...
TSI1
2017-04-04 13:22:24 -06:00
Ben Johnson
9c97cd8601
Merge remote-tracking branch 'upstream/master' into tsi
2017-04-04 12:46:09 -06:00
Ben Johnson
0d74497abe
Reset rhh map elements to reuse allocations.
2017-04-04 11:57:37 -06:00
Jason Wilder
0aa345f440
Merge pull request #8205 from influxdata/jw-merge-123
...
Merge 1.2.3 to master
2017-04-04 13:31:42 -04:00
Ben Johnson
6ff27c95e5
Fix tsi assertions.
2017-04-04 11:29:21 -06:00
Ben Johnson
dbc10559c4
Merge pull request #8247 from benbjohnson/tsi-series-block-partitioning
...
TSI Series Block Partitioning
2017-04-04 11:15:10 -06:00
Jason Wilder
5fa8073fc2
Merge branch '1.2' into jw-merge-123
2017-04-04 11:12:06 -06:00
Jason Wilder
014c8a6c27
Merge pull request #8249 from influxdata/jw-fs-close
...
Fix file store not close all TSM files
2017-04-04 13:06:31 -04:00
Jason Wilder
84cbee227a
Fix file store not close all TSM files
...
Regression added via #8192
2017-04-04 10:58:51 -06:00
Jonathan A. Sternberg
4236aa2e82
Merge pull request #8220 from influxdata/js-1.2-query-engine-backports
...
Backporting two query engine fixes for 1.2.3
2017-04-04 11:52:19 -05:00
Edd Robinson
081810c455
Update license of dependencies
2017-04-04 17:26:51 +01:00
Ben Johnson
95d4016ff2
Merge branch 'tsi' of https://github.com/influxdata/influxdb into tsi-series-block-partitioning
2017-04-04 10:14:03 -06:00
Jason Wilder
ec7eea2a0f
Skip tests on appveyor that we skip w/ -race
2017-04-04 09:47:59 -06:00
Ben Johnson
bf49b176f5
Partition tsi1 series index.
2017-04-04 09:46:04 -06:00
Jason Wilder
41166e0403
Add index-version to config sample
2017-04-04 09:22:53 -06:00
Jason Wilder
793635dbd7
Skip TSI cardinality tests on appveyor
2017-04-04 09:19:43 -06:00
Jason Wilder
4ac70efa48
Merge pull request #8245 from influxdata/jw-tsi-appveyor
...
Skip TestCache_Deduplicate_Concurrent on windows
2017-04-04 11:04:22 -04:00
Jason Wilder
4f850b5cff
Skip TestCache_Deduplicate_Concurrent on windows
2017-04-04 08:48:55 -06:00
Jonathan A. Sternberg
b1caafe82f
Ensure the input for certain functions in the query engine are ordered
...
The following functions require ordered input but were not guaranteed to
received ordered input:
* `distinct()`
* `sample()`
* `holt_winters()`
* `holt_winters_with_fit()`
* `derivative()`
* `non_negative_derivative()`
* `difference()`
* `moving_average()`
* `elapsed()`
* `cumulative_sum()`
* `top()`
* `bottom()`
These function calls have now been modified to request that their input
be ordered by the query engine. This will prevent the improper output
that could have been caused by multiple series being merged together or
multiple shards being merged together potentially incorrectly when no
time grouping was specified.
Two additional functions were already correct to begin with (so there
are no bugs with these two, but I'm including their names for
completeness).
* `median()`
* `percentile()`
2017-04-04 09:20:43 -05:00
Jonathan A. Sternberg
3c0d1c1bb5
Fix a regression when math was used with selectors
...
If there were multiple selectors and math, the query engine would
mistakenly think it was the only selector in the query and would not
match their timestamps.
Fixed the query engine to pass whether the selector should be treated as
a selector so queries like `max(value) * 1, min(value) * 1` will match
the timestamps of the result.
2017-04-04 09:20:43 -05:00
Ryan Betts
df0ea87de9
Merge pull request #8232 from influxdata/timhallinflux-patch-2-1
...
Changelog addition for #8231
2017-04-04 09:57:43 -04:00
Ryan Betts
4b1977673c
Merge branch 'master' into timhallinflux-patch-2-1
2017-04-04 09:57:19 -04:00
Ryan Betts
39b98aaa5f
Merge pull request #8239 from influxdata/er-1.2-user-perf-bp
...
Reduce cost of admin user check
2017-04-04 09:34:34 -04:00
Ryan Betts
3032a57e86
Merge pull request #8231 from influxdata/timhallinflux-patch-2
...
Fix spelling mistake in HTTP section of config -- shared-sercret
2017-04-04 09:33:28 -04:00
Cory LaNou
4dc9873f36
Merge pull request #8191 from influxdata/cjl-8190-redact-passwords-cli
...
redact passwords before saving history in cli
2017-04-04 07:35:00 -05:00