Commit Graph

5167 Commits (50b08ff73f44626d893ac166ddc3d44ca543418b)

Author SHA1 Message Date
Philip O'Toole d33e6138c4 Disable DQ integration testing 2015-04-11 11:52:37 -07:00
Philip O'Toole 30fc6df740 Merge pull request #2202 from influxdb/distributed-queries-m
Distributed Queries
2015-04-11 11:34:38 -07:00
Dejan Golja c232e21ef1 improve exit code(s) for influx CLI 2015-04-11 20:45:08 +10:00
Philip O'Toole 5890025803 Make it clearer in tests where numbers come from 2015-04-10 16:30:49 -07:00
Philip O'Toole 5882f0b303 Update CHANGELOG 2015-04-10 16:19:46 -07:00
Philip O'Toole 61d7d0e329 Limix max remote response to 1MB
With a max remote reponse of 1GB, testing is unable to proceed.
2015-04-10 16:19:46 -07:00
Philip O'Toole 925de06277 Seems like partial replication reads take longer 2015-04-10 16:19:46 -07:00
Philip O'Toole 2c554f45ba Hook up "run_mapper" in top-level handler
No doubt about it, URL routing is definitely brittle and needs work.
2015-04-10 16:19:46 -07:00
Philip O'Toole 350795d8eb 'reflect' is not used 2015-04-10 16:11:34 -07:00
Philip O'Toole 559e1d40bd Use different base port range for DQ testing 2015-04-10 16:11:34 -07:00
Philip O'Toole 9282a8ae6d Fix compilation errors after parser merge 2015-04-10 16:11:34 -07:00
Paul Dix 37d4f2a265 Fixes based on feedback. 2015-04-10 16:11:34 -07:00
Philip O'Toole bf1a8aa1e4 Use uint64 for Series IDs
Fixes issue #1649
2015-04-10 16:11:34 -07:00
Paul Dix 8a25683b92 Fix opentsdb integration tests after rebase 2015-04-10 16:11:34 -07:00
Paul Dix b353119f8e Add change for distributed query engine 2015-04-10 16:11:34 -07:00
Paul Dix 7661546a47 Finish up distributed queries. 2015-04-10 16:11:34 -07:00
Paul Dix f5dfb147ee Fix wildcard group by query with time test to be correct. 2015-04-10 16:11:34 -07:00
Paul Dix 4a0c46830e Fix the group by multiple dimensions test to be correct. 2015-04-10 16:11:34 -07:00
Paul Dix d41b85a715 Remove the interval setting from NextInterval to make remote mappers work. 2015-04-10 16:11:34 -07:00
Paul Dix 6e8ea9ae91 Fix errors on limits and chunked raw queries. 2015-04-10 16:11:34 -07:00
Paul Dix 113995032e WIP: Initial implementation of remote mapper for distributed queries. 2015-04-10 16:11:34 -07:00
Paul Dix 728f5deb20 uncoment raw ordering test 2015-04-10 16:11:33 -07:00
Paul Dix 2a3ed635ed Add chunked responses and streaming of raw queries.
Refactored query engine to have different processing pipeline for raw queries. This enables queries that have a large offset to not keep everything in memory. It also makes it so that queries against raw data that have a limit will only p
rocess up to that limit and then bail out.

Raw data queries will only read up to a certain point in the map phase before yielding to the engine for further processing.

Fixes #2029 and fixes #2030
2015-04-10 16:11:33 -07:00
Paul Dix 5e82ca562d Update server and handler to work with streamed responses 2015-04-10 16:11:33 -07:00
Philip O'Toole d79702bc5e Update CHANGELOG for PR 2213 2015-04-10 16:07:34 -07:00
Philip O'Toole cfea766039 Merge pull request #2213 from cannium/seed
Give a seed to rand to make it really random
2015-04-10 16:06:24 -07:00
Ben Johnson 3404386a02 Merge pull request #2236 from influxdb/term-signal
Term signal
2015-04-10 17:02:13 -06:00
Philip O'Toole cbc2d8ba94 Merge pull request #2235 from influxdb/gopath_list
Use the first directory of GOPATH
2015-04-10 13:22:06 -07:00
Cory LaNou 93d06cb764 Merge pull request #2237 from influxdb/refactor-query-and-wait
Refactor the queryAndWait in the integration tests
2015-04-10 14:05:16 -06:00
Ben Johnson eaf4bfca0a Fix term signal.
This commit changes raft so that term changes are made immediately and
term change signals are made afterward. Previously, election timeouts
were invalidated by incoming term changes which caused an election loop.

