Commit Graph

12719 Commits (f97f5bcc82e6434d2bb4cbc39d3f64c11e4cfd06)

Author SHA1 Message Date
Edd Robinson f97f5bcc82 Add time based meta query tests 2017-11-06 19:15:00 +00:00
Edd Robinson 5f4708e7ca Split out SHOW TAG KEYS/VALUES tests 2017-11-06 19:15:00 +00:00
Edd Robinson 98d584b63f Use index for SHOW X meta queries
When a meta query does not include a time component then it can be
answered exclusively by the index. This should result in a much faster
query execution that if the TSM engine was engaged.

This commit rewrites the following queries such that they make use
of the index where no time component is present:

  - SHOW MEASUREMENTS
  - SHOW SERIES
  - SHOW TAG KEYS
  - SHOW FIELD KEYS
2017-11-06 19:15:00 +00:00
Stuart Carnie 2322ec4e8f
Merge pull request #9060 from influxdata/sgc-ifql
optimized slice when outside timerange; add DataType to SeriesFrame
2017-11-06 11:55:28 -07:00
Stuart Carnie cf2227def1 add expected data type to series frame 2017-11-06 11:12:27 -07:00
Stuart Carnie 728f5cc6ac strip series frame if no points returned 2017-11-03 17:04:33 -07:00
Stuart Carnie 7cb25ecbff optimized slice when outside timerange
find position then update both slices **once**
2017-11-03 16:31:01 -07:00
Stuart Carnie ec6f92ba3a
Merge pull request #9059 from influxdata/sgc-ifql
also slice values for batch cursors
2017-11-03 15:52:17 -07:00
Stuart Carnie 295acd6920 also slice values 2017-11-03 15:50:16 -07:00
Stuart Carnie a136b0b1ee
Merge pull request #9057 from influxdata/sgc-yamux
Update Godeps to latest yamux with SYN fix
2017-11-03 14:48:58 -07:00
Stuart Carnie f730b05443 Update to yamux SYN fix 2017-11-03 13:35:59 -07:00
Stuart Carnie 32f85a612a
Merge pull request #9050 from influxdata/sgc-ifql
don't send empty ReadResponse
2017-11-03 11:55:37 -07:00
Stuart Carnie c1da95442c
Merge pull request #9054 from influxdata/js-update-influxql-path-in-templates
Update the influxql path inside of the template files
2017-11-03 09:44:02 -07:00
Jonathan A. Sternberg 748fc4ae79 Update the influxql path inside of the template files 2017-11-03 10:57:17 -05:00
Stuart Carnie 10a0bb8f73 don't send empty response 2017-11-02 16:27:05 -07:00
Jonathan A. Sternberg a8a36d152b
Merge pull request #8891 from influxdata/amh-human-readable-sizes
Allow human-readable byte sizes in config
2017-11-02 13:34:45 -05:00
Jonathan A. Sternberg 87ed89ee74 Implement pull request feedback for human readable sizes 2017-11-01 13:08:51 -05:00
Andrew Hare ecb3952fa9 Allow human-readable byte sizes in config
Update support in the `toml` package for parsing human-readble byte sizes.
Supported size suffixes are "k" or "K" for kibibytes, "m" or "M" for
mebibytes, and "g" or "G" for gibibytes. If a size suffix isn't specified
then bytes are assumed.

