Commit Graph

4383 Commits (7717b11e6bd710d37053ad70f23b21b4b76da835)

Author SHA1 Message Date
Philip O'Toole 42bd35a7f2 Merge pull request #1877 from influxdb/track_current_leader
Client should track current broker leader
2015-03-06 15:22:14 -08:00
Philip O'Toole 9a6f74c7a4 Update CHANGELOG 2015-03-06 15:19:18 -08:00
Philip O'Toole 710e0d7de9 Add unit test for client tracking leader URL 2015-03-06 15:19:18 -08:00
Philip O'Toole 96645c7b51 Only use scheme and host of redirected URL 2015-03-06 15:19:16 -08:00
Philip O'Toole 24fcdb787b Update CHANGELOG 2015-03-06 15:14:21 -08:00
Philip O'Toole fb618cb385 Support control of Raft debug logging 2015-03-06 15:13:33 -08:00
Philip O'Toole 317fe8335a Client should track current broker leader 2015-03-06 13:59:21 -08:00
Philip O'Toole bbd852e77d Latest changes will actually be part of RC10 2015-03-06 13:59:00 -08:00
Joseph Rothrock 3d23e9d6da Fix typos 2015-03-06 12:50:01 -08:00
Joseph Rothrock 98aee8c362 Merge pull request #1874 from influxdb/1753
Don't Panic on Missing Dirs
2015-03-06 12:41:12 -08:00
Joseph Rothrock 9b63eed767 Merge branch 'master' of github.com:influxdb/influxdb into 1753
Conflicts:
	CHANGELOG.md
2015-03-06 12:37:15 -08:00
Joseph Rothrock bf034be2c0 Changelog update 2015-03-06 12:22:15 -08:00
Joseph Rothrock 771ef1cec3 Don't Panic on Missing Dirs
Issue: 1753
Figure out what's missing, create it, and keep going.
2015-03-06 12:11:02 -08:00
Paul Dix df3c0099e1 WIP: wire up raw queries 2015-03-06 11:23:58 -08:00
Paul Dix 58ef65e7bc Update CHANGELOG.md 2015-03-06 10:24:26 -08:00
Paul Dix ea3d2444a9 Update CHANGELOG.md 2015-03-06 10:24:01 -08:00
dgnorton 3454523bae Merge pull request #1864 from influxdb/fix-1180
fix #1180: race in startStateLoop
2015-03-06 13:21:05 -05:00
Paul Dix 5122821549 Merge pull request #1872 from influxdb/raft-term
Update higher term on leader during stream request.
2015-03-06 10:19:39 -08:00
Ben Johnson cae0e85ed7 Update higher term on leader during stream request.
This commit adds a check for newer terms in the streaming endpoint.
2015-03-06 11:12:54 -07:00
David Norton cb780d82d5 fix #1180: race in startStateLoop 2015-03-06 13:09:46 -05:00
dgnorton fca0a95091 Merge pull request #1867 from influxdb/fix-1866
fix #1866: race accessing topic replicas map
2015-03-06 13:05:09 -05:00
David Norton ac8a062ab0 fix #1866: use RUnlock instead of Unlock 2015-03-06 12:53:19 -05:00
David Norton 8583260bc5 fix #1866: race accessing topic replicas map 2015-03-06 11:14:11 -05:00
Shijiang Wei b69b105683 quit the index poller when timeout occured
Signed-off-by: Shijiang Wei <mountkin@gmail.com>
2015-03-06 17:48:55 +08:00
Shijiang Wei 837a248c1c remove the unreachable return statement to make "go vet" happy
Signed-off-by: Shijiang Wei <mountkin@gmail.com>
2015-03-06 17:34:07 +08:00
Shijiang Wei 6d5ca0e4ef fix the memory leak on the wait API
The pollForIndex method starts a goroutine to check the latest index
periodically. But when the HTTP request finishs, the loop is still there
and the goroutine never exits.

This leads to a memory leak and goroutine leak after each request to the
"/wait/:index" API.

The problem can be reproduced by ```ab -c 10 -t 30 http://127.0.0.1:8086/wait/1```.
After several times of benchmark you'll find that the memory usage grows markedly.

Signed-off-by: Shijiang Wei <mountkin@gmail.com>
2015-03-06 17:20:41 +08:00
Paul Dix 20b964b496 Update CHANGELOG.md 2015-03-05 20:41:03 -08:00
Philip O'Toole e997fda05e Merge pull request #1858 from influxdb/server_stats
Basic write-path logging
2015-03-05 17:40:51 -08:00
Philip O'Toole 2402467e63 Add trace-level logging of write to handler 2015-03-05 17:38:03 -08:00
Philip O'Toole 76c255a3c8 Add trace-level logging to server write path 2015-03-05 17:35:57 -08:00
Philip O'Toole 60c2852d31 Add support for enabling write-tracing 2015-03-05 17:35:57 -08:00
Paul Dix ea3e1c67c7 Update CHANGELOG.md 2015-03-05 17:34:09 -08:00
Paul Dix 1f1f732f35 Merge pull request #1859 from influxdb/fix-1859-missing-measurement-with-group-by-star
Queries for a missing measurement still result in a 500 when using `GROUP BY *`
2015-03-05 17:32:48 -08:00
Todd Persen 0b8017ed1e Add integration test for missing measurements with `GROUP BY *`. 2015-03-05 17:27:54 -08:00
Todd Persen 93b56ca058 Make sure queries for missing measurements return a `200 OK` even when using a `GROUP BY *`. 2015-03-05 17:27:46 -08:00
Philip O'Toole 7eb31f20a2 Merge pull request #1857 from influxdb/support_inf_retention
Support infinite retention policies
2015-03-05 15:58:45 -08:00
Philip O'Toole ae9210fc74 Add "infinite retention" to change log 2015-03-05 15:32:45 -08:00
Philip O'Toole bf55c0fc23 Explain what zero duration means for retention 2015-03-05 15:30:04 -08:00
Philip O'Toole a2e4556563 Allow 'INF' to indicate infinite retention 2015-03-05 15:23:54 -08:00
Philip O'Toole 77d8986626 Don't delete data with infinite retention 2015-03-05 15:22:36 -08:00
Philip O'Toole 51bf552ca9 Fix typo in comment 2015-03-05 14:45:47 -08:00
Philip O'Toole f957036405 Richer description of JSON over UDP 2015-03-04 19:04:56 -08:00
Joseph Rothrock 0d1e12ebd6 Merge pull request #1848 from influxdb/1755
Add UDP Listener
2015-03-04 16:41:46 -08:00
Joseph Rothrock 1efde69c69 JSON via UDP
Issue: 1755

Bind the server to a UDP listener to accept series data.
2015-03-04 16:36:06 -08:00
Joseph Rothrock 2e3ed5a089 Merge branch 'master' of github.com:influxdb/influxdb into 1755 2015-03-04 15:37:37 -08:00
Joseph Rothrock 6bb2ad6b95 JSON via UDP
Issue: 1755

Bind the server to a UDP listener.
2015-03-04 13:36:21 -08:00
Philip O'Toole 0c92d516d0 Merge pull request #1847 from influxdb/even_more_int
Transplant 'SHOW SERIES' tests
2015-03-04 13:08:16 -08:00
Philip O'Toole 693da1ba40 Remove unused import 2015-03-04 13:06:10 -08:00
Philip O'Toole 86b29b1908 Transplant 'SHOW FIELD KEYS' tests 2015-03-04 13:01:35 -08:00
Philip O'Toole a8a2da3194 Transplan 'SHOW TAG VALUES' tests 2015-03-04 12:54:44 -08:00