David Norton
cef04db18f
fix #2814 : use toml.Duration where needed
2015-06-09 00:34:46 -04:00
David Norton
2f03a07a32
fix #2814 : move repetative test data to global var
2015-06-09 00:34:46 -04:00
David Norton
d5f52333a1
fix #2814 : hook collectd service back up
2015-06-09 00:34:46 -04:00
Philip O'Toole
4769d65f23
Final Graphite test code fixes
2015-06-08 20:39:56 -07:00
Philip O'Toole
9d628320c2
Rename test file to service_test.go
2015-06-08 20:39:42 -07:00
Philip O'Toole
4d01c8ad41
Add test of Graphite UDP input
2015-06-08 20:39:42 -07:00
Philip O'Toole
cd038ccddb
Add test of Graphite TCP input
2015-06-08 20:39:42 -07:00
Philip O'Toole
b0d76913b0
Add new Service-style Graphite input support
2015-06-08 20:39:39 -07:00
Philip O'Toole
1f8b04729f
Allow Graphite consistency control
...
Remove obsolete Graphite files
2015-06-08 20:00:05 -07:00
Philip O'Toole
c1e093bc08
Add batching control to Graphite config
2015-06-08 20:00:05 -07:00
Philip O'Toole
120b64fee8
Actually unit-test Graphite configuration
2015-06-08 20:00:05 -07:00
Jason Wilder
c1c8c5f0ca
Merge pull request #2835 from influxdb/jw-json-writes
...
Skip leading whitespace when detecting JSON writes without content-type
2015-06-08 17:49:44 -06:00
Ben Johnson
a9657289c4
Merge pull request #2823 from benbjohnson/opentsdb
...
Convert OpenTSDB to service
2015-06-08 17:32:55 -06:00
Jason Wilder
07d1aac50f
Fix comment in hinted handoff processor
2015-06-08 16:51:48 -06:00
Jason Wilder
48b98fea70
Skip leading whitespace when detecting JSON writes without content-type
...
Fixes #2834
2015-06-08 16:44:47 -06:00
Ben Johnson
b688eccb77
Refactor OpenTSDB to a service
...
This commit converts the OpenTSDB endpoint into a service.
2015-06-08 15:12:16 -06:00
Jason Wilder
ede254484d
Process hinted handoff queues concurrently
2015-06-08 15:05:44 -06:00
Jason Wilder
d86b15953c
Fix queue advance not writing updated position
...
The advance function was not writing the updated position in the
queue until after the next advance call was called. Resulted in
the very last message would get replayed on restart each time.
2015-06-08 12:09:31 -06:00
Jason Wilder
e75208f15c
Log remote write erros
2015-06-08 09:09:10 -06:00
Jason Wilder
2ccf97e6a0
Add wait group to hinted handoff service
2015-06-05 22:16:52 -06:00
Jason Wilder
4ec77d8b84
Fix comments
2015-06-05 22:16:52 -06:00
Jason Wilder
e2f3ff26a5
Fix data race when close hinted handoff service
2015-06-05 22:16:51 -06:00
Jason Wilder
f4cea559d3
Purge hinted handoff queue if entries stick around past a cutoff
2015-06-05 22:16:51 -06:00
Jason Wilder
9d67f9bf62
Add hinted handoff max age and throughput rate limit config options
2015-06-05 22:16:51 -06:00
Jason Wilder
809b9b8a83
Add basic hinted handoff support
...
If a remote write fails, it will be queued to a per-node, local disk
queue and retried later.
2015-06-05 22:16:51 -06:00
Jason Wilder
89c01cd37d
Add hinted handoff queue
...
This adds a disk backed queue that will be to persist hinted
handoff writes.
2015-06-05 22:16:51 -06:00
Jason Wilder
75b72c60fe
Add hinted handoff service
...
The hinted handoff service will queue a write to a remote node if
that write fails and periodically retry the write.
2015-06-05 22:16:51 -06:00
Jason Wilder
170c584b45
Add hinted handoff config and tests
2015-06-05 22:16:51 -06:00
David Norton
fcf89c87dd
cr #2733 : uncomment defer in test
2015-06-05 22:30:57 -04:00
David Norton
a235b4998d
fix #2733 : trying to fix CI race
2015-06-05 20:23:44 -04:00
David Norton
e107a681c5
cr #2733 : make error message more detailed
2015-06-05 19:56:28 -04:00
David Norton
d8f0445940
fix #2733 : fix race in tests
2015-06-05 19:56:28 -04:00
David Norton
fb514f2302
fix #2733 : add endpoint to trigger CQ(s)
2015-06-05 19:56:28 -04:00
David Norton
8699aa8f0b
fix #2733 : more tests
2015-06-05 19:56:28 -04:00
David Norton
e0838cb705
fix #2733 : add tests for CQ service
2015-06-05 19:54:23 -04:00
David Norton
092bc3fd2d
fix #2733 : hook CQs back in
2015-06-05 19:54:23 -04:00
Philip O'Toole
041b31d6b3
Merge pull request #2783 from renan-/udp-refresh
...
Make UDP service code simpler
2015-06-05 16:23:16 -07:00
Ben Johnson
b925e1c1af
Multi-node clustering.
...
This commit adds the ability to cluster multiple nodes together to share
the same metadata through raft consensus.
2015-06-05 14:41:19 -06:00
Philip O'Toole
c59a234e7b
Deleted shard groups are not counted as "expired"
2015-06-05 13:08:36 -07:00
Philip O'Toole
a4a05241ba
Set retention enforcement default config
2015-06-05 11:27:30 -07:00
Philip O'Toole
967ebe0568
Stop retention timers on service shutdown
2015-06-05 08:17:27 -07:00
Renan Strauss
e8ab17dbc5
[services/udp] Clean-up the code
2015-06-05 10:55:10 +02:00
Philip O'Toole
5e5f2cd37d
Move expired and deleted shard logic to MetaStore
2015-06-04 22:18:52 -07:00
Philip O'Toole
ae3e8c727a
Don't append retention service if not enabled
2015-06-04 21:47:06 -07:00
Philip O'Toole
28e853d915
Unit-test retention config
2015-06-04 21:47:06 -07:00
Philip O'Toole
8600e2e036
Add shard group "DeletedAt" timestamps
2015-06-04 21:46:52 -07:00
Philip O'Toole
37f9a886b7
Retention service now deletes shards
2015-06-04 21:07:22 -07:00
Philip O'Toole
fab9adb361
Hook in actual retention service
2015-06-04 17:02:22 -07:00
Renan Strauss
3b09a59540
Add UDP service back
2015-06-04 10:24:48 +02:00
Cory LaNou
5c52c4cda1
add ability to set logger for testing
2015-06-03 09:58:39 -06:00
Jason Wilder
c36cec70f2
Merge pull request #2748 from influxdb/jw-points-name
...
Ensure JSON point writes have names and at least 1 field
2015-06-02 20:50:16 -06:00
Jason Wilder
5c96b03e3b
Preventing writing points with no measument name or fields
...
Causes the shard write to fail which ends up closing the shard and
future writes cause a panic.
2015-06-02 20:38:15 -06:00
Cory LaNou
b3f215ac5f
add back epoch conversion on query results
2015-06-02 14:49:05 -06:00
Ben Johnson
44d38cb430
Merge branch 'master' into alpha1
2015-06-02 10:40:52 -06:00
Cory LaNou
d962283ae6
adding some integration tests
2015-06-01 16:04:20 -06:00
Cory LaNou
17bdf1c114
get both json/line protocol endpoints working
2015-06-01 12:35:57 -06:00
Cory LaNou
d581254719
fix tests
2015-06-01 11:59:58 -06:00
Cory LaNou
3597565955
reading and writing yo!
2015-06-01 11:59:58 -06:00
Jason Wilder
badb2bf057
Use content negotiation for /write API
...
If content-type is "application/json", we'll process the request as
of old JSON write API. Otherwise, we assume line protocol but check
the first byte in case a older client is still sending JSON without the
correct content-type header.
2015-06-01 11:15:46 -06:00
Ben Johnson
bf823d9887
Integrating cmd/influxd/run.
2015-05-30 14:06:36 -06:00
Ben Johnson
2b5d04aee3
Fix local test listener.
2015-05-30 09:01:04 -06:00
Ben Johnson
8c8a55a737
Removed 'failed' from test suite.
2015-05-30 08:59:27 -06:00
Ben Johnson
4872e6db7c
Move services to subpackage.
2015-05-30 08:20:12 -06:00