Philip O'Toole
221954fbdc
nNodes is now redundant
2015-02-09 18:13:40 -08:00
Philip O'Toole
de1122e133
Skip multi-node tests when '-short' passed
2015-02-09 18:09:32 -08:00
Philip O'Toole
cb3a222cbd
Rename integration test file
...
It now performs multi-node cluster testing.
2015-02-09 18:01:25 -08:00
Philip O'Toole
a1953f225e
Use new type for []nodes
2015-02-09 18:00:58 -08:00
Philip O'Toole
e3110cee4e
Add explicit leader flag
2015-02-09 17:59:19 -08:00
Philip O'Toole
567fd2bfef
Pass around slices of nodes as cluster
2015-02-09 17:55:07 -08:00
Philip O'Toole
252286d035
Factor out database and retention policy creation
2015-02-09 17:37:17 -08:00
Philip O'Toole
81855662c3
Use different port ranges for each cluster
...
Long-term we need to expose methods on the top-level object such that
the TCP listeners used by the HTTP handlers can be shut down.
2015-02-09 16:39:15 -08:00
Philip O'Toole
0b349baaac
Return both broker and server from call to run()
2015-02-09 16:35:28 -08:00
Philip O'Toole
76d732f5ff
Remove unneeded delay between node joins
2015-02-09 16:28:29 -08:00
Philip O'Toole
01379651f8
Scale wait times as node number increases
2015-02-09 15:55:18 -08:00
Philip O'Toole
d888b41a44
Add simple 5-node test
2015-02-09 15:46:55 -08:00
Philip O'Toole
0aefa3e708
Wait longer for write data to be commited
2015-02-09 15:42:07 -08:00
Philip O'Toole
053d69e7d5
Add 3-node cluster test
2015-02-09 15:40:21 -08:00
Philip O'Toole
29a643a1ce
Factor out simple write-and-query test
2015-02-09 15:27:59 -08:00
Philip O'Toole
3cbed350b3
Factor out cluster creation
2015-02-09 15:16:25 -08:00
Philip O'Toole
a35cb9703c
Panic if any test takes on longer 60s on Travis
2015-02-09 14:43:07 -08:00
Philip O'Toole
a27220a2a3
Do not create a custom HTTP client
2015-02-09 14:43:04 -08:00
Philip O'Toole
b3ed952eff
Fix typo in response checking
2015-02-09 12:07:43 -08:00
Philip O'Toole
63fd0969fe
Fix typo in testing log output
2015-02-09 11:36:27 -08:00
Ben Johnson
2aef4a794f
Merge pull request #1534 from influxdb/gzip-option
...
Add optional gzip flag to handler
2015-02-09 10:49:46 -07:00
Ben Johnson
3cb275cb01
Add optional gzip flag to handler.
...
The previous routing gzipped all routes and overwrote the Content-Length
header. This header was needed for the metastore copy and caused it to
break clustering. This commit fixes this issue by adding a `gzipped` flag
to the `route` struct.
2015-02-09 10:23:11 -07:00
Paul Dix
712297cdb5
Merge pull request #1506 from influxdb/fix-select-where-time
...
Fix queries that have only time in their where clause
2015-02-08 02:05:03 -05:00
Cory LaNou
65c5a8ab29
Merge pull request #1527 from influxdb/pretty-print-error
...
allow pretty printing on http errors in query endpoint
2015-02-07 11:07:02 -07:00
Cory LaNou
bcd9724ce0
allow pretty printing on http errors in query endpoint
2015-02-07 10:32:37 -07:00
Paul Dix
c6e7a7f9ea
Fix mapper to check if the iterator is EOF before calling the map function
2015-02-07 06:29:04 -05:00
Philip O'Toole
6c60c6397f
Add simple non-aggregate test
...
This makes it clearer what is going on.
2015-02-06 21:55:28 -08:00
Philip O'Toole
095d210d59
Fix time range condition in unit test
2015-02-06 20:36:53 -08:00
Ben Johnson
3723bf2e80
Merge pull request #1524 from influxdb/raft
...
Raft package fixes
2015-02-06 18:10:25 -07:00
Ben Johnson
bd65c543a5
Temporarily skip test.
2015-02-06 18:00:11 -07:00
Ben Johnson
d75bf86722
Fix transport test comment.
2015-02-06 17:50:48 -07:00
Ben Johnson
d2fb16e901
Clarify quorum code.
2015-02-06 17:50:03 -07:00
Ben Johnson
ce9579e9ef
Merge branch 'master' of https://github.com/influxdb/influxdb into raft
2015-02-06 17:25:07 -07:00
Cory LaNou
f84ea8268a
Merge pull request #1526 from influxdb/http-status-endpoint
...
Start of a status http endpoint
2015-02-06 16:12:39 -07:00
Cory LaNou
74a0dc2e2a
do not need a write lock, just read, better performance
2015-02-06 15:53:51 -07:00
Cory LaNou
93d9236554
fixing status named route, removing whitespace
2015-02-06 15:20:55 -07:00
dgnorton
e6768ec201
Merge pull request #1525 from influxdb/show-tag-keys-panic
...
fix #1510 : panics when measurement doesn't exist
2015-02-06 16:10:27 -05:00
Cory LaNou
339e170d82
start of a status http endpoint
2015-02-06 13:52:28 -07:00
David Norton
3f3c00da8d
fix #1510 : panics when measurement doesn't exist
2015-02-06 15:43:53 -05:00
Cory LaNou
7d5322b646
Merge pull request #1523 from influxdb/unauthorized-requests
...
Log Unauthorized requests
2015-02-06 13:27:17 -07:00
Ben Johnson
57c14987a6
Raft package fixes.
...
This commit includes various fixes to improve the stability of the raft package tests and benchmarks.
2015-02-06 12:46:50 -07:00
Cory LaNou
3dec0e7ed5
remove debug output
2015-02-06 10:05:19 -07:00
Cory LaNou
973bb78808
add tests for logging unauthorized access request
2015-02-06 10:03:34 -07:00
Cory LaNou
4225cd7407
move Authorize from func to method for Server
2015-02-06 09:16:45 -07:00
Cory LaNou
047953687d
Merge pull request #1519 from influxdb/server-authorize
...
Update system to either be auth-less or fully locked down via authentication.enabled
2015-02-05 16:45:02 -07:00
Cory LaNou
d23191b0d1
add additional comment to NewServer about authentication
2015-02-05 16:40:41 -07:00
Cory LaNou
cd57a7fe42
removing debug output
2015-02-05 16:30:09 -07:00
Cory LaNou
adba605194
unintended change
2015-02-05 16:25:10 -07:00
Cory LaNou
09d4a4e2d7
no need to lock a bool
2015-02-05 16:20:02 -07:00
Cory LaNou
1604d7f604
refactor how we default authentication enabled
2015-02-05 15:54:32 -07:00