Commit Graph

7604 Commits (49327f69f198052652e7dd13f9a552b3832a20a1)

Author SHA1 Message Date
Paul Dix ecbc79e7e3 Fix disksize to work with new WAL 2015-09-08 19:37:33 -07:00
Philip O'Toole 24aca5611a Add batch-pending control to openTSDB input 2015-09-08 19:35:42 -07:00
Philip O'Toole 95530e1623 Set UDP input defaults if not set 2015-09-08 19:32:20 -07:00
Philip O'Toole e4a332ea12 Update CHANGELOG 2015-09-08 19:32:20 -07:00
Philip O'Toole 5373f263a3 Add pending control to batcher
With this change, the generic batcher used by many inputs can now be
buffered. Testing shows that this performance of the Graphite input by
10-100%, with the biggest improvements at lower numbers of connections.
2015-09-08 19:32:00 -07:00
Philip O'Toole f0bbec6699 Add stats to PointsWriter 2015-09-08 19:30:07 -07:00
Paul Dix dfd6b11dda Fix memory compaction logic.
* Only fire a go routine to flush and compact if it isn't already running
* Have a sleep backoff time that scales up as the percentage of memory used goes up
2015-09-08 19:28:29 -07:00
Paul Dix a1fb77198b Simplify WAL to not compact since it doesn't really help the engine anyway 2015-09-08 19:28:29 -07:00
Philip O'Toole e38a204afc Merge pull request #4043 from influxdb/opentsdb_batching
Add batching and stats to openTSDB input
2015-09-08 19:27:35 -07:00
Philip O'Toole 1ce5187b66 Merge pull request #4049 from influxdb/udp_stats
Add stats to the UDP input
2015-09-08 19:18:17 -07:00
Philip O'Toole dbcf56abf6 Merge pull request #4050 from influxdb/collectd_stats
Add collectd stats
2015-09-08 19:17:22 -07:00
Philip O'Toole 76903f7440 Instrument bz1 engine 2015-09-08 19:09:39 -07:00
Philip O'Toole 9677a0faab Add collectd stats 2015-09-08 19:07:47 -07:00
Philip O'Toole 27932409b0 Add stats to the UDP input 2015-09-08 18:48:35 -07:00
Philip O'Toole abaee68a62 Merge pull request #4048 from influxdb/cq_stats
Add basic stats to the CQ service
2015-09-08 18:36:31 -07:00
Philip O'Toole 817328d378 Add basic stats to the CQ service 2015-09-08 18:17:20 -07:00
Philip O'Toole 46405440bf Update CHANGELOG
[ci skip]
2015-09-08 16:27:02 -07:00
Philip O'Toole 349ba8b307 Add batching and stats to openTSDB input 2015-09-08 16:19:50 -07:00
Sean Beckett 7a8966cbd4 fixing filename
[ci skip]
2015-09-08 15:28:29 -07:00
Philip O'Toole 4934a59fd1 Merge pull request #4009 from influxdb/cluster_level_stats
Add cluster-level tags to all stats when stored
2015-09-08 12:33:57 -07:00
Cory LaNou dea5814e04 Merge pull request #4038 from influxdb/issue-3926
Fix group by time intervals
2015-09-08 14:26:33 -05:00
Cory LaNou 9d091b4362 changelog 2015-09-08 14:19:08 -05:00
Cory LaNou 62e9c24b25 fixes #3926 2015-09-08 14:15:48 -05:00
Philip O'Toole 8a3d7e584d Call lograte file simple "influxdb"
[ci skip]
2015-09-08 12:14:20 -07:00
Philip O'Toole becb5b62b1 Fix small typo in packaging script
[ci skip]
2015-09-08 12:07:14 -07:00
Philip O'Toole 5d50cdffb6 Merge pull request #4036 from influxdb/rp_invalidate_fix
Allow retention policy look up trigger cache-invalidate
2015-09-08 12:03:30 -07:00
Philip O'Toole 8297fc8c43 Merge pull request #4033 from influxdb/logrotate
Install logrotate configuration
2015-09-08 12:02:54 -07:00
Philip O'Toole 3e2be42f30 [ci skip] 2015-09-08 11:58:34 -07:00
Philip O'Toole f19ed2e178 Changes for installing logrotate 2015-09-08 11:56:12 -07:00
Philip O'Toole db120f4c0e Log database and retention policy creation 2015-09-08 11:24:59 -07:00
Philip O'Toole 52737917e6 No error required if policy does not exist
This is the same way Database() works, and allows the caller to know it
should access the Raft leader.
2015-09-08 11:23:43 -07:00
Philip O'Toole 2dd621d0a8 Merge pull request #4035 from influxdb/nil_chan
Don't close nil channel in TSDB
2015-09-08 10:56:42 -07:00
Philip O'Toole 5e46441a5b Make docker cache directory during Circle setup 2015-09-08 10:53:41 -07:00
Philip O'Toole 255fb3364d Don't close nil channel
Obviously a TSDB store may be closed before it's opened.
2015-09-08 10:49:45 -07:00
Jason Wilder 2824a9c92a Merge pull request #3814 from influxdb/jw-graphite
Fix invalid time stamp in graphite metric causes panic
2015-09-08 11:17:57 -06:00
Jason Wilder 70f227e09e Merge pull request #4005 from influxdb/jw-panics
Fix panics when stopping server
2015-09-08 11:17:41 -06:00
Jason Wilder 77d310337c Clarify comment 2015-09-08 11:05:39 -06:00
Jason Wilder 9b28376ecb Update changelog 2015-09-08 11:04:26 -06:00
Jason Wilder 6b2b29625d Ensure the tsdb.Store is not closed before creating a shard
Fixes panic: assignment to entry in nil map