Stale term was also fixed and http/pprof was added too.
2015-04-10 13:52:20 -06:00
Cory LaNou f6f6323726 Refactor the queryAndWait in the integration tests 2015-04-10 13:22:58 -06:00
Philip O'Toole d1aeec30b1 Use the first directory of GOPATH 2015-04-10 11:29:20 -07:00
Jason Wilder a5e180ca31 Merge pull request #2229 from influxdb/jw-run
Close resources when stopping a node
2015-04-09 22:10:50 -06:00
Jason Wilder 9b2e2bbbc9 Make Node.Close() return error instead of fataling 2015-04-09 20:51:46 -06:00
Jason Wilder 79390d0de6 Remove base port fiddling in server integration test 2015-04-09 20:51:46 -06:00
Jason Wilder 2e5db51441 Fix data race w/ stopping admin server
WARNING: DATA RACE
Write by goroutine 9:
  github.com/influxdb/influxdb/admin.func·001()
      /home/ubuntu/.go_project/src/github.com/influxdb/influxdb/admin/admin.go:45 +0x18d

Previous read by goroutine 7:
  github.com/influxdb/influxdb/admin.(*Server).ListenAndServe()
      /home/ubuntu/.go_project/src/github.com/influxdb/influxdb/admin/admin.go:50 +0x3b4
  github.com/influxdb/influxdb/admin_test.func·001()
      /home/ubuntu/.go_project/src/github.com/influxdb/influxdb/admin/admin_test.go:13 +0x4a

Goroutine 9 (running) created at:
  github.com/influxdb/influxdb/admin.(*Server).ListenAndServe()
      /home/ubuntu/.go_project/src/github.com/influxdb/influxdb/admin/admin.go:49 +0x3a4
  github.com/influxdb/influxdb/admin_test.func·001()
      /home/ubuntu/.go_project/src/github.com/influxdb/influxdb/admin/admin_test.go:13 +0x4a

Goroutine 7 (finished) created at:
  github.com/influxdb/influxdb/admin_test.Test_ServesIndexByDefault()
      /home/ubuntu/.go_project/src/github.com/influxdb/influxdb/admin/admin_test.go:13 +0x1af
  testing.tRunner()
      /usr/local/go/src/testing/testing.go:447 +0x133
2015-04-09 20:51:46 -06:00
Jason Wilder c22909f984 Shutdown idle http connections when closing client
When closing a node (and client) in the tests, idle connections
remain even after the client is closed.
2015-04-09 20:51:46 -06:00
Jason Wilder 272f855d81 Close snapshot listener when closing a node 2015-04-09 20:51:46 -06:00
Jason Wilder 1494f70786 Close admin server when stopping the node 2015-04-09 20:51:40 -06:00
Jason Wilder cb51ace768 Avoid spurious logging when stopping streamer
If the client is closed, we'd always log a reconnect error even
when trying to close.
2015-04-09 20:45:02 -06:00
Ben Johnson c757039f70 Update term change immediately, only send signal. 2015-04-09 17:07:12 -06:00
dgnorton 61cd46333a Merge pull request #2228 from influxdb/fix-2215
fix #2215: allow keyword default to be unquoted
2015-04-09 18:01:59 -04:00
Philip O'Toole 22cec963b0 Add section for RC23 2015-04-09 13:50:04 -07:00
Philip O'Toole 5ade9551f5 Update CHANGELOG for rc22 2015-04-09 13:48:21 -07:00
David Norton 33c7bdd723 update CHANGELOG.md 2015-04-09 16:43:26 -04:00
David Norton a67e9a8a95 fix #2215: allow keyword default to be unquoted
InfluxDB creates a default retention policy named "default".  DEFAULT is
also a keyword in the language.  This required double quoting "default"
in the ALTER RETENTION POLICY statement.  This commit makes the parser
accept it unquoted for that one statement.
2015-04-09 16:37:20 -04:00
dgnorton 301c3a3eda Merge pull request #2225 from influxdb/fix-2224
fix #2224: make influxql keywords case insensitive
2015-04-09 16:13:43 -04:00
David Norton c2b61af3a1 fix #2224: make influxql keywords case insensitive 2015-04-09 16:08:28 -04:00
Philip O'Toole 5bfdba0348 Correct formatting in CHANGELOG 2015-04-09 13:00:25 -07:00
Philip O'Toole fe4993b132 Update CHANGELOG for PR 2223 2015-04-09 12:59:26 -07:00