Jason Wilder
f18dbf4e49
Use Limit Reader instead of fixed 1MB/1GB slice for DQ
...
Fixes #2243
2015-04-17 11:28:47 -06:00
Jason Wilder
fbaa37a5ef
Close resp body during write tests
2015-04-17 11:28:47 -06:00
Jason Wilder
69944622bc
Don't set data node until after it has joined or initialized
...
By setting it, data node requests can be served by the http handler
before the data node is actually ready.
Possible fix for:
2015/04/14 11:33:54 http: panic serving 10.0.1.8:62661: runtime error: invalid memory address or nil pointer dereference
goroutine 11467 [running]:
net/http.func·011()
/usr/local/go/src/net/http/server.go:1130 +0xcc
github.com/influxdb/influxdb.(*Server).broadcast(0xc20805cc00, 0xc208220000, 0x5d25e0, 0xc208869e80, 0x0, 0x0, 0x0)
/Users/jason/go/src/github.com/influxdb/influxdb/server.go:568 +0x227
github.com/influxdb/influxdb.(*Server).CreateDataNode(0xc20805cc00, 0xc2081c6e70, 0x0, 0x0)
/Users/jason/go/src/github.com/influxdb/influxdb/server.go:859 +0xe6
github.com/influxdb/influxdb/httpd.(*Handler).serveCreateDataNode(0xc20842ea00, 0x19378c0, 0xc2082207e0, 0xc2083191e0)
2015-04-17 11:28:47 -06:00
Philip O'Toole
033ab7aa21
Merge pull request #2318 from influxdb/no_need_for_done
...
Don't pass 'done' as it is unneeded
2015-04-16 16:30:55 -07:00
Philip O'Toole
2162be59e9
Don't pass 'done' as it is unneeded
2015-04-16 16:21:03 -07:00
Philip O'Toole
2d1e809fe6
Merge pull request #2315 from influxdb/remove_marshal
...
Remove debug commit
2015-04-16 13:00:28 -07:00
Philip O'Toole
d21a9493c6
Remove debug commit
2015-04-16 11:50:47 -07:00
Philip O'Toole
6415d3371f
Revert deliberate failing change to unit test
2015-04-16 10:57:01 -07:00
Jason Wilder
cea6c25c8e
Merge pull request #2312 from influxdb/2310
...
Re-use httpclient for continuous queries
2015-04-16 11:53:15 -06:00
Philip O'Toole
a682b39732
Force a test failure to test new CI process
2015-04-16 10:52:35 -07:00
Philip O'Toole
e652468254
Add details on CircleCI testing
2015-04-16 10:51:05 -07:00
Philip O'Toole
39ddd4faca
Merge pull request #2306 from influxdb/configure_circle_build
...
Explicitly configure CircleCI build setup
2015-04-16 10:46:30 -07:00
Jason Wilder
a69c746fbf
Update changelog
2015-04-16 11:45:42 -06:00
Philip O'Toole
4171c568a1
Remove tests that require import of influxd main
2015-04-16 10:28:21 -07:00
Philip O'Toole
cb57554c86
Explicitly configure CircleCI build setup
2015-04-16 10:26:16 -07:00
Jason Wilder
1de38ddff6
Re-use httpclient for continuous queries
...
Fixes #2310
2015-04-16 11:06:15 -06:00
Philip O'Toole
5c8d297afb
Merge pull request #2304 from influxdb/disable_racy_tests
...
Disable racy tests
2015-04-15 18:29:30 -07:00
Philip O'Toole
12c02923c1
Issue 2303
2015-04-15 18:24:33 -07:00
Philip O'Toole
e0c4ab68c5
Update for PR2297
2015-04-15 15:22:28 -07:00
Philip O'Toole
f6f4cc9170
Merge pull request #2297 from neonstalwart/pidfile
...
ensure directory of pidfile exists after a restart
2015-04-15 15:20:22 -07:00
ben hockey
eaac88a0f6
/var/run/influxdb creation covered by init script
2015-04-15 16:47:20 -05:00
ben hockey
4e6c384f82
ensure directory of pidfile exists after a restart
2015-04-15 16:47:20 -05:00
Philip O'Toole
ef9e9e8ae5
RC25 is out
2015-04-15 14:27:31 -07:00
Philip O'Toole
49fb7e3422
Run all tests serially
2015-04-15 14:23:23 -07:00
Todd Persen
eb2eee21af
Merge pull request #2295 from influxdb/check_null_fix
...
Use nil as default return value for MapCount
2015-04-15 12:18:15 -07:00
Philip O'Toole
7147b0f88e
Update CHANGELOG
2015-04-15 11:55:39 -07:00
Philip O'Toole
336caff1f0
Add test of COUNT with specific fill
2015-04-15 11:55:07 -07:00
ben hockey
8a8506e0bb
add count aggregate fill test
2015-04-15 11:55:07 -07:00
ben hockey
d993a3f36b
use nil as default return value for MapCount
...
fixes #2271
2015-04-15 11:55:07 -07:00
Todd Persen
6f9e639647
Update CHANGELOG.md
2015-04-15 11:38:44 -07:00
Todd Persen
b43db194ea
Merge pull request #2294 from influxdb/flush-fix
...
Fix stream writer flushing to be thread safe.
2015-04-15 11:25:58 -07:00
Ben Johnson
b54f81fcac
Fix stream writer flushing to be thread safe.
...
This change fixes the raft streams so that Flush() is not called
asynchronously while the snapshot is being written.
2015-04-15 12:07:03 -06:00
Todd Persen
8b8ce9d4bb
Merge pull request #2290 from neonstalwart/hostname
...
allow hostname arg to override test config
2015-04-15 11:02:10 -07:00
Todd Persen
ab0d104746
Update CHANGELOG.md
2015-04-15 11:01:03 -07:00
Todd Persen
6df69ee43d
Merge pull request #2292 from neonstalwart/fix/2141
...
wire up drop CQ statements
2015-04-15 11:00:02 -07:00
Ben Johnson
817c2e7a2a
Merge pull request #2293 from influxdb/cluster-listener
...
Start cluster before broker.
2015-04-15 11:58:10 -06:00
Ben Johnson
64a6274b87
Merge branch 'master' of https://github.com/influxdb/influxdb into cluster-listener
...
Conflicts:
CHANGELOG.md
2015-04-15 11:57:59 -06:00
dgnorton
2b21f2d954
Merge pull request #2288 from influxdb/fix-2268
...
fix #2268 : fix expression parsing bug
2015-04-15 13:57:35 -04:00
Ben Johnson
090f8c7120
fix race
2015-04-15 11:57:03 -06:00
David Norton
66b8cc02aa
fix #2268 : code review changes
2015-04-15 13:52:18 -04:00
David Norton
adc6968e20
update CHANGELOG.md
2015-04-15 13:37:53 -04:00
David Norton
1e7b132f96
fix #2268 : make ugly code pretty
2015-04-15 13:25:49 -04:00
Ben Johnson
6e124f3ab6
Start cluster before broker.
...
This commit fixes an issue where the second node joins but the first node
cannot commit because it doesn't have the HTTP endpoint running yet. This
is a side effect of streaming raft since we don't synchronize the quorum
set with the heartbeats. We should cache the config per term in the future.
2015-04-15 11:18:44 -06:00
David Norton
3739433f0c
fix #2268 : fix expression parsing bug
...
Parsing:
WHERE time > now() - 2d AND time < now() + 10d
generated an expression tree that evaluated as:
... AND (time < now()) + 10d
instead of:
... AND time < (now() + 10d)
2015-04-15 12:37:19 -04:00
dgnorton
f5ff6e2d57
Merge pull request #2289 from influxdb/export_nowValuer
...
make nowValuer public / exported
2015-04-15 12:35:49 -04:00
ben hockey
dde380832a
wire up drop CQ statements
...
fixes #2141
2015-04-15 11:14:30 -05:00
ben hockey
84e87ce9c9
allow hostname arg to override test config
2015-04-15 10:52:23 -05:00
David Norton
78b1070775
make nowValuer public / exported
2015-04-15 11:26:36 -04:00
Philip O'Toole
dc5a1afef3
Merge pull request #2287 from influxdb/default_rp_race
...
RLock server for SHOW RETENTION POLICIES
2015-04-14 17:18:48 -07:00
Philip O'Toole
37c42c9dd2
RLock server for SHOW RETENTION POLICIES
2015-04-14 17:13:35 -07:00