In the config, `cache-max-memory-size` and `cache-snapshot-memory-size` are
now typed as `toml.Size` and support the new syntax.
2017-11-01 11:09:09 -05:00
Jonathan A. Sternberg fade2ba9a8
Merge pull request #9043 from influxdata/js-8965-handle-utf16-bom
Handle utf16 files when reading the configuration file
2017-10-31 14:16:09 -05:00
Stuart Carnie 9a43c14653
Merge pull request #9041 from influxdata/sgc-influxql
influxdata/influxdb/influxql -> influxdata/influxql
2017-10-31 07:31:31 -07:00
Jason Wilder 278994b9c7
Merge pull request #9039 from influxdata/jw-revert
Revert "Fix race in disableLevelCompactions"
2017-10-31 07:52:24 -06:00
Jonathan A. Sternberg 9dc60962c7 Handle utf16 files when reading the configuration file
Windows computers may produce a utf16 file from the command line that
contains a byte-order-mark. Along with handling the utf8
byte-order-mark, this also handles the utf16 for better Windows
compatibility.
2017-10-30 22:48:44 -05:00
Stuart Carnie f3d45ba301 influxdata/influxdb/influxql -> influxdata/influxql 2017-10-30 14:40:26 -07:00
Jason Wilder 48ebc53154 Revert "Fix race in disableLevelCompactions"
This reverts commit 4f8580fbaa.
2017-10-30 14:14:50 -06:00
Jason Wilder 2217d0499d
Merge pull request #9021 from influxdata/jw-go192
Update to go 1.9.2
2017-10-30 13:00:47 -06:00
Jason Wilder ed2ff3b401 Fix go vet 2017-10-30 12:30:01 -06:00
Jason Wilder 00763b0105 Remove test.sh save
This doesn't appear to actually do anything and just rebuilds all the
images for some reason.
2017-10-30 11:49:47 -06:00
Jason Wilder 4c3e673376 Increase test timeout 2017-10-30 11:49:47 -06:00
Jason Wilder cdad866b9f Fix 32bit builder 2017-10-30 11:49:47 -06:00
Jason Wilder 28987f7962 Fix docker to not continue on wget failure 2017-10-30 11:49:47 -06:00
Jason Wilder 355d742d4a Update to go 1.9.2 2017-10-30 11:49:47 -06:00
Stuart Carnie 895b45385f
Merge pull request #9038 from influxdata/sgc-influxql-refactor
move RewriteStatement and neldermead to influxdb/query package
2017-10-30 10:42:57 -07:00
Stuart Carnie 7435725e05 move RewriteStatement and neldermead to influxdb/query package 2017-10-30 10:24:15 -07:00
Stuart Carnie f2015afc0b
Merge pull request #9037 from influxdata/sgc-store-frames
add additional frame types to store tool; count total points processed
2017-10-30 10:18:37 -07:00
Luís Eduardo 905945ed71 Support long lines when importing with the client
Fixes #8986.
2017-10-30 17:16:41 +00:00
Stuart Carnie 9e836aefb2 add additional frame types to store tool; count total points processed 2017-10-30 09:24:15 -07:00
Mark Rushakoff a99db451b3
Merge pull request #9024 from influxdata/mr-changelog
Include CHANGELOG updates from 1.3.7 and earlier
2017-10-27 14:45:34 -07:00
Jonathan A. Sternberg 6b3162ed94
Merge pull request #8959 from influxdata/js-dockerfile
Use multistage builds in a Dockerfile to compile and create an image from source
2017-10-27 16:41:13 -05:00
Jonathan A. Sternberg 2b090bc156 Use multistage builds in a Dockerfile to compile and create an image from source
The multistage build lets us build the image inside of one container and
then copy over the results to a new image so the build dependencies
aren't needed in the final container.

The resulting container should be identical to the official built ones
for every release, but coming from source instead.
2017-10-27 10:28:14 -05:00
Mark Rushakoff e7a1be3e1f Include CHANGELOG updates from 1.3.7 and earlier 2017-10-26 16:13:23 -07:00
Stuart Carnie c38f46a4cd Merge pull request #9023 from influxdata/sgc-nil-check
handle nil *indexSeriesCursor
2017-10-26 13:42:23 -07:00
Stuart Carnie d99cabb5d2 handle nil *indexSeriesCursor 2017-10-26 13:32:05 -07:00
Stuart Carnie 2f6fdef500 Merge pull request #9022 from influxdata/sgc-check-nil
check nil iterator
2017-10-26 12:56:12 -07:00
Stuart Carnie ab17e15caf check nil iterator; check nil cursor when no data 2017-10-26 12:54:59 -07:00
Jonathan A. Sternberg 0de9fbcb7e Merge pull request #9008 from DiegoReiriz/patch-1
Updated Queries.md
2017-10-26 13:48:35 -05:00
Ben Johnson da46ac54e8 Merge pull request #8893 from benbjohnson/handle-nil-measurement-iterator
Handle nil MeasurementIterator.
2017-10-26 11:26:06 -06:00
Ben Johnson 49c1fca036
Handle nil MeasurementIterator. 2017-10-26 11:25:46 -06:00
Jonathan A. Sternberg 11c62eb9ab Merge pull request #9020 from influxdata/js-9018-panic-on-task-manager-close
Do not panic when the task manager closes if a killed query is still running
2017-10-26 12:10:57 -05:00
Jonathan A. Sternberg 764e4e501c Do not panic when the task manager closes if a killed query is still running
This prevents a channel from being closed twice when the task manager is
closed. That same check existed to make sure a panic didn't happen when
detaching a killed query, but the check was forgotten when closing the
task manager.

This also adds a new error when attempting to kill an already killed
query.
2017-10-26 11:31:18 -05:00
Edd Robinson 26cc46d55d Merge pull request #8984 from influxdata/er-show-cardinality
Add EXACT CARDINALITY commands
2017-10-26 17:16:30 +01:00