Ben Johnson
01bfcf822b
Merge point parse & explode ( #12377 )
...
Merge point parse & explode
2019-04-24 10:30:16 -06:00
Ben Johnson
272f340c30
Merge point parse & explode.
2019-04-24 10:12:15 -06:00
Jonathan A. Sternberg
5e77bd1e28
feat(query): implement the read tag values rpc call in the query engine ( #13559 )
...
If a pattern is seen that matches the `v1.tagValues(...)` call, then it
will be replaced with a direct RPC call to read the tag values for the
selected tag key which should be better optimized than reading from the
storage engine tsm1 files.
2019-04-23 12:56:35 -05:00
Nathaniel Cook
bc17af2118
Merge pull request #13569 from influxdata/flux-staging
...
chore(dep): update Flux to v0.27.0
2019-04-22 18:34:39 -06:00
Kelvin Wang
7a72c363f2
remove org from bucket
2019-04-22 18:39:05 -04:00
Kelvin Wang
9d44ac3635
rename bucket organization to org
2019-04-22 18:39:01 -04:00
Nathaniel Cook
a49d1696dc
Merge branch 'master' into flux-staging
2019-04-22 14:25:33 -06:00
Christopher M. Wolff
c9f94d4ee8
refactor(query): add parameters to query controller config ( #13554 )
...
Recently added to controller config:
ConcurrencyQuota
MemoryBytesQuotaPerQuery
QueueSize
2019-04-22 12:11:32 -07:00
Jonathan A. Sternberg
e5657ca62b
feat(query): implement the read tag keys rpc call in the query engine ( #13513 )
...
If a pattern is seen that matches reading the tag keys, it will be
replaced with a direct RPC call to read the tag keys which should be
better optimized than reading from the storage engine tsm1 files.
2019-04-22 14:09:44 -05:00
Jonathan A. Sternberg
c98c29c1d1
feat(query): add push down rule for filters to read range procedure ( #13512 )
...
The read range procedure that uses the new rpc endpoints will now accept
filters using the same rules as the previous physical from procedure
spec.
2019-04-18 18:18:41 -05:00
Nathaniel Cook
4c77e3598b
Merge branch 'master' into flux-staging
2019-04-18 11:01:22 -06:00
Nathaniel Cook
4c1cdd2095
fix(query): add panic stack to logs for query logging recovery
2019-04-18 10:57:43 -06:00
Nathaniel Cook
07f98e31e7
fix(query): fix misc tests with new master Flux
2019-04-18 10:51:35 -06:00
Todd Persen
cd64ec8718
Fix typos in miscellaneous packages
2019-04-17 13:30:22 -07:00
Nathaniel Cook
8b918539db
Merge branch 'master' into flux-staging
2019-04-17 12:26:10 -06:00
Mark Rushakoff
d0517f288a
fix(query): return statistics even in encoder error case
...
The ProxyQueryServiceAsyncBridge was not returning statistics when there
was an encoder error. Because the encoder was just writing to an
io.Writer, it was possible that a remote disconnect could happen and
statistics could not be reported.
2019-04-16 09:51:13 -07:00
jlapacik
89bf535602
test(stdlib): skip flaky range test ( #13405 )
2019-04-15 10:08:50 -07:00
Christopher M. Wolff
77f1b0da4b
fix(query): re-enable some from/to bucket tests ( #13334 )
2019-04-12 07:15:27 -07:00
Adam
29df88127f
refactor(query/preauthorizer): preauthorizer now uses a BucketsAccessed method that accepts AST ( #13302 )
2019-04-12 07:15:27 -07:00
jlapacik
20b492bb13
refactor(influxql): compile with planner options ( #13288 )
2019-04-12 07:15:27 -07:00
Christopher M. Wolff
6c3f1a05b9
refactor(query): allow code to compile despite BucketsAccessed ( #13282 )
...
BucketsAccessed doesn't work currently with a private flux.Spec.
See this issue: https://github.com/influxdata/influxdb/issues/13278
This set of changes just allows code to compile until #13278 is fixed.
Note that preauthorization is not working in the meantime.
Fixes #13275 .
2019-04-12 07:15:27 -07:00
Christopher M. Wolff
5e09aa178b
fix(query): make mock Query close its results channel ( #13242 )
2019-04-12 07:15:27 -07:00
Christopher M. Wolff
16b9158b39
refactor(task): make tasks use new Query interface ( #13219 )
...
Fixes #12883 .
2019-04-12 07:15:27 -07:00
Christopher M. Wolff
dec149d22d
refactor(query): update testing InfluxQL testing compiler to use new interface ( #13107 )
...
Fixes influxdata/flux#1099 .
2019-04-12 07:15:27 -07:00
Nathaniel Cook
f37e65f26c
fix(query): change logging bridge to be a service instead
...
It is no longer necessary for the query logging to be a bridge as the
stats are available for consumption from the ProxyQueryService.
This change changes the logging bridge to directly implement the proxy
query service instead of implementing a bridge.
2019-04-11 14:46:45 -06:00
Jacob Marble
f56c42794b
chore(tracing): Cleanup ( #13296 )
...
* chore(tracing): Cleanup
* broken test
* fix unused var
* fix test
2019-04-10 19:28:21 -07:00
kelwang
be674622c6
Revert "fix(inmem): remove the old inmem implementation"
2019-04-09 14:24:40 -04:00
kelwang
d0022dfd5c
Merge pull request #13039 from zhulongcheng/rm-inmem-impl
...
fix(inmem): remove the old inmem implementation
2019-04-09 13:06:50 -04:00
jlapacik
8078b915fd
refactor(storage): ReadFilter storage operation
2019-04-08 15:59:37 -07:00
zhulongcheng
cacd6a8223
fix(inmem): replace inmem.Service with kv.Service
2019-04-08 15:18:38 +08:00
Jonathan A. Sternberg
72726cbe85
Merge branch 'master' into flux-staging
2019-04-01 10:59:43 -05:00
Lorenzo Affetti
c4ae25ca39
Merge pull request #12812 from influxdata/test/memory-limits
...
test(launcher): test for query memory limits and launcher test helpers
2019-03-28 15:48:16 +01:00
Christopher M. Wolff
f945b84642
refactor(stdlb): Change plan.PlanNode to plan.Node ( #12906 )
2019-03-27 14:19:04 -07:00
Nathaniel Cook
ca6f2ad0c6
Merge branch 'master' into flux-staging
2019-03-27 09:42:48 -06:00
Lorenzo Affetti
90a48c74f6
test(launcher): test for query memory limits and launcher test helpers
2019-03-27 15:50:35 +01:00
Lorenzo Affetti
a49bb73c04
chore: update Flux to v0.23.0
2019-03-26 18:04:18 +01:00
Christopher M. Wolff
56e688beee
fix(query): add Check method to query service interfaces ( #12866 )
...
Fixes influxdata/idpe#2756 .
2019-03-25 20:05:44 -07:00
Lorenzo Affetti
d18c6e5ffe
fix(query/stdlib/influxdb): return error on point explosion ( #12774 )
2019-03-20 15:45:31 +01:00
jlapacik
adbfddb0ef
Flux staging ( #12760 )
...
* deps: update flux-staging to master of both influxdb and flux (#12698 )
* test(stdlib): skip failing window test due to new trigger optimization (#12708 )
* chore: update Flux to v0.22.0
2019-03-19 22:19:24 -07:00
Mark Rushakoff
490499267b
fix(query): allow multiple calls to Release proxy bridge iterator
...
The asyncStatsResultIterator used inside QueryServiceProxyBridge assumed
that Release would only be called once. The godoc for ResultIterator
specifies that it is safe to call Release multiple times. Now, you can
do that without causing Release to block indefinitely.
2019-03-19 16:06:43 -07:00
jlapacik
9324d5c1a1
test(stdlib): skip failing window test due to new trigger optimization ( #12708 )
2019-03-19 09:16:47 -07:00
Jonathan A. Sternberg
862f168967
deps: update flux-staging to master of both influxdb and flux ( #12698 )
2019-03-18 16:13:02 -05:00
jlapacik
124a2c6b6c
test(stdlib): fix mismatched planner node types ( #12695 )
2019-03-18 14:54:48 -05:00
Jonathan A. Sternberg
0d045630c8
fix(query): release the query results before requesting statistics ( #12622 )
...
The statistics are only finalized after release is called. Defer a call
to release to ensure they are released, but explicitly release on
success to ensure that the statistics are finalized from all sources
before returning them.
2019-03-14 11:12:53 -05:00
Jonathan A. Sternberg
e3ac5ffecf
feat(query/mock): create a mock object for the query interface ( #12628 )
2019-03-14 11:08:48 -05:00
Kelvin Wang
dcc052b1c2
fix(query): fix same bucket name with different orgs
2019-03-08 20:37:05 -05:00
Jacob Marble
603a1f26e0
use tracing.StartSpanFromContext
2019-03-07 12:12:31 -07:00
Jacob Marble
ed4e3e130b
return n with error
2019-03-07 12:12:31 -07:00
Jacob Marble
9541e861a3
goimports -w -local github.com/influxdata/influxdb
2019-03-07 12:12:31 -07:00
Jacob Marble
92fa813c45
add spans to multiple services
2019-03-07 12:12:31 -07:00