Commit Graph

6500 Commits (4b53f222d65b4832c746749c007036dc40f08b48)

Author SHA1 Message Date
David Norton e2f0814904 fix #3014: make code review changes 2015-06-25 20:10:17 -04:00
David Norton ac4ac506e7 fix #3014: update CHANGELOG.md 2015-06-25 19:55:14 -04:00
David Norton 3c7a82d91c fix #3014: implement snapshots 2015-06-25 19:54:00 -04:00
Philip O'Toole c2922626a7 Strip leading v from version for packages
Packages require version to begin with digit.
2015-06-25 19:35:47 -04:00
Philip O'Toole 62c45bacbe Use `git describe --tags` for nightly version 2015-06-25 19:21:06 -04:00
Philip O'Toole 23a4225673 AWS CLI already outputs what it is doing 2015-06-25 19:18:27 -04:00
Philip O'Toole c254a5c31e RPM packages use underscored version
Prep an underscored version, for later replacement if nightly build is
in progress.
2015-06-25 19:18:22 -04:00
Philip O'Toole 7a93ed6d55 Remove duplicate S3 upload message 2015-06-25 18:58:00 -04:00
Philip O'Toole d9ba03bfdc Don't upload packages to get.influxdb.org bucket 2015-06-25 18:56:10 -04:00
Philip O'Toole aae8287dcc Remove unused packaging script variable 2015-06-25 18:54:23 -04:00
Philip O'Toole 27a35142e3 Always push version in 2015-06-25 18:54:09 -04:00
Philip O'Toole 7493c6433e Set executable bit on nightly build script 2015-06-25 18:26:07 -04:00
Ben Johnson e10fb0cc4d Merge pull request #3036 from benbjohnson/wal
WAL
2015-06-25 15:51:52 -06:00
Ben Johnson b574e2f755 Add write ahead log
This commit adds a write ahead log to the shard. Entries are cached
in memory and periodically flushed back into the index. The WAL and
the cache are both partitioned into buckets so that flushing doesn't
stop the world as long.
2015-06-25 15:47:13 -06:00
Philip O'Toole 9eb5840558 Packaging script no longer assumes master branch
This will be required for making builds for branches other than master.
2015-06-25 17:27:43 -04:00
Paul Dix ee0407e7a7 Update CHANGELOG.md 2015-06-25 14:19:32 -07:00
Paul Dix d74180bed0 Merge pull request #2746 from influxdb/new-admin-interface
New admin interface
2015-06-25 14:18:32 -07:00
Jason Wilder a01d3d9edf Merge pull request #3143 from influxdb/jw-changelog
Update changelog
2015-06-25 15:16:00 -06:00
Jason Wilder d58d632633 Update changelog
Add #3131
2015-06-25 15:15:00 -06:00
Jason Wilder bf89b177a7 Merge pull request #3131 from evanphx/tags
Copy an Batch tags to each point before marshalling
2015-06-25 15:12:58 -06:00
Evan Phoenix a00c6215ce Copy an Batch tags to each point before marshalling 2015-06-25 14:08:38 -07:00
Jason Wilder b5910cb320 Merge pull request #3140 from influxdb/jw-bounds
Prevent out of range ints and floats from being parsed sucessfully
2015-06-25 14:51:46 -06:00
Jason Wilder 17432598b1 Prevent out of range ints and floats from being parsed sucessfully
Field values that were out of range for the type would panic the database
when being inserted because the parser would allow them as valid points.
This change prevents those invalid values from being parsed and instead
returns an error.

An alternative fix considered was to handle the error and clamp the value
to the min/max value for the type.  This would treat numeric range errors
slightly differently than other type erros which might lead to confusion.

The simplest fix with the current parser would be to just convert each field
to the type at parse time.  Unfortunately, this adds extra memory allocations
and lowers throughput significantly.  Since out of range values are less common
than in-range values, some heuristics are used to determine when the more
expensive type parsing and range checking is performed.  Essentially, we only
do the slow path when we cannot determine that the value is in an acceptable
type range.

