Commit Graph

9760 Commits (b12cf04a73cce3780fb469bede6e4467dd9255f2)

Author SHA1 Message Date
Jonathan A. Sternberg b12cf04a73 Merge pull request #5950 from influxdata/js-5939-query-manager
Implement a query manager for running queries
2016-03-21 16:02:26 -04:00
David Norton 8afff49e2b Merge pull request #6072 from influxdata/dn-rename-func
rename CloneUserInfos to CloneUsers
2016-03-21 12:54:19 -04:00
Jonathan A. Sternberg 504bac53a9 Update changelog for the query management feature 2016-03-21 12:40:56 -04:00
Jonathan A. Sternberg d03125cdf7 Unit tests for the query manager 2016-03-21 12:40:54 -04:00
David Norton b2d30e4593 rename CloneUserInfos to CloneUsers 2016-03-21 12:16:53 -04:00
Jonathan A. Sternberg 9246816c66 Implement http.CloseNotifier interface for gzipResponseWriter
This seems to have been an oversight since all of the response writers
are supposed to implement this interface, but the gzipResponseWriter
didn't implement this interface for some reason.
2016-03-21 12:07:07 -04:00
Jonathan A. Sternberg 6655ca7769 Create a new interrupt iterator that will stop emitting points after an interrupt
Use of the iterator is spread out into both `IteratorCreators` and
inside of the iterators themselves. Part of the interrupt must be
handled inside of the engine so it stops trying to emit points when an
interrupt is found and another part of the interrupt has to happen when
combining the iterators so it doesn't just start reading the next shard.
2016-03-21 12:07:07 -04:00
Jonathan A. Sternberg 3e580bcf04 Allow a query to be killed
While this allows a query to be killed, it doesn't really do anything
yet since the interrupt happens only after the first row gets emitted
(the entire first series).

This section of code will likely have to be refactored to make this work
since we need a way to interrupt a currently running iterator.
2016-03-21 12:07:06 -04:00
Jonathan A. Sternberg 117f62c33e Implement a simple task manager for queries
The currently running queries can be listed with the command
`SHOW QUERIES` and it will display the current commands that have been
run, the database they were run against, and how long they have been
running.
2016-03-21 12:06:06 -04:00
Jonathan A. Sternberg d61d75f55d Merge pull request #6051 from mvadu/Fix_Windows_CreateDB
Fix Issue#6042, #6030 CreateDatabase failure on Windows
2016-03-18 13:13:47 -04:00
mvadu 8af9170c1d Add platform specific override for file rename.
In windows, it first deletes the target file (if it already exists).
2016-03-18 21:45:29 +05:30
Jonathan A. Sternberg 43a5e84aaf Merge pull request #6047 from influxdata/js-6040-boolean-distinct
Support the distinct() call for booleans
2016-03-17 17:17:21 -04:00
Edd Robinson a4b00aeeba Merge pull request #6046 from influxdata/er-update-licence
Update dependency licenses
2016-03-17 16:32:45 +00:00
Jonathan A. Sternberg d24f9a9fb5 Merge pull request #5756 from influxdata/js-5744-integer-literal-support
Support integer literals in the query language
2016-03-17 10:49:51 -04:00
Jonathan A. Sternberg e47426ff6e Support integer literals in the query language
Numbers in the query without any decimal will now be emitted as integers
instead and be parsed as an IntegerLiteral. This ensures we keep the
original context that a query was issued with and allows us to act more
similar to how programming languages are typically structured when it
comes to floats and ints.

This adds functionality for dealing with integers promoting to floats in
the various different places where math are used.

Fixes #5744 and #5629.
2016-03-17 10:37:34 -04:00
Jason Wilder 334e93eec4 Merge pull request #6033 from influxdata/jw-fixes
Improve logging and blocked connection handling in muxer
2016-03-17 08:30:44 -06:00
Jonathan A. Sternberg 2e7816ebd9 Support the distinct() call for booleans
Normalize the time for the distinct() call to either be at the beginning
of the group by interval or the start time similar to every other call.
The timestamp previously just showed the first time found and didn't
make a lot of sense in the context of what the function was supposed to
do.

