Commit Graph

6621 Commits (d47f30b2091fd59cf630ec9df5330dda37704b12)

Author SHA1 Message Date
Todd Persen d47f30b209 Update admin assets for v0.9.2 2015-07-23 17:13:02 -07:00
Philip O'Toole bfc55c16aa Small refactor of store-creation test code 2015-07-21 09:44:59 -07:00
Philip O'Toole 311cd28577 The nightly version is confusing - simplify it
It keeps picking up an older v0.9.1-rc1 tag, since that is the only tag reachable by 'git describe --tags', so let's revert to something simpler.
2015-07-21 07:52:18 -07:00
Philip O'Toole 112da5205b Add 2 passing test cases around multi-shard select 2015-07-21 07:28:20 -07:00
Philip O'Toole 29570ba563 Merge pull request #3406 from influxdb/math_tests
Basic mult and divide tests on aggregates
2015-07-20 19:09:29 -07:00
Philip O'Toole 178856e97e Basic mult and divide tests on aggregates 2015-07-20 19:02:03 -07:00
Philip O'Toole 41d6c87c57 Merge pull request #3402 from influxdb/fields_as_sets
Remove restrictions on existence of fields and tags
2015-07-20 17:28:38 -07:00
Philip O'Toole 7e0fa132c8 Raw query with no valid SELECT fields is not data 2015-07-20 15:59:52 -07:00
Philip O'Toole aeb51ec2f5 Remove existence restrictions on field and tags 2015-07-20 15:44:07 -07:00
Philip O'Toole 9b19e1e664 Correctly build union of fields and tags
Previously the fields and tags were getting overwritten with every loop
of Sources.
2015-07-20 14:44:40 -07:00
Philip O'Toole df3caefcf9 stringSet now takes varadic slice to add 2015-07-20 14:40:39 -07:00
dgnorton 2aa2fe90dc Merge pull request #3399 from influxdb/mapper-use-statement
mapper takes Statement instead of *SelectStatement
2015-07-20 15:57:56 -04:00
David Norton 7e20c53025 mapper takes Statement instead of *SelectStatement 2015-07-20 15:48:38 -04:00
Philip O'Toole 4bd8f3e793 Update CHANGELOG for PR 3376
[ci skip]
2015-07-20 12:38:44 -07:00
Philip O'Toole 30345f5c49 Merge pull request #3376 from influxdb/mapping_over_tcp
Remote shard mapping over TCP
2015-07-20 12:37:27 -07:00
Philip O'Toole 10eecb441d Allow remote mapping to be forced
This is useful primarily for testing.
2015-07-20 10:44:45 -07:00
Philip O'Toole 425a65fca1 RemoteShard mapping now performed over TCP
With this change remote mapping no longer uses HTTP, as the HTTP ports
exposed by nodes on the cluster are not known cluster wide. The TCP
ports exposed by the cluster service are, so this change uses that
functionality. Each RemoteMapper has its own dedicated connection pool
for each node, and remote mapping TCP connections are in no way coupled
with query TCP connections.
2015-07-20 10:44:38 -07:00
Philip O'Toole 5206c0e4b9 Update CHANGELOG for PR 3256 2015-07-19 12:02:53 -07:00
Philip O'Toole 641b38f394 Merge pull request #3256 from cannium/remove-unnecessary-timeout
Remove unnecessary timeout in WaitForLeader()
2015-07-19 12:01:22 -07:00
Philip O'Toole bf85ad45c8 Merge pull request #3389 from influxdb/lm_code_review
LocalMapper code review
2015-07-18 22:39:45 -07:00
Philip O'Toole 4569f3d2ea Factor out aggregate-only code in LocalMapper Open 2015-07-18 22:37:41 -07:00
Philip O'Toole 6b5b652f39 Correct explanatory comments for LocalMapper 2015-07-18 22:28:32 -07:00
Philip O'Toole 93be8bad6a Merge pull request #3387 from influxdb/one_mapper
Move to a single LocalMapper type
2015-07-18 18:26:37 -07:00
Philip O'Toole 3695ebcd4e Move to a single LocalMapper type 2015-07-18 16:10:12 -07:00
Philip O'Toole ee614054a1 Merge pull request #3386 from influxdb/remove_dead_code
Remove unused field attribute
2015-07-18 13:21:59 -07:00
Philip O'Toole a2e3f0af3c Remove unused field attribute 2015-07-18 13:19:36 -07:00
Philip O'Toole 8279a5f658 Merge pull request #3385 from influxdb/remove_dead_code
Remove unused decoders attribute
2015-07-18 13:18:48 -07:00
Philip O'Toole abc05b0fa8 Remove unused decoders attribute 2015-07-18 13:14:58 -07:00
Philip O'Toole a53fd58027 Merge pull request #3384 from influxdb/merge_executors
One Executor to rule them all
2015-07-18 12:48:38 -07:00
Philip O'Toole 5016caabb1 One Query Executor to rule them all
This change significantly simplifies query executor code. Before this
change there were two types of executors -- RawExecutor and
AggregateExecutor. These two types only differed in one function
Execute(). Otherwise all other methods on the Executors were common and
duplicated between executors