Fixes #3127
2015-06-25 14:49:42 -06:00
Jason Wilder 4d2915b49e Merge branch 'dahankzter-master' 2015-06-25 14:44:06 -06:00
Henrik Johansson 0c59240e80 Review fixes for #2956 2015-06-25 14:43:22 -06:00
Henrik Johansson 8bb2fc52a9 Reverted the addition of extra function to the ast for #2956.
Accidentally added due to ignorance really.
2015-06-25 14:43:22 -06:00
Henrik Johansson 956b716f50 Added CHANGELOG entry for #2956 2015-06-25 14:43:22 -06:00
Henrik Johansson 41218f1a66 Fixed #2956 2015-06-25 14:42:53 -06:00
Henrik Johansson 2802047e68 Added failing test for #2956 2015-06-25 14:42:53 -06:00
Philip O'Toole bbdf4ddde3 Update CHANGELOG for PR 3136
[ci skip]
2015-06-25 16:30:01 -04:00
Philip O'Toole e9a06284d1 Merge pull request #3136 from Mindera/init_script_fixes
Fix a number of issues in sysV init script.
2015-06-25 16:27:44 -04:00
Philip O'Toole dfcecb2626 Move bug in Features to Bugfixes 2015-06-25 11:38:10 -07:00
Miguel Fonseca 7f98b5419b Avoid backticks and use $() instead. 2015-06-25 19:07:42 +01:00
Miguel Fonseca b282e76f59 Fix run as user. 2015-06-25 19:05:59 +01:00
Todd Persen 525e4dce81 Add support for displaying tags on measurements. 2015-06-25 09:31:56 -07:00
Todd Persen 6f9ae3f77f Remove npm.js 2015-06-25 09:28:55 -07:00
Miguel Fonseca c4ce20de08 Set proper return codes. 2015-06-25 14:11:51 +01:00
Jason Wilder 357b6585c1 Merge pull request #3125 from influxdb/jw-graphite
Graphite Input Protocol Parsing
2015-06-25 00:13:49 -06:00
Jason Wilder 562d7cd37d Handle timestamp special cases
If no timestamp is sent or the value -1 is sent, the current UTC
time is used.
2015-06-24 23:53:13 -06:00
Jason Wilder c5a10cf93d Use raw metric name when default template fails to match 2015-06-24 23:38:10 -06:00
Jason Wilder fbfb90d66c Code review fixes 2015-06-24 23:33:42 -06:00
Jason Wilder b0cda03219 Update changelog
Fixes #2102 #2966
2015-06-24 23:09:08 -06:00
Jason Wilder 320a951575 Fix default template being returned when partially matching
another filter.
2015-06-24 23:09:08 -06:00
Jason Wilder ba7187f554 Add comments to graphite parser 2015-06-24 23:09:08 -06:00
Jason Wilder a76e812b38 Add graphite parser benchmark 2015-06-24 23:09:08 -06:00
Jason Wilder 9ed71ad492 Add test for matching similar patterns 2015-06-24 23:09:08 -06:00
Jason Wilder 613b1d2eb7 Prevent duplicate filters in config
A filter should map directly to one template, allowing duplicate
filters is not supported.
2015-06-24 23:09:08 -06:00
Jason Wilder f70eee6e7a Add support for multiple measurement fields in templates
Provides a little more flexibility in controlling the parsed
metric names for metris like:

  servers.localhost.cpu.cpu0.user

Previously, you could only use a single field like "cpu", "user"
or a wildcard to match "cpu.cpu0.user".  You can now pull out "cpu"
and "user" and join them together in the metric name using a custom
separator character.  By default this is ".".
2015-06-24 23:09:08 -06:00
Jason Wilder a2a1956048 Use search tree for filter matching
This adds a sorted search tree for matchining filters to a template
more efficiently.  Each filter is split on "." and each element is
added to the tree.  Patterns with matching prefixes are added under
the same subtree.
2015-06-24 23:09:08 -06:00
Jason Wilder 98cbfdca51 Update tempalte format comment 2015-06-24 23:09:07 -06:00