Commit Graph

11891 Commits (eeaad877bce4cc810d2feb76fa8b310f868e94ca)

Author SHA1 Message Date
Jason Wilder eeaad877bc Merge pull request #8297 from influxdata/jw-merge-123
Merge 1.2.3 changes to master
2017-04-17 09:18:46 -06:00
Jason Wilder 5c51ae7319 Merge branch '1.2' into jw-merge-123 2017-04-14 14:36:54 -06:00
Cory LaNou e6e5968c3a Merge pull request #8294 from influxdata/cjl-cli-redact-password-history
Cherry Pick sanitize passwords in CLI history
2017-04-14 13:38:10 -05:00
Ryan Betts 7e6bd5be6b Fix spelling mistake in HTTP section of config (influxdb#8231)
Fixes plutonium#1198
2017-04-14 14:26:31 -04:00
Cory LaNou 8c0f5a7dbe
redact passwords before saving history in cli 2017-04-14 13:13:56 -05:00
Ryan Betts f1882ae705 Fix spelling mistake in HTTP section of config (influxdb#8231) 2017-04-14 14:13:44 -04:00
Cory LaNou 0572f14a5c Merge pull request #8293 from influxdata/cjl-1.2-fixes
Cherry Pick Security Fixes to 1.2
2017-04-13 15:25:44 -05:00
Cory LaNou 775c5d243d Add changelog for 8187 2017-04-13 13:33:25 -05:00
Cory LaNou 215b5fc89c Add HasDefaultDatabase interface to several statements 2017-04-13 13:32:17 -05:00
Cory LaNou 31db9d6f46 Merge pull request #8292 from influxdata/cjl-changelog-8187
Add changelog for 8187
2017-04-13 13:30:30 -05:00
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