Jonathan A. Sternberg
0042866002
Teach the AuxIterator how to background
...
Now the AuxIterator will know when it is backgrounded so that it can
stop reading from the primary iterator when all of the child iterators
have been closed.
2016-03-14 11:12:02 -04:00
Jonathan A. Sternberg
16f4c4fd70
Merge pull request #5990 from influxdata/js-5973-match-iterators-for-math-expressions
...
Various fixes for binary expression math between iterators
2016-03-14 09:09:13 -04:00
Jonathan A. Sternberg
f1faf106b1
Ensure binary expressions cannot mix aggregates and raw fields
...
Closes #5973 .
2016-03-12 11:31:16 -05:00
Nathaniel Cook
2ce94c4ee9
kapacitor fixes for stress
2016-03-11 17:34:34 -07:00
joelegasse
3d544a9136
Merge pull request #5995 from influxdata/jl-type-switch
...
Change type-switch a few places to reduce allocations.
2016-03-11 17:49:56 -05:00
Jason Wilder
eedf68fe79
Merge pull request #5702 from Vidhuran/bug4688-admin-ui-fixes
...
removed condition check to check if values are returned for queries so that the admin ui displays the same results as cli
2016-03-11 15:18:17 -07:00
Jonathan A. Sternberg
74d51e3842
Support nil values in binary math expressions with two iterators
...
Related to #5959 and #5973 .
2016-03-11 15:57:35 -05:00
Joe LeGasse
344e5abd41
Changed type-switch a few places to reduce allocations.
...
Slices of tsm1.Value interfaces are only ever used with all the same
types, and the previous code would switch on the type returned from a
call to Value(), which allocated and returned an interface{} object for
the underlying value.
This change instead type-switches on the tsm1.Value object itself,
allowing it direct access to the underlying value field, eliminating the
unecessary allocations.
2016-03-11 15:57:05 -05:00
Jonathan A. Sternberg
a33ce8052f
Merge pull request #5970 from influxdata/js-5968-forbid-math-in-function-calls
...
Forbid binary expressions in function calls
2016-03-11 15:49:06 -05:00
Edd Robinson
45dfa36230
Add default port
2016-03-11 12:40:16 -07:00
Ben Johnson
beda072426
add support for remote expansion of regex
...
This commit moves the `tsdb.Store.ExpandSources()` function onto
the `influxql.IteratorCreator` and provides support for issuing
source expansion across a cluster.
2016-03-11 12:40:07 -07:00
Jason Wilder
31a964e890
Move leases to meta.Data
2016-03-11 12:27:08 -07:00
Cory LaNou
c972c717b6
remove `client.NodeID`
2016-03-11 12:27:08 -07:00
Ben Johnson
b1582ce1c9
add RetentionPolicyInfo marshaling
2016-03-11 12:27:08 -07:00
Nathaniel Cook
c57e404bfc
Merge pull request #5992 from influxdata/nc-client-update
...
Add AddPoints method to v2 client
2016-03-11 12:14:40 -07:00
Jason Wilder
3990e93bf7
Merge pull request #5981 from otoolep/default_logging
...
Format initial logging
2016-03-11 11:25:49 -07:00
Philip O Toole
b9cbff8ac4
Format all logging
2016-03-11 10:05:54 -08:00
Nathaniel Cook
68f468817d
add AddPoints method to v2 client
2016-03-11 10:28:05 -07:00
Jonathan A. Sternberg
09a9b3c53e
Fix aux iterators to respect early closing
...
The primary input iterator for an aux iterator would continue trying to
send points to a closed channel even after an aux iterator had already
been closed.
This changes the aux iterators to use sync.Cond instead of channels and
lower level syncing primitives for handling buffered input/output.
Fixes #5974 .
2016-03-11 12:07:32 -05:00
Vidhuran Harichandra Babu
90b9291953
Removed condition to check if values are returned for queries so that the admin ui displays the same results as cli.
...
Fixes #4688
2016-03-11 06:29:19 +02:00
Jack Zampolin
156cc5eddf
Merge pull request #5975 from influxdata/md-stress-panic
...
Fix concurrent map access
2016-03-10 11:57:37 -08:00
Michael Desa
11424a889f
Fix concurrent map access
2016-03-10 10:06:08 -08:00
Jonathan A. Sternberg
620addadde
Forbid binary expressions in function calls
...
Also fixes derivative calls with an aggregate function to require a
group by interval. The call without a group by interval doesn't make
sense as it will never return anything since it will always have one
point.
Fixes #5968 .
2016-03-10 11:38:47 -05:00
Jason Wilder
db9d403fd1
Update changelog
...
[ci skip]
2016-03-10 09:08:25 -07:00
Jason Wilder
998cb0a6a2
Merge pull request #5963 from influxdata/jw-deadlock
...
Fix possible deadlock
2016-03-10 09:01:31 -07:00
Jonathan A. Sternberg
df4c305012
Merge pull request #5961 from influxdata/js-5959-top-incompatible-with-binary-expr
...
Forbid using top() or bottom() in a binary expression
2016-03-10 10:45:52 -05:00
Jason Wilder
c44195d999
Convert measurementToRegex to exported func
...
Make it consistent with other conventions where exported funcs
take a lock.
2016-03-09 17:45:37 -07:00
Jason Wilder
f020547d60
Update changelog
2016-03-09 17:42:06 -07:00
Jason Wilder
992c78ee22
Remove period shard maintenance goroutine
...
This is no longer used in tsm and just peridocially locks everything
for no reason now.
2016-03-09 17:31:02 -07:00
Jason Wilder
ae2360df7c
Use read lock to expand sources
...
A write-lock was taken which locks the whole store during a query
that needs to expand sources. Under load, writes can start to fail.
2016-03-09 17:22:57 -07:00
Jonathan A. Sternberg
a55896a555
Merge pull request #5956 from influxdata/js-2715-allow-regex-for-field-values
...
Support using field regex comparisons in the WHERE clause
2016-03-09 17:38:39 -05:00
Jonathan A. Sternberg
f276c705df
Forbid using top() or bottom() in a binary expression
...
Fixes #5959 .
2016-03-09 17:32:17 -05:00
Edd Robinson
7dbc0f49d3
Merge pull request #5818 from influxdata/er-upgrade-error
...
Highlight upgrade info for old shards
2016-03-09 19:39:59 +00:00
Jason Wilder
bc26167f0c
Merge pull request #5957 from influxdata/jw-rollback
...
Fix rollback from 0.11
2016-03-09 11:57:06 -07:00
Edd Robinson
58c03448aa
Merge pull request #5514 from influxdata/er-engine-panic
...
Ensure shards and engine are safely closed
2016-03-09 18:56:36 +00:00
Jonathan A. Sternberg
a9032afabd
Merge pull request #5953 from influxdata/js-5949-validate-field-types
...
Return error message when improper types are used in SELECT
2016-03-09 13:54:36 -05:00
Jonathan A. Sternberg
4ba3386679
Support using field regex comparisons in the WHERE clause
...
Fixes #2715 .
2016-03-09 13:21:24 -05:00
Jason Wilder
4e8b4c41b8
Fix rollback from 0.11
...
0.11 no longer uses some files from 0.10. The code was a little
too aggressive and remove these files which would break rolling back
to 0.10 if necessary. Since shards must be migrated to tsm before
upgrading to 0.11 and a user might not know they still have old shard
formats, they would not be able to revert back to 0.11 and migrate
them.
Also adds uptime stats to usage data.
2016-03-09 11:19:47 -07:00
Jonathan A. Sternberg
546de3f7cb
Return error message when improper types are used in SELECT
...
Fixes #5949 .
2016-03-09 11:36:18 -05:00
Ben Johnson
425ef2c32a
Merge pull request #5937 from benbjohnson/show-series
...
Rewrite SHOW SERIES to SELECT
2016-03-08 15:36:04 -07:00
Ben Johnson
41dde61226
SHOW SERIES
2016-03-08 11:47:57 -07:00
joelegasse
8b6efb49d2
Merge pull request #5936 from influxdata/jl-influx-tsm
...
Fix b1 conversion regression added in 0.10.2
2016-03-08 12:09:19 -05:00
Joe LeGasse
af967a3cac
Fix b1 conversion regression added in 0.10.2
...
Fixes #5924
2016-03-08 11:17:59 -05:00
Gunnar
0d374ecca7
Merge pull request #5862 from influxdata/tp-fix-dynamic-admin-versioning
...
Get client version dynamically
2016-03-07 19:33:44 -08:00
gunnaraasen
d79fc52cab
Handle unknown versions
2016-03-07 18:31:35 -08:00
Todd Persen
31d5f13e86
Update CHANGELOG.md
2016-03-07 17:17:19 -08:00
Todd Persen
c7f8402dfe
Get client version dynamically
2016-03-07 17:16:38 -08:00
Nathaniel Cook
0bf7dd83aa
Merge pull request #5929 from influxdata/nc-kapacitor-qe
...
Export needed function for Kapacitor
2016-03-07 15:57:18 -07:00
Nathaniel Cook
4961a4435b
Fix nil comparison for top/bottom
2016-03-07 15:21:22 -07:00
Nathaniel Cook
46fc6e5516
Expose Reduce Functions for Kapacitor
2016-03-07 14:03:14 -07:00