Fixes #3848
2015-09-08 11:04:00 -06:00
Jason Wilder dabb01691e Close server is reverse order that it was started
The server was closing by stopping the most depended on services first
which causes various panics while higher level services are still processing
task when the server closes.

Fixes #3881
2015-09-08 11:04:00 -06:00
Jason Wilder ab0b2231a6 Wait for all the cluster connections to complete 2015-09-08 11:04:00 -06:00
Ben Johnson 0e8b78288c CHANGELOG 2015-09-08 10:58:03 -06:00
Ben Johnson 1c5604bd82 Merge pull request #4034 from benbjohnson/handle-tx
Rollback bolt tx on mapper open error
2015-09-08 10:50:03 -06:00
Ben Johnson fd9be63b4e rollback bolt tx on mapper open error
This commit fixes `SelectMapper.Open()` so that it properly rolls back
transactions. Previously, this caused transactions to stay open
indefinitely which caused mmap resizes to hang indefinitely.
2015-09-08 10:28:51 -06:00
Jason Wilder 766e2867bd Update changelog 2015-09-08 10:09:25 -06:00
Jason Wilder 73510a0a68 Fix invalid time stamp in graphite metric causes panic
If a timestamp was larger than the max epoch value was sent via
graphite it would cause the timestamp to overflow when it was
marshaled/unmarshaled back from the raft log.  The overflow cause
the shard group to get created with the wrong timestamp which cause
a panic when writing the point.  The panic was caused because the
timestamp that were supposed to exists in a map created by MapShards
did not actually exist so a nil ShardGroup was used.

The change prevents creating the point with an invalid timestamp.  Since
graphite using a timestamp in seconds, the maximum range is known and
can be prevented.  This also adds a check for the minimum range as well.

Fixes #3785
2015-09-08 10:07:47 -06:00
Philip O'Toole 206ddae286 Add basic logrotate file 2015-09-08 08:50:47 -07:00
Philip O'Toole 82c101be14 Clean up whitespace 2015-09-08 08:50:26 -07:00
Philip O'Toole ca94ad8ef4 Merge pull request #4026 from influxdb/multi_graphite
Support multiple Graphite inputs
2015-09-08 08:40:12 -07:00
Philip O'Toole 332ce6481d Removed unused Graphite NewConfig
This function is not helpful for sections of the config that support
multiple instances.
2015-09-08 08:32:19 -07:00