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
Ben Johnson
8d1143497f
Merge pull request #2223 from influxdb/req-vote-term-notify
...
Always notify term change on RequestVote.
2015-04-09 13:57:39 -06:00
Ben Johnson
3f0adcf105
Always notify term change on RequestVote.
...
Previously there was a bug that ignored new terms from incoming vote
requests when the sender's log was out of date.
2015-04-09 13:33:04 -06:00
Cory LaNou
a8b4b874f9
update changelog fixing rc#
2015-04-09 13:25:41 -06:00
Cory LaNou
da3a3ce4a8
update changelog for #2214
2015-04-09 13:18:59 -06:00
Cory LaNou
14042e31b9
Merge pull request #2214 from n1tr0g/exec_cmd
...
Added the option to influx CLI to execute single command and exit.
2015-04-09 13:16:51 -06:00
Jason Wilder
b369667012
Merge pull request #2222 from influxdb/sample-toml
...
Update sample toml to include join-urls
2015-04-09 12:51:04 -06:00
Jason Wilder
423ce6ab2b
Update sample toml to include join-urls
...
Fixes #2221
2015-04-09 12:38:41 -06:00
Philip O'Toole
0b84a93f3f
Update CHANGELOG.md
2015-04-09 11:18:26 -07:00
Philip O'Toole
21279e54f7
Merge pull request #2219 from influxdb/persist_term
...
Persist term to disk when it changes
2015-04-09 11:17:18 -07:00
Philip O'Toole
566f6558b4
Persist term to disk when it changes
2015-04-09 11:12:09 -07:00
Philip O'Toole
73de68c67a
Update CHANGELOG for PR 2217
2015-04-09 11:11:42 -07:00
Ben Johnson
7815d47bc3
Merge pull request #2217 from influxdb/cluster-fix
...
Cluster fix
2015-04-09 11:52:52 -06:00
Todd Persen
2adafea86b
Merge pull request #2199 from influxdb/broker-wait
...
Wait for first applied index on Log.Join().
2015-04-09 10:50:14 -07:00
Todd Persen
03e2f5f3e6
Update CHANGELOG.md
2015-04-09 10:47:49 -07:00
Todd Persen
ff15388db8
Merge pull request #2121 from influxdb/fix-2015
...
Parser refactor
2015-04-09 10:47:04 -07:00
Philip O'Toole
0e3c7a3e6c
Disable CQ test
2015-04-09 10:32:07 -07:00
David Norton
25cea58635
refactor scanning & parsing of identifiers
2015-04-09 13:21:13 -04:00
Ben Johnson
37829ea4c3
Only update term if higher in candidate loop.
...
This fixes a bug where votes were overwritten because terms were
being reset by incoming terms that were the same.
2015-04-09 10:55:39 -06:00
Ben Johnson
47fa90fae2
Remove zero-length data panic from messaging.Conn.
...
This check is no longer necessary as the checksum added
to the messaging.Message will catch any data errors.
2015-04-09 10:53:43 -06:00
Jason Wilder
a12bd42330
Close the messaging client on a data node when closing
...
Just setting it to nil was leaking resources
2015-04-09 10:00:46 -06:00
Jason Wilder
cf3a0c979d
Clear connections after closing them
2015-04-09 09:57:03 -06:00