Commit Graph

8034 Commits (967099385fdc3365954f53d7d45790765e82254e)

Author SHA1 Message Date
Philip O'Toole 967099385f Update CHANGELOG 2015-10-13 14:18:59 -07:00
Philip O'Toole 16580d32a7 Allow uppercase 'e' with scientific notation 2015-10-13 13:30:21 -07:00
Jason Wilder 87d99fb0d4 Merge pull request #4427 from influxdb/jw-remote-notify
Fix meta.WaitForDataChanged not signaling for remote nodes
2015-10-13 10:35:19 -06:00
Jason Wilder 59ddaa960b Fix meta.WaitForDataChanged not signaling for remote nodes
WaitForDataChanged is used to block a goroutine so it can be woken
up when the metastore has been updated.  This makes it so clients
to the metastore do not need to poll the metastore repeatedly to
watch for changes.  This was only working for local raft nodes, but
was supposed to work for remote nodes as well.
2015-10-13 10:20:38 -06:00
Jason Wilder 8e33590491 Merge pull request #4426 from influxdb/jw-4421
Fix line protocol accepting tags with no values
2015-10-13 09:51:08 -06: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 f0efd1f539 Merge pull request #4391 from influxdb/fix-4360
Prevent multiple selectors overwriting each other during post processing
2015-10-12 22:22:54 -05: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
Philip O'Toole 4e920063b8 Merge pull request #4410 from kostya-sh/4406_delete-String
Fix infinite recursion in DeleteStatement.String()
2015-10-12 12:46:36 -07:00
Jason Wilder 16b3084ca9 Merge pull request #4397 from influxdb/jw-tsmdump
tsm1 file dump
2015-10-12 08:12:23 -06:00
Konstantin Shaposhnikov d887e798c3 Fix infinite recursion in DeleteStatement.String()
Fixes #4406
2015-10-12 21:38:50 +08:00
Jason Wilder f58c283d8a Add some comments 2015-10-09 22:53:58 -06:00
Jason Wilder 629219951a Fix timestamp encoding not using run-length encoding when possible
influx_inpsect uncovered some scenarios where timestamps could be stored using
run-length encoding but were being stored using simple8 which uses more space.
2015-10-09 22:38:17 -06:00
Jason Wilder 53cc8aaa31 Store monitor statistics with seconds precision
influx_inspect uncovered that the monitoring database was storing it's data with almost
no compression because it recorded points at nanosecond precision but spaced them 10s apart. This
still requires 8 bytes.

Instead, store the points at seconds precision which allows the timestamp data to be run-length
encoded.
2015-10-09 22:35:43 -06:00
Jason Wilder bc6d677b06 Add tsm file dump support to influx_inspect
This will read a tsm file and dump index, block and compression level info from the file.
It reads the file directly as opposed to reading it through the tsm engine which should
help with debugging and troubleshooting data file issues.

The implementation is not pretty but the output is very useful.  In the future, we can
add data extraction, recovery and verification functionality if needed.
2015-10-09 22:32:11 -06:00
Philip O'Toole f1e0c5938f Merge pull request #4394 from influxdb/map_cleanup
Deletion while iterating is OK in Go
2015-10-09 16:43:28 -07:00
Philip O'Toole 37cf9a1610 Deletion while iterating is OK in Go 2015-10-09 16:30:20 -07:00
dgnorton d8d87d97cd Merge pull request #4385 from influxdb/dgn-fix-4280
fix #4280: only drop points matching WHERE clause
2015-10-09 18:40:57 -04:00
David Norton 9627f5ab84 fix #4280: add comments based on code review 2015-10-09 18:38:33 -04:00
David Norton 2fbd1052b5 update CHANGELOG.md 2015-10-09 18:35:06 -04:00
David Norton 512d6ac050 fix #4280: only drop points matching WHERE clause 2015-10-09 18:34:32 -04:00
Philip O'Toole bb2ce2f7fb Merge pull request #4389 from influxdb/hh_extra_segs
Don't add a new segment every HH purge check
2015-10-09 14:38:04 -07:00
Philip O'Toole f12470a99e If there are no HH segments, then nothing to purge 2015-10-09 14:29:21 -07: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 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