Commit Graph

4256 Commits (4ad4ce314082aec7592ab766a166346f23048f2b)

Author SHA1 Message Date
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
Philip O'Toole e84b338018 Transplant 'SHOW TAG KEYS' tests 2015-03-04 12:44:56 -08:00
Philip O'Toole c485c63c77 Transplant 'SHOW MEASUREMENTS' series tests 2015-03-04 12:33:11 -08:00
Philip O'Toole 10217cc323 Transplant 'SHOW SERIES' tests 2015-03-04 12:21:39 -08:00
Philip O'Toole ab0533912f Add fpm updates to CHANGELOG 2015-03-04 10:54:24 -08:00
Philip O'Toole af5ae3d68d Merge pull request #1789 from kylezh/pkg
add --config-files option to fpm command
2015-03-04 10:53:15 -08:00
dgnorton 88a4852279 Merge pull request #1806 from influxdb/fix-1799
fix #1799: make scanner recognize regex
2015-03-04 08:44:25 -05:00
Philip O'Toole 43918654c3 Merge pull request #1841 from influxdb/bool_string_data
'field not found' test now in integration tests
2015-03-03 17:18:47 -08:00
Philip O'Toole 643cd09fee 'field not found' test now in integration tests 2015-03-03 17:17:08 -08:00
Philip O'Toole a9dd16e8d9 Merge pull request #1840 from influxdb/bool_string_data
Move string and bool data write to integration
2015-03-03 17:16:21 -08:00
Philip O'Toole 8480a1829a Move string and bool data write to integration 2015-03-03 17:11:09 -08:00
Philip O'Toole c3ffa45279 Merge pull request #1839 from influxdb/use_rp_variable
Replace literal "myrp" with %RP% in tests
2015-03-03 16:50:53 -08:00
Philip O'Toole 2ecae19874 Replace literal "myrp" with %RP% in tests 2015-03-03 16:48:40 -08:00
Philip O'Toole bbb6df0dcf Merge pull request #1838 from influxdb/where_and
Add unit test of parenthesis and WHERE on fields
2015-03-03 16:46:42 -08:00
Philip O'Toole 372949fee4 Add unit test of parenthesis and WHERE on fields 2015-03-03 15:58:25 -08:00
Philip O'Toole a22f1043a2 Merge pull request #1835 from influxdb/where_and
Add failing test case for WHERE AND
2015-03-03 15:49:55 -08:00
Philip O'Toole 0e3e0f6a38 Transplant more tests from httpd 2015-03-03 15:48:03 -08:00
Philip O'Toole 89bed24505 Tighten WHERE fields test case 2015-03-03 15:26:02 -08:00
Philip O'Toole 2fea387e2d Add PR 1836 2015-03-03 15:19:03 -08:00
Philip O'Toole adee51c4e0 Merge pull request #1836 from hawson/fix-1760-history_file
Fix for #1760:  influx doesn't create $HOME/.influx_history
2015-03-03 15:16:48 -08:00
Philip O'Toole 6ceae8ba3c Add WHERE field test, on 1 field 2015-03-03 15:02:42 -08:00
Philip O'Toole f422fbdebe Support only running certain integration tests 2015-03-03 14:53:31 -08:00
Joseph Rothrock cd18255af5 Merge pull request #1831 from influxdb/urlgen
Rewrite urlgen in Go
2015-03-03 14:50:40 -08:00
Philip O'Toole b69dc160ea Add failing test case for WHERE AND 2015-03-03 14:30:59 -08:00
Jesse Becker (NCBI) 0f7c69c587 Fix for #1760: influx doesn't create $HOME/.influx_history 2015-03-03 17:12:19 -05:00