Commit Graph

1004 Commits (7151116016ebdf6e35642edbffa30be55d25ad8e)

Author SHA1 Message Date
Philip O'Toole 967099385f Update CHANGELOG 2015-10-13 14:18:59 -07:00
Jason Wilder e0ece9f8b5 Fix line protocol accepting tags with no values
If a tag with no value was in the middle of all the tags, it would
get accepted as valid incorrectly.

Fixes #4421
2015-10-13 09:43:13 -06:00
Cory LaNou 6787525912 fixes multiple selectors overwriting each other. fixes #4360 2015-10-12 21:40:57 -05:00
Philip O'Toole 86b5ad2096 Add credits to changelog
[ci-skip]
2015-10-12 12:53:08 -07:00
David Norton 2fbd1052b5 update CHANGELOG.md 2015-10-09 18:35:06 -04:00
Philip O'Toole c06ac8f94c Don't add a new segment every purge check
Everytime the purge check was running, a new segment was being added.
This meant the list of almost-empty files in the HH directories would
grow continually.
2015-10-09 14:26:47 -07:00
Jason Wilder f2e1dfed4f Merge pull request #4370 from influxdb/jw-tsm
Prevent panic in DecodeSameTypeBlock
2015-10-09 12:59:03 -06:00
Jason Wilder 758359accc Prevent panic in DecodeSameTypeBlock
If DecodeSameTypeBlock is called on on an empty Values slice, it would
panic with an index out of bounds error.  This func can actually be removed
because DecodeBlock can determine what type of values are encoded already.

This will still panic if the block cannot be decoded due to other reasons.

Fixes #4365
2015-10-09 12:52:23 -06:00
Philip O'Toole 0d79da5ec5 Correct typo in CHANGELOG
[ci skip]
2015-10-09 11:40:19 -07:00
Philip O'Toole 37d3adb01e Add credit for PR4291
[ci skip]
2015-10-09 11:08:22 -07:00
linearb 218de0acbb update changelog 2015-10-09 13:57:02 -04:00
Philip O'Toole bc569e82de Correct typos in CHANGELOG
[ci skip]
2015-10-08 20:43:21 -07:00
Philip O'Toole 2780bdfd78 Update CHANGELOG 2015-10-08 18:23:15 -07:00
Ben Johnson 2b3bb5336d add tsm1 quickcheck tests 2015-10-08 11:59:57 -06:00
dgnorton a9bf213076 Merge pull request #3484 from dawbs/dawbs-fix-3429
Bugfix for #3429 String representations of RegexLiterals generated in…
2015-10-08 13:12:10 -04:00
Cameron Sparr 6bfb1ff11b Merge branch 'roobert-graphite-template-custom-field'
Closes #4178
2015-10-08 10:59:00 -06:00
Nathaniel Cook 49f6765d63 make client.Write default to c.precision if none is given 2015-10-08 10:56:13 -06:00
Jason Wilder 5b4f46284f Fix similar float values encoding overflow
If similar float values were encoded, the number of leading bits would
overflow the 5 available bits to store them (e.g. store 33 in 5 bits).  When
decoding, the values after the overflowed value would spike to very large and
small values.

To prevent the overflow, we clamp the value to 31 which is the maximum
number of leading zero bits we can encoded.

Fixes #4357
2015-10-08 10:56:13 -06:00
Philip O'Toole b5496d2177 Update CHANGELOG for PR4354
[ci skip]
2015-10-08 10:56:13 -06:00
Nick Dawbarn 26f6d00668 Bugfix for #3429 String representations of RegexLiterals generated in influxql/ast.go add the / char as a start and end delimiter, but does not escape any / characters that may exist with the regex 2015-10-08 19:41:36 +10:00
Nathaniel Cook ac5bd8a6c2 make client.Write default to c.precision if none is given 2015-10-07 15:36:09 -06:00
Jason Wilder b3343a6d2a Fix similar float values encoding overflow
If similar float values were encoded, the number of leading bits would
overflow the 5 available bits to store them (e.g. store 33 in 5 bits).  When
decoding, the values after the overflowed value would spike to very large and
small values.

To prevent the overflow, we clamp the value to 31 which is the maximum
number of leading zero bits we can encoded.