Fixes #6040.
2016-03-17 09:32:54 -04:00
Edd Robinson e9beece98e Add new dependency licenses 2016-03-17 11:26:04 +00:00
Edd Robinson 64b5737c7b Order dependencies 2016-03-17 11:13:13 +00:00
Jonathan A. Sternberg 9f2b1ee151 Merge pull request #6038 from influxdata/js-6034-empty-query-result-when-using-name
Rename the special condition "name" to "_name" to reduce conflicts
2016-03-16 20:31:28 -04:00
Ross McDonald 6a461d8a34 Merge pull request #5909 from influxdata/ross-build-updates
Minor Build Updates
2016-03-16 16:53:23 -05:00
Ross McDonald c4d7dd7093 Added support for build tags using the
`--build-tags=<tag1>[,<tag2>...]` syntax. Added a `--name` flag to
control the name of the produced package.
2016-03-16 16:31:23 -05:00
Gunnar c6ff2588d1 Merge pull request #6025 from influxdata/ga-remove-json
Remove deprecated JSON write path
2016-03-16 14:17:23 -07:00
Jonathan A. Sternberg d75428f79f Rename the special condition "name" to "_name" to reduce conflicts
Fixes #6034.
2016-03-16 17:17:04 -04:00
Todd Persen 40ec941cd4 Merge branch 'Vidhuran-bug3503-admin-ui-multiple-queries' 2016-03-16 13:22:45 -07:00
Todd Persen 58d1c8ded0 Display results of multiple queries in Admin UI, Not just the first query. 2016-03-16 13:22:37 -07:00
Jason Wilder f7c768e437 Improve logging and blocked connection handling in muxer
If the mux listener gets a invalid request, log the IP address of the
client to help users track down the issue.

Since the listener is started before the services that use it are ready,
it can receive requests and block indefinitely waiting for the handler
channel to receive.  If the channel is blocked, all the channel send
to timeout to prevent clients form accruing blocked connnecitons.
2016-03-16 12:26:14 -06:00
Ross McDonald b3ae0be37f Fixed bug with release candidate being applied to tar and zips. 2016-03-16 11:02:11 -05:00
Ross McDonald 6570da0b14 Minor updates to build.py and test.sh:
- Removed incorrect debug statement
- Switched GOARM value from arm64 to 7
- Switched order of generate and get call
- Added 'go generate' command to circle builds in test.sh
2016-03-16 11:02:01 -05:00
Jason Wilder 62cb0967e2 Merge pull request #6023 from influxdata/jw-dataonly
Add a build tag to disable all services except TCP endpoint
2016-03-16 09:11:12 -06:00
David Norton 41b0805d70 Merge pull request #6018 from influxdata/meta-sync
add snapshotter client
2016-03-16 11:07:11 -04:00
David Norton 515dadb1ef remove commented code 2016-03-16 08:58:55 -04:00
gunnaraasen 773486ae35 Update CHANGELOG.md 2016-03-15 23:55:48 -07:00
gunnaraasen d96eef4c52 Remove deprecated JSON write path 2016-03-15 19:52:41 -07:00
Jason Wilder defc594139 Add a build tag to disable all services except TCP endpoint 2016-03-15 20:27:01 -06:00
Jason Wilder 0703b85589 Add 0.10.3 changelog entries
[ci skip]
2016-03-15 16:13:51 -06:00
Paul Dix ac091ec2ba Merge pull request #6021 from influxdata/pd-0-11-release-notes
Update CHANGELOG with 0.11 release notes
2016-03-15 15:00:59 -07:00
Paul Dix ce8f994d55 Update CHANGELOG with 0.11 release notes 2016-03-15 14:40:36 -07:00
Jonathan A. Sternberg eb2d49dbe4 Merge pull request #6007 from benbjohnson/explicit-system-names
Allow querying of system-like series
2016-03-15 16:15:17 -04:00
David Norton f775514e0d add snapshotter client 2016-03-15 13:48:26 -04:00
Ross McDonald ae311eaaa3 Merge pull request #5993 from influxdata/ross-influx-tsm-doc-update
Update influx_tsm README with information about shard permissions
2016-03-15 11:18:23 -05:00
Ross McDonald 194b7db848 Updated influx_tsm readme with information about shard permissions. 2016-03-15 08:51:32 -05:00
Edd Robinson ca0420e31d Merge pull request #6013 from influxdata/er-drop-shard-fix
Wire up DROP SHARD to executor
2016-03-15 13:41:27 +00:00
Edd Robinson f4f20f17f2 Wire up DROP SHARD to executor 2016-03-14 23:47:55 +00:00
Edd Robinson c5bd96dfba Merge pull request #6012 from influxdata/er-single-drop-shard
DROP SHARD
2016-03-14 23:38:19 +00:00
Edd Robinson e5a41f7796 DROP SHARD 2016-03-14 22:59:55 +00:00
David Norton ad8605d258 Merge pull request #6010 from influxdata/dn-fix-create-user
make CREATE USER default to IF NOT EXISTS
2016-03-14 18:55:05 -04:00
David Norton 96327f3863 remove unnecessary change 2016-03-14 18:43:49 -04:00
David Norton a2125bee24 check existing user with bcrypt 2016-03-14 18:40:25 -04:00
David Norton a369ed8565 update CHANGELOG.md 2016-03-14 17:48:53 -04:00