Commit Graph

7423 Commits (abaee68a6294572ec3338ba10ba4d7c9b5b7a32e)

Author SHA1 Message Date
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
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
Philip O'Toole 6345ba83f3 Fix minor typo in comment
[ci skip]
2015-09-07 22:04:37 -07:00
Philip O'Toole bbc103305b Support multiple Graphite inputs
Fixes issue #3636
2015-09-06 21:33:46 -07:00
Philip O'Toole 45590f2c21 Merge pull request #4024 from aviau/patch-4
removed trailing spaces
2015-09-06 19:23:40 -07:00
Alexandre Viau f0c57066c5 removed trailing spaces 2015-09-06 22:16:00 -04:00
Philip O'Toole 1fdf361f00 Merge pull request #4015 from influxdb/configurable_internal_rp
Monitor retention policy is configurable
2015-09-05 08:53:43 -07:00
Philip O'Toole f0f254ae69 Merge pull request #4016 from influxdb/graphite_shutdown
Shutdown UDP Graphite on SIGTERM
2015-09-05 08:49:13 -07:00
Jason Wilder 4e590d9591 Merge pull request #4019 from influxdb/jw-meta-open
Fix race when starting monitor service
2015-09-05 09:37:19 -06:00
Jason Wilder 380d82b078 Fix race in local node creation
It was possible for the metastore Open call to return before it actually
created it's local node.
2015-09-05 09:07:37 -06:00
Jason Wilder b8da247b08 Open monitor server after metastore is ready 2015-09-05 09:06:51 -06:00
Philip O'Toole 407591985c Update CHANGELOG 2015-09-05 00:33:16 -07:00
Philip O'Toole fa29e12222 Shutdown UDP Graphite on SIGTERM
Service.Close() had no way of closing the UDP Conn. This change makes
the UDP an attribute of the server, so Close() can access it.
2015-09-05 00:30:59 -07:00
Philip O'Toole d1e6dced47 Use actual kill command, not shell alias
https://www.freebsd.org/doc/handbook/basics-processes.html

[ci skip]
2015-09-05 00:18:54 -07:00
Philip O'Toole 54c832f4a8 Correct shutdown in init.d script
This was already reviewed by @jwilder, but merged incorrectly.
2015-09-04 23:49:47 -07:00
Philip O'Toole 406480f4b2 Retention enforcement period to 30 minutes
This was previously set in the code.

[ci skip]
2015-09-04 23:30:13 -07:00
Philip O'Toole 214cfea53c Monitor retention policy is configurable 2015-09-04 22:53:04 -07:00
Philip O'Toole 03315bc9dd Add cluster-level tags to all stats when stored
This allows stats for all nodes in a given cluster, for example, to be
easily queried.
2015-09-04 18:36:14 -07:00