Commit Graph

788 Commits (9949de3f44bad05b5113ed8bf360c871df61f152)

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
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
Paul Dix ee0407e7a7 Update CHANGELOG.md 2015-06-25 14:19:32 -07:00
Jason Wilder d58d632633 Update changelog
Add #3131
2015-06-25 15:15:00 -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
Henrik Johansson 956b716f50 Added CHANGELOG entry for #2956 2015-06-25 14:43:22 -06:00
Philip O'Toole bbdf4ddde3 Update CHANGELOG for PR 3136
[ci skip]
2015-06-25 16:30:01 -04:00
Philip O'Toole dfcecb2626 Move bug in Features to Bugfixes 2015-06-25 11:38:10 -07:00
Jason Wilder b0cda03219 Update changelog
Fixes #2102 #2966
2015-06-24 23:09:08 -06:00
gunnaraasen a367e2b165 Update CHANGELOG 2015-06-23 23:11:11 -07:00
Philip O'Toole 4b0871e293 Update CHANGELOG 2015-06-22 16:04:38 -07:00
dgnorton eb20558c4c Merge pull request #2985 from influxdb/cq-nowhere-2944
fix #2944: don't require WHERE time on create CQ
2015-06-22 15:51:22 -04:00
Jason Wilder cc7e59a12a Merge pull request #3088 from influxdb/jw-field-values
Fix string field value escaping
2015-06-22 13:48:47 -06:00
David Norton fefd1ce24d fix #2944: update CHANGELOG.md 2015-06-22 15:40:31 -04:00
Jason Wilder 0949b0783b Update changelog
Add fix for #3013
2015-06-22 13:17:40 -06:00
Philip O'Toole 1e6a9394df Update CHANGELOG 2015-06-22 11:57:17 -07:00
Todd Persen 9f45a9eea3 Update CHANGELOG.md 2015-06-18 15:44:16 -07:00
Philip O'Toole 4933736d51 Update CHANGELOG for PR 3038 2015-06-18 12:01:42 -07:00
Philip O'Toole 0c1d256830 Update CHANGELOG 2015-06-17 14:45:50 -07:00
Philip O'Toole 64925023cd Update CHANGELOG 2015-06-17 11:04:51 -07:00
Philip O'Toole f9325d7399 Correct minor typos in CHANGELOG 2015-06-17 08:49:00 -07:00
Philip O'Toole 734b7bf198 Update CHANGELOG for PR 3021 2015-06-17 08:46:12 -07:00
Philip O'Toole 38b4f0787f Merge pull request #2650 from n1tr0g/show_grants_user
Show grants for user statement
2015-06-16 12:27:15 -07:00
Philip O'Toole 2f4b089b84 Update CHANGELOG 2015-06-16 12:14:36 -07:00
Dejan Golja 000d6b8b0b added tests for SHOW GRANTS FOR statements 2015-06-17 01:24:09 +10:00
Dejan Golja f133ceb350 Added support for SHOW GRANTS FOR USER syntax 2015-06-17 01:00:26 +10:00
Philip O'Toole b758a23886 Update CHANGELOG 2015-06-15 11:51:35 -07:00
Philip O'Toole 7eed411bee Update CHANGELOG 2015-06-15 10:30:34 -07:00
Philip O'Toole 96c0fd3fe1 Update CHANGELOG for PR 2974 2015-06-12 14:22:37 -07:00
Philip O'Toole 00db51b763 Update CHANGELOG 2015-06-12 13:57:53 -07:00
Philip O'Toole 0131956878 Update CHANGELOG 2015-06-12 12:31:35 -07:00
Philip O'Toole 4eab0bf0d3 Update CHANGELOG for PR 2928 2015-06-12 11:10:40 -07:00
Jason Wilder 36cde5f35e Fix large integers getting converted to floats during remote writes
Fixes #2960

