Cory LaNou
01721aad0d
skip test if not short testing
2015-03-07 07:12:22 -07:00
Cory LaNou
f01ee5eb51
adding integration tests for client library. misc bug fixes
2015-03-07 07:12:22 -07:00
Cory LaNou
3aafbd9d5f
omitempty to cut down on marshal overhead and http traffic
2015-03-07 07:12:22 -07:00
Cory LaNou
2bdc5d2ef5
remove obsolete Timestamp code
2015-03-07 07:12:22 -07:00
Cory LaNou
0fb8938456
know the difference between marshal and unmarshal
2015-03-07 07:12:22 -07:00
Cory LaNou
d334bec35a
more cleanup on client.Point. testing for json.Marshal(client.Point)
2015-03-07 07:12:22 -07:00
Cory LaNou
4f5ad7399e
add tests for NormalizeBatchPoints. Remove custom type client.Timestamp
2015-03-07 07:12:22 -07:00
Cory LaNou
bda9685526
Use BatchPoints for writing from client library
2015-03-07 07:12:21 -07:00
Philip O'Toole
17c5ca0e74
Add contributor handle to change log
...
Credit where credit is due.
2015-03-06 23:25:49 -08:00
Cory LaNou
5ad846dd5d
Merge pull request #1879 from influxdb/update-changelog-1862
...
Update change log for #1862
2015-03-06 21:01:09 -07:00
Cory LaNou
bb07539abc
put link in right spot
2015-03-06 20:57:07 -07:00
Cory LaNou
fdbf2eb7a6
update changelog for #1862
2015-03-06 20:51:53 -07:00
Cory LaNou
41e01e4c48
Merge pull request #1862 from mountkin/fix-memory-leak-of-wait-api
...
fix the memory leak on the wait API
2015-03-06 20:50:23 -07:00
Shijiang Wei
469755293c
refactor the serverWait method
...
Signed-off-by: Shijiang Wei <mountkin@gmail.com>
2015-03-07 10:37:18 +08:00
Paul Dix
93f3a229c6
Fix merge conflicts
2015-03-06 16:30:26 -08:00
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