Commit Graph

8211 Commits (59bb82d25a57adf02707a4174edea26328c169d8)

Author SHA1 Message Date
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 131d67b7aa git-ignore influx_inspect 2015-10-09 11:14:12 -07:00
Philip O'Toole 84396cdafa Package the stress and inspect tools 2015-10-09 11:13:11 -07:00
Philip O'Toole 455191d784 Merge pull request #4386 from influxdb/rename_inspect
Rename 'inspect' to 'influx_inspect'
2015-10-09 11:10:53 -07:00
Philip O'Toole 37d3adb01e Add credit for PR4291
[ci skip]
2015-10-09 11:08:22 -07:00
Philip O'Toole e00b82297f Merge pull request #4291 from linearb/linearb/rename-database
add RENAME DATABASE
2015-10-09 11:06:13 -07:00
Philip O'Toole 1e7a86aa61 Rename 'inspect' to 'influx_inspect' 2015-10-09 11:03:39 -07:00
linearb 60d298936e return error when database rename conflicts with continuous queries 2015-10-09 13:57:02 -04:00
linearb 37964a032f improvements from code review 2015-10-09 13:57:02 -04:00
linearb 218de0acbb update changelog 2015-10-09 13:57:02 -04:00
linearb 1383d964aa update user privileges on database rename 2015-10-09 13:56:23 -04:00
linearb 668b5b9bfb change syntax to ALTER DATABASE ... RENAME TO ... 2015-10-09 13:56:23 -04:00
linearb d2afd881e6 add integration test for RENAME DATABASE 2015-10-09 13:55:38 -04:00
linearb 7212bfce83 add RENAME DATABASE 2015-10-09 13:55:38 -04:00
Philip O'Toole 657aa5a134 Add README for collectd 2015-10-09 09:15:22 -07:00
Philip O'Toole bc569e82de Correct typos in CHANGELOG
[ci skip]
2015-10-08 20:43:21 -07:00
Philip O'Toole a2bdddf483 Merge pull request #4377 from influxdb/dropped_server_hh
HH should not process dropped nodes
2015-10-08 20:40:38 -07:00
Philip O'Toole b009f25e3d Delete queues for inactive nodes
Deletion only takes place if all data in the queue is older than the
configured time.
2015-10-08 20:34:24 -07:00
Philip O'Toole 2780bdfd78 Update CHANGELOG 2015-10-08 18:23:15 -07:00
Philip O'Toole 5b0a8ed306 HH should not process dropped nodes 2015-10-08 18:23:12 -07:00
Ben Johnson 7a960fd416 Merge pull request #4374 from benbjohnson/tsm1-quick
Add tsm1 quickcheck tests
2015-10-08 12:10:35 -06:00
Ben Johnson 2b3bb5336d add tsm1 quickcheck tests 2015-10-08 11:59:57 -06:00
Jason Wilder 97ec7899b2 Merge pull request #4373 from influxdb/jw-int-panic
Fix index out of bounds panic in int64Decoder
2015-10-08 11:46:22 -06:00
Philip O'Toole 6bd3b5e63b Merge pull request #4372 from influxdb/graphite-merge-error
Fix graphite parser merge error, nargs
2015-10-08 10:24:41 -07:00
Jason Wilder 79185fc1dc Fix index out of bounds panic in int64Decoder
Code was missing a check for when we did not have anymore bytes to decode
so it panic when we tried to decode the empty slice.
2015-10-08 11:21:19 -06:00
Cameron Sparr 2add55107e Fix graphite parser merge error, nargs 2015-10-08 11:15:03 -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
Cameron Sparr 3bea25b428 graphite parser: apply tags from the Parser on the template 2015-10-08 10:56:13 -06:00
Philip O'Toole 32d1ca7434 Tweak nightly build race-enabled builds
[ci skip]
2015-10-08 10:56:13 -06:00
Philip O'Toole 04c3af45cd Nightly script can now enable race-detection 2015-10-08 10:56:13 -06:00
Philip O'Toole 103242db91 Support building race-enabled packages
This will allow testing to run without need to perform special builds,
simply download and install the race-detection-enabled package.
2015-10-08 10:56:13 -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
Samer Kanjo ecb8d90f59 #4098 Lint the influxdb package 2015-10-08 10:56:13 -06:00
Samer Kanjo a3a3fa4f2c Complete lint of project root. 2015-10-08 10:56:13 -06:00
Nick Dawbarn 136dbef0e7 Formatting fixes 2015-10-08 19:41:36 +10: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
Cameron Sparr 73a630dfa6 graphite parser: apply tags from the Parser on the template 2015-10-07 23:19:29 -06:00
Philip O'Toole 64cef0fa63 Tweak nightly build race-enabled builds
[ci skip]
2015-10-07 22:16:17 -07:00
Philip O'Toole abb6092bfe Nightly script can now enable race-detection 2015-10-07 22:12:34 -07:00
Philip O'Toole 880f55565e Support building race-enabled packages
This will allow testing to run without need to perform special builds,
simply download and install the race-detection-enabled package.
2015-10-07 22:09:30 -07:00
Nathaniel Cook 4c64c79f3d Merge pull request #4361 from influxdb/client_default_precision
make client.Write default to c.precision if none is given
2015-10-07 16:37:26 -06: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 93f15128f3 Merge pull request #4362 from influxdb/jw-4357
Fix similar float values encoding overflow
2015-10-07 15:23:46 -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