Integers were were written back to line protocol using strconv.FormatFloat
incorrectly.  Large integers are written in scientific notation which
causes their type to change to a float when parsed back.
2015-06-12 11:20:37 -06:00
dgnorton 0318b4562e Merge pull request #2936 from influxdb/fix-2935
fix #2935: hook CPU and memory profiling back up
2015-06-12 12:10:27 -04:00
David Norton f717019d88 fix #2935: hook CPU and memory profiling back up 2015-06-12 11:47:59 -04:00
林芳荣 63174e0dbf merge 2015-06-12 23:43:18 +08:00
Jason Wilder 30068561ae Fix parsing negative floats
Fixes #2919
2015-06-12 08:39:17 -06:00
linfangrong 83827fdc74 Update CHANGELOG.md 2015-06-12 10:58:10 +08:00
Jason Wilder 20fe5b0218 Add measurement name to type conflict error messages
Fixes #2948
2015-06-11 16:16:07 -06:00
Ben Johnson a966482a8e Ensure default retention policies are fully replicated
This commit sets the replication factor to the number of nodes
currently in the cluster.
2015-06-11 14:43:44 -06:00
Philip O'Toole 8088f0d87a Update CHANGELOG 2015-06-11 11:10:10 -07:00
Jason Wilder ad02244863 Fix field type conflict error
Fixes #2908
2015-06-11 11:02:10 -06:00
Todd Persen 471117ce5b Update CHANGELOG.md for v0.9.0 2015-06-11 07:50:09 -07:00
David Norton 2cf94cd813 fix #2920: update CHANGELOG.md 2015-06-11 09:43:55 -04:00
Philip O'Toole 9681f4b5cf Update CHANGELOG 2015-06-11 00:21:51 -07:00
Ben Johnson 405ec78f42 Limit cluster to 3 nodes
This commit restricts the maximum number of nodes in a cluster to 3.

Fixes #2750
2015-06-11 00:11:47 -06:00
Ben Johnson 52696ae3a1 Require replication factor to equal cluster size
This commit adds a requirement that retention policies must
be fully committed. This means that the replication factor
must be set to whatever the node count is in the cluster.

Fixes #2738
2015-06-11 00:11:03 -06:00
Paul Dix edd4a1835b Update CHANGELOG.md 2015-06-10 21:12:32 -07:00
Paul Dix e868242635 Update CHANGELOG.md 2015-06-10 21:11:26 -07:00
Ben Johnson bc31783a00 Refactor backup and restore
This commit updates the snapshot code as well as the "backup" and
"restore" command to work with the new architecture.
2015-06-10 22:07:01 -06:00
Philip O'Toole 90a42f9c4d Update CHANGELOG 2015-06-10 20:43:23 -07:00
Philip O'Toole e76f3c77c2 Update CHANGELOG 2015-06-10 20:38:38 -07:00
Philip O'Toole 223bf672cf Update CHANGELOG 2015-06-10 20:05:59 -07:00
Philip O'Toole f60c816acb Merge pull request #2897 from influxdb/graphite_db
Ensure target Graphite database exists
2015-06-10 20:05:13 -07:00
Philip O'Toole dddaf46b77 Update CHANGELOG 2015-06-10 20:02:37 -07:00
Philip O'Toole b65396e0b4 Update CHANGELOG 2015-06-10 19:23:01 -07:00
Philip O'Toole eb96698975 Unit-test shard precreation 2015-06-10 15:27:38 -07:00
Jason Wilder 0d9a2a5053 Fix wrong value used for incorrect type error message
Would result in saying that the field type was always a string which
is incorrect.  The field key is a string but the value may not be.

