Commit Graph

6744 Commits (dc1d3a491c9aba429cdab28712e7c46c47e81896)

Author SHA1 Message Date
Ben Johnson cc0607a5cf remove Engine.Flush() 2015-07-22 11:08:10 -06:00
Ben Johnson a7f50ae03c refactor storage to engine 2015-07-22 11:08:10 -06:00
Philip O'Toole 3482c50ae3 Update CHANGELOG for PR 3334
[ci skip]
2015-07-22 10:07:14 -07:00
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
gunnaraasen 785a8b4d9a Sanitize password from HTTP logs 2015-07-21 18:28:05 -07:00
Todd Persen 0780cf6599 Add a config test for HTTPS. 2015-07-21 18:20:08 -07:00
gunnaraasen acc277ec8e Redact passwords from create user and set password statements 2015-07-21 17:53:21 -07:00
gunnaraasen 20de2bc914 Log authentication enabled message 2015-07-21 17:53:12 -07:00
Paul Dix 205a10dbe3 Update sample config with information on batching for UDP, Graphite, and CollectD 2015-07-21 17:48:52 -07: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