This change merges the two executors into a single type called, wait for
it, Executor and simply switches execute functions depending on the
statement type.
2015-07-18 11:27:17 -07:00
Philip O'Toole 5ea2fb81f3 Merge pull request #3370 from influxdb/cluster_test_rename
Rename cluster unit test function
2015-07-17 13:08:41 -07:00
Philip O'Toole a19cea36bd Rename cluster unit test function
Makes future tests, related to shard mapping, clearer.
2015-07-17 13:05:15 -07:00
Philip O'Toole 6fc89b8442 New section for 0.9.3 because 0.9.2 has branched 2015-07-17 11:54:14 -07:00
Philip O'Toole f549910a18 Merge pull request #3279 from LK4D4/fix_style_else
Fix style issues with else
2015-07-17 11:53:42 -07:00
Gunnar d1da730950 Merge pull request #3244 from influxdb/ga-admin-privilege-2
Wire up admin privilege grant and revoke (#2). Fixes #2872
2015-07-17 11:40:15 -07:00
gunnaraasen 9ba37325f6 Fixes authorization.
Adds GRANT and REVOKE statements for admin privilege. Adds authorization to the query endpoint.
2015-07-17 11:33:06 -07:00
Alexander Morozov 675eacbf2c Fix style issues with else
In go it's better to just continue flow without "else", if it is return in
"if" statement.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-07-17 11:10:23 -07:00
Philip O'Toole f404a8ac31 Merge pull request #3365 from influxdb/fix/parser/require_regex_after_regex_operator
Require a regex after a regex operator when parsing.
2015-07-17 11:05:00 -07:00
Robert Nubel 930a1aa523 Require a regex after a regex operator when parsing.
Previously, parseRegex could return an empty RegexLiteral
and the expression parser would put that into the right-hand
side of the expression, causing a nil-pointer panic when
the query was later executed. This change adds a check at
the parsing level and returns an error message if a regex
operator (e.g. =~) is not followed by an actual regex.
2015-07-17 11:02:45 -07:00
Philip O'Toole 8ad0aab5e3 Merge pull request #3364 from influxdb/use-with-semicolon
Allow semicolons to trail database names in "use"
2015-07-17 10:59:01 -07:00
Philip O'Toole 62f0399645 Add another "use;" unit test 2015-07-17 10:57:01 -07:00
Timothy Raymond 90f6725da1 Update CHANGELOG 2015-07-17 10:54:27 -07:00
Timothy Raymond 21582ad0d6 Allow semicolons to trail database names in "use"
Prior to this commit, the "use" command treated trailing semicolons as
significant parts of the database name. This lead to a confusing user
experience since other parts of influxql treat the trailing semicolon as
a statement separator, or appear to ignore it. A typical use case looks
something like:

> show databases;
-- snip --
> use foo;

This commit trims off trailing semicolons from database names in "use"
commands if present to match user expectations.

Fixes #2258
2015-07-17 10:54:07 -07:00
Philip O'Toole 3e1b0fed78 Merge pull request #3345 from influxdb/ga-show-rp-syntax
Make `SHOW RETENTION POLICIES` consistent by requiring `ON`
2015-07-17 10:46:24 -07:00
Philip O'Toole f73e80b8d1 Merge pull request #3359 from influxdb/single_mapper_output_type
One mapperOutput type to rule them all
2015-07-17 08:31:42 -07:00
Philip O'Toole 23b95bf939 Add comment re the complex mapperOutput type 2015-07-17 08:27:53 -07:00
Philip O'Toole b5984a7032 There is now a single StatefulMapper 2015-07-17 08:27:53 -07:00
Philip O'Toole 5f357020c6 It's not raw or aggregate, it's just "mapper" 2015-07-17 08:27:49 -07:00
Philip O'Toole 56b61beff9 Remove aggMapperOutput type
It's identical to rawMapperOutput type.
2015-07-17 08:23:36 -07:00
Philip O'Toole 12f50eba04 Remove aggMapperValue type
Identical to rawMapperValue type.
2015-07-17 08:23:36 -07:00