Fixes #2700
2015-06-10 15:57:27 -06:00
Jason Wilder 999f4a4c41 Return field type errors as client write errors
Fixes #2849
2015-06-10 14:52:26 -06:00
Jason Wilder d9fe30944b Update changelog
Add #2869
2015-06-10 10:32:24 -06:00
Todd Persen 10b07a1bbd Update CHANGELOG.md for RC33 2015-06-09 23:05:01 -07:00
Todd Persen 6d4c6bd739 Update CHANGELOG.md 2015-06-09 22:44:22 -07:00
Philip O'Toole 4545abdc09 Merge pull request #2858 from influxdb/config_opentsdb_consis
Support setting openTSDB write consistency
2015-06-09 15:42:20 -07:00
Philip O'Toole de901c5772 Update CHANGELOG 2015-06-09 15:39:35 -07:00
Todd Persen 4191e90031 Update CHANGELOG.md 2015-06-09 15:04:22 -07:00
Jason Wilder 9f444a6eeb Update changelog
Add #2857
2015-06-09 15:53:44 -06:00
Philip O'Toole 21343e4e0f Don't panic when altering retention policy
Fixes issue #2846
2015-06-09 11:39:09 -07:00
David Norton a38f3947de fix #2814: update CHANGELOG.md 2015-06-09 00:35:23 -04:00
Philip O'Toole 21aa28f901 Update CHANGELOG 2015-06-08 20:39:42 -07:00
Philip O'Toole 12ee3afc74 Update CHANGELOG 2015-06-08 19:49:08 -07:00
Ben Johnson b688eccb77 Refactor OpenTSDB to a service
This commit converts the OpenTSDB endpoint into a service.
2015-06-08 15:12:16 -06:00
Philip O'Toole 5e6d7fe833 Update CHANGELOG 2015-06-08 11:12:21 -07:00
Philip O'Toole 4c2f840659 Update CHANGELOG for PR 2816 2015-06-08 11:06:58 -07:00
Todd Persen 50a2b9ba0f Update CHANGELOG.md 2015-06-07 02:40:13 -07:00
Todd Persen 202e420e91 Fixing merge conflict. 2015-06-05 14:23:13 -07:00
Philip O'Toole f3fa2b8192 Update CHANGELOG for PR 2776 2015-06-05 11:13:17 -07:00
Paul Dix 801819e07a Update CHANGELOG.md 2015-06-04 11:23:41 -04:00
Renan Strauss 3b09a59540 Add UDP service back 2015-06-04 10:24:48 +02:00
Philip O'Toole 4e7f04567c Update CHANGELOG for PR 2687 2015-05-28 15:22:36 -07:00
Philip O'Toole c71a6a6627 Update CHANGELOG for PR2383 2015-05-28 14:47:50 -07:00
Vladimir Lopes 3e03be358f Include client timeout configuration 2015-05-28 18:03:02 -03:00
Cory LaNou 60207f40d1 Update CHANGELOG.md 2015-05-28 11:23:12 -06:00
Todd Persen 009a93c31b Fix merge conflict in CHANGELOG.md 2015-05-28 09:40:28 -07:00
Cory LaNou a3ff901df7 Update Changelog for PR 2501 2015-05-28 10:36:40 -06:00
Chris Laws ac76e5c297 Fix issues path in change log 2015-05-28 22:04:55 +09:30
Chris Laws 2c9fe24695 Update changelog file 2015-05-28 21:48:18 +09:30
David Norton 500af80ebc fix #2599: update CHANGELOG.md 2015-05-27 16:28:45 -04:00
David Norton 2517842201 fix #2644: update CHANGELOG.md 2015-05-27 10:26:32 -04:00
Todd Persen 0f0a50b2a6 Merge pull request #2633 from influxdb/fix-2564
fix #2564: Rename "name" to "measurement" in JSON for writes
2015-05-26 20:33:26 -07:00
Todd Persen ad9544cebe Update CHANGELOG.md 2015-05-25 23:36:23 -07:00
David Norton e4670cb934 fix #2635: Fix query against bool field in WHERE 2015-05-24 05:00:59 -04:00
David Norton 35b02fd8ec fix #2564: update CHANGELOG.md 2015-05-21 19:08:35 -04:00
Todd Persen a05c368c07 Update CHANGELOG.md for RC31 2015-05-21 14:45:59 -07:00
Todd Persen 37c47e36d5 Merge pull request #2624 from influxdb/fix-2563-remove-drop-series-id
Remove references to SeriesID in `DROP SERIES` handlers.
2015-05-21 13:14:29 -07:00
David Norton 34267e65b1 fix #2531: update CHANGELOG.md 2015-05-21 12:23:06 -04:00
Todd Persen 57fd3f406d Update CHANGELOG 2015-05-20 17:32:01 -07:00
Cory LaNou c291b3a47a add custom error message for select distict against tags 2015-05-20 14:15:44 -06:00
Todd Persen 8daec06f49 Update CHANGELOG.md 2015-05-20 12:13:00 -07:00
Cory LaNou 001cdefd7f return an error if user attempts to group by field 2015-05-20 10:42:58 -06:00