Fixes #4357
2015-10-07 15:05:56 -06:00
Philip O'Toole 7757b9b9db Update CHANGELOG for PR4354
[ci skip]
2015-10-07 11:31:03 -07:00
Philip O'Toole 5d5515a497 If HH can't unmarshal a block, skip that block 2015-10-06 20:49:40 -07:00
Philip O'Toole 6f80d690dd Update CHANGELOG for PR4342
[ci skip]
2015-10-06 20:26:37 -07:00
David Norton f5001903d0 update CHANGELOG.md 2015-10-05 19:58:51 -04:00
Philip O'Toole dba286a2e8 Update CHANGELOG 2015-10-05 15:53:46 -07:00
Philip O'Toole 2ac0357406 Support dropping non-Raft nodes 2015-10-04 00:19:52 -07:00
Philip O'Toole d4fb66290a Remove DROP SERVER from CHANGELOG 2015-10-02 09:21:27 -07:00
Cory LaNou 98a0d341cd add drop server to changelog 2015-10-02 09:32:31 -05:00
Philip O'Toole 59bbc5c8e3 Reject line protocol that terminates with '-'
Fixes issue #4272.
2015-10-01 20:55:49 -07:00
Philip O'Toole 08d299f6c7 Update CHANGELOG for PR 4293
[ci skip]
2015-10-01 13:49:04 -07:00
Jason Wilder 54ff1990bd Merge pull request #4292 from influxdb/jw-derivative
Handle missing values in aggregate derivative queries better
2015-10-01 13:45:46 -06:00
Jason Wilder 06c143c2dd Handle missing values in aggregate derivative queries better
If an aggregate derivative query did not have a value in the first
time bucket, it would abort early and return a single row with value
of 0.  Similarly, if either the current or previous value was nil,
it would skip the row and not append any values causing gaps and
no data to show up.

Instead, this will append a nil value if either the current or previous
valis is nil.  This essentially allows nil values to carry through the
results as well as gives a more sensible value for rows where we cannot
compute a difference (instead of dropping the row as before).

Fixes #4237 #4263
2015-10-01 13:05:19 -06:00
Philip O'Toole c7599e0409 Update CHANGELOG
[ci skip]
2015-10-01 11:56:20 -07:00
Jason Wilder 5574c61cdf Update changelog 2015-09-30 16:47:40 -06:00
Philip O'Toole 591e33b1d8 Initial work, does not address issue 2015-09-30 11:58:42 -07:00
Ben Johnson 343dd23ee7 refactor map functions to use list of values
This commit changes `tsdb.mapFunc` to use `tsdb.MapInput` instead
of an iterator. This will make it easier and faster to pass blocks
of values from the new storage engine into the engine.
2015-09-29 14:00:33 -06:00
Philip O'Toole 17cc2220b8 Update CHANGELOG 2015-09-28 18:39:42 -07:00
Philip O'Toole a196d3663a Allow configuration of UDP retention policy
Fixes issue #4529
2015-09-28 15:17:56 -07:00
Philip O'Toole 49a70d0fca Merge pull request #4238 from influxdb/hh_control
Fully disable hinted-handoff service if requested
2015-09-28 12:11:18 -07:00
Philip O'Toole 2db82ee584 Merge pull request #4222 from influxdb/graphite_tcp_blocking
Graphite TCP should not block system shutdown
2015-09-28 12:11:04 -07:00
Philip O'Toole a4a8fa0ff0 Fully disable hinted-handoff service if requested
Without this change if hinted-handoff was disabled the service would
correctly reject writes, but it would process any data sitting in
hinted-handoff queues. With this change the service is completely
disabled.
2015-09-25 18:03:43 -07:00
Philip O'Toole 7cb8c2d2ec Add build timestamp to version data 2015-09-24 23:40:53 -07:00
Philip O'Toole c85d5496af Merge pull request #4225 from influxdb/sort_diags
Always display diags in name-sorted order
2015-09-24 19:05:26 -07:00
Philip O'Toole 99989df2b5 Always display diags in name-sorted order 2015-09-24 19:00:05 -07:00
Philip O'Toole 9de3125f6b Graphite TCP should not block system shutdown
With this change Graphite TCP connections are tracked on a per-service
basis. This allows a closing Graphite service to first shutdown any
active connections, thereby unblocking the rest of shutdowm.

This work exposed small shortcomings with the existing Diagnostics
system and that code has alse been tweaked.

Fixes issue #4017
2015-09-24 14:08:38 -07:00
Philip O'Toole f985ec9658 Update CHANGELOG 2015-09-24 13:01:31 -07:00
Cory LaNou 82c50bb746 Merge pull request #4202 from influxdb/issue-1577-rb
Allow fields to be selected with "selector" aggregate functions
2015-09-23 16:33:20 -05:00
Cory LaNou 78bc740434 full support for min/max/first/last 2015-09-23 09:03:57 -05:00