Ben Johnson
4dc15a833e
rename engine.go to executor.go
2015-07-22 11:07:06 -06:00
Ben Johnson
de1f9a3736
refactor tsdb tests into test package
2015-07-22 11:07:06 -06:00
Philip O'Toole
d9ba1cc38d
Merge pull request #3420 from nathanielc/master
...
catch opentsdb malformed tags if they are missing keys or values
2015-07-22 10:06:09 -07:00
Philip O'Toole
8484d93273
Merge pull request #3428 from influxdb/optimize_key
...
Optimize Query Engine
2015-07-22 08:49:26 -07:00
Philip O'Toole
42b4a0b8bf
string return is totally unused
2015-07-22 02:55:13 -07:00
Philip O'Toole
45dcf9960c
Optimize the very inner loop of cursor iteration
...
This change moves tracking of next timestamp and values to simple
slices, as performance measurement showed that Peek() on TagSet cursors
was a huge performance drain. There is much more that can be done here,
but with this in place query performance has been restored to 0.9.1
levels.
This change also uses -1 to indicate that no value is available for a
given timestamp.
2015-07-22 02:55:09 -07:00
Nathaniel Cook
17cc09259b
change for better code clarity
2015-07-21 19:40:43 -06:00
Nathaniel Cook
3e29d8821a
catch opentsdb malformed tags if they are missing keys or values
2015-07-21 16:11:58 -06:00
Jason Wilder
8c715f72ab
Merge pull request #3415 from influxdb/jw-3411
...
Fix parse stuck in loop causing 500 timeout
2015-07-21 14:14:36 -06:00
Gunnar
dcc37354a9
Merge pull request #3409 from influxdb/ga-fix-3380
...
Parser fix, only allow ORDER BY ASC and ORDER BY time ASC
2015-07-21 12:17:40 -07:00
gunnaraasen
eca76ed7a3
Parser fix, only allow ORDER BY clause with time ASC
2015-07-21 12:07:56 -07:00
Philip O'Toole
122d81bd43
Cosmetic change to mapper unit tests
...
This change makes it clear that the key "value" in the Mapper output is
a special value, and not related ot the field name of the input data.
2015-07-21 11:05:25 -07:00
Jason Wilder
f9287ad47d
Fix parse stuck in loop causing 500 timeout
...
Fixes #3411
2015-07-21 11:20:14 -06:00
Jason Wilder
7ee7dfd6e1
Merge pull request #3405 from jhorwit2/jah/3379
...
Fixes #3379 - added check for no fields in point
2015-07-21 11:18:58 -06: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
Josh Horwitz
e19dea8703
Fixes #3379 - added check for no fields in point
2015-07-21 09:01:51 -04: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