Commit Graph

6070 Commits (3e794fc0f6d075007fea5f66e4ed59b6cfd28b3c)

Author SHA1 Message Date
Philip O'Toole 3e794fc0f6 Merge pull request #2881 from influxdb/otoolep-patch-1
Consolidate imports for retention service
2015-06-10 11:27:11 -07:00
Philip O'Toole a94cf8a4ca Consolidate imports for retention service
Minor cosmetic change
2015-06-10 11:25:17 -07:00
Cory LaNou 5102fb6196 Merge pull request #2870 from influxdb/ability-to-silence-loggers-for-testing
Add ability to silence logging for testing
2015-06-10 12:53:47 -05:00
Jason Wilder 8353ee562b Merge pull request #2877 from influxdb/jw-writes
Fix panic when adding field to existing measurement
2015-06-10 11:19:46 -06:00
Jason Wilder d9fe30944b Update changelog
Add #2869
2015-06-10 10:32:24 -06:00
Jason Wilder bc7e1f6fd6 Fix panic when adding new fields
Fixes #2869

When adding a new field to an existing measurment, Shard.validateSeriesAndFields
would also encode the fields as a side-effect.  In the case of a new field
that needed to be created, the encoding would fail because the field type
had not been created for the measurement yet.  The fields are re-encoded
after validateSeriesAndFields returns and after the field encoding have been
setup properly so this additional encoding during
validation isn't necessary.
2015-06-10 10:30:14 -06:00
Cory LaNou 8a5cf394d8 add ability to silence logging for testing 2015-06-10 10:27:57 -05: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
Todd Persen 258ae9c9ca Merge pull request #2859 from influxdb/fix-2845
fix #2845: fix panic on aggregate functions
2015-06-09 22:42:36 -07:00
Philip O'Toole 7ff2fdfcb4 Initialize influxql test data 2015-06-09 22:38:11 -07:00
Philip O'Toole a4dbed871f Merge pull request #2860 from influxdb/config_tags_sort
Ensure tags are always marshalled the same way
2015-06-09 17:14:04 -07:00
Philip O'Toole 98d315b8d8 Ensure tags are always marshalled the same way
This added check ensures it's always alphabetically ordered when
marshalled.
2015-06-09 17:10:46 -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
Philip O'Toole cbaf3cb0ed Support setting openTSDB consistency level 2015-06-09 15:39:31 -07:00
David Norton 843ef41cc9 fix #2845: fix panic on aggregate functions 2015-06-09 18:29:54 -04:00
Todd Persen 4191e90031 Update CHANGELOG.md 2015-06-09 15:04:22 -07:00
Philip O'Toole e21d49e85f Add openTSDB consistency level config param 2015-06-09 15:03:52 -07:00
Jason Wilder cd3e758324 Merge pull request #2857 from influxdb/jw-commas
Fix parsing commas in string field values
2015-06-09 15:56:33 -06:00
Jason Wilder 9f444a6eeb Update changelog
Add #2857
2015-06-09 15:53:44 -06:00
Jason Wilder 3e969166c9 Fix parsing commas in string field values
Fixes a panic on writes because the field value was not parse correctly.

panic: unsupported value type during encode fields: <nil>

goroutine 117 [running]:
github.com/influxdb/influxdb/tsdb.(*FieldCodec).EncodeFields(0xc2081c4020, 0xc2081dc180, 0x0, 0x0, 0x0, 0x0, 0x0)
	/Users/jason/go/src/github.com/influxdb/influxdb/tsdb/shard.go:573 +0x8e3
2015-06-09 15:53:21 -06:00
Philip O'Toole 22e6cbc960 Merge pull request #2840 from influxdb/parse_cluster_consistency
Add cluster consistency parsing to cluster package
2015-06-09 14:22:45 -07:00
Philip O'Toole 8eea2b3092 Allow Server creation to return errors 2015-06-09 14:21:12 -07:00
Philip O'Toole 952fb49368 Move parsing consistency levels to cluster package
Errors parsing the consistency level are indicated by returning a nil
Graphite input.
2015-06-09 14:21:12 -07:00
Philip O'Toole fd0de2fb1b Add function to parser consistency levels 2015-06-09 14:21:12 -07:00
Todd Persen aa247fa923 Merge pull request #2833 from influxdb/update-sample-configuration
Create a valid default config for v0.9.0
2015-06-09 14:17:53 -07:00
Philip O'Toole 6ce7c6e4ad Merge pull request #2852 from influxdb/panic_change_rp
Don't panic when altering retention policy
2015-06-09 14:16:11 -07:00
Jason Wilder dd841ed181 Merge pull request #2853 from influxdb/jw-throttle
Hinted handoff throttling
2015-06-09 15:13:42 -06:00
Jason Wilder eb1cd44b8d Log write errors
Since the client only receives a "write failed" or "partial write" error
message, log more context in the logs.
2015-06-09 14:49:22 -06:00
Cory LaNou 81e3407d01 Merge pull request #2855 from influxdb/integration-test
Add where clause integration tests, add support for int64 comparisons
2015-06-09 15:49:18 -05:00
Jason Wilder 5dab8de7e0 Log hinted handoff processing duration 2015-06-09 14:49:18 -06:00
Jason Wilder c9f9b37753 Add hinted handoff queue rate limiting
Basic throughput limiting to dynamically maintain a bytes/sec
limit if configured for hinted handoff retry queues.  If a batch is
larger than the limit, the limit will slow the processing down to one
write per second.

By default, the limit is unbounded.  It can be enabled to help prevent
retstarting nodes that have queued writes for them from being overloaded
at startup.
2015-06-09 14:46:13 -06:00
Cory LaNou 709a7ffd06 add where clause integration tests, add support for int64 comparisons 2015-06-09 15:45:00 -05:00
Philip O'Toole 19dcebc730 Increase CircleCI timeout to 10 minutes
Working hypothesis is that race testing is on the edge with 5 minutes. We're going to 10 minutes, but if this still fails, it may be some other issue.
2015-06-09 12:40:11 -07:00
Philip O'Toole 691051b1e2 Merge pull request #2854 from influxdb/bump_raft_timeouts
Increase Raft timeouts during test
2015-06-09 12:34:38 -07:00
Philip O'Toole c455c374d1 Increase Raft timeouts during test
Previous timeouts may be too short for CI testing resources.
2015-06-09 12:32:16 -07:00
Philip O'Toole 21343e4e0f Don't panic when altering retention policy
Fixes issue #2846
2015-06-09 11:39:09 -07:00
Cory LaNou fb70737a14 Merge pull request #2830 from influxdb/multiple-field-types-select-panic
Server panics when querying from a database that results across shards and fields
2015-06-09 13:29:48 -05:00
Cory LaNou a43054adce add test for querying across shards and fields 2015-06-09 12:51:59 -05:00
Todd Persen f4c07d9d92 Add some section-level comments to the config. 2015-06-09 10:27:27 -07:00
Todd Persen f9188687de Clean up intervals and add graphite section. 2015-06-09 03:38:07 -07:00
dgnorton 1f8eb9d8c0 Merge pull request #2837 from influxdb/rehook-collectd-2814
fix #2814: hook collectd service back up
2015-06-09 00:57:02 -04:00
David Norton a38f3947de fix #2814: update CHANGELOG.md 2015-06-09 00:35:23 -04:00
David Norton fc0bbaf0d1 fix #2814: remove locking cruft from batcher 2015-06-09 00:34:46 -04:00
David Norton 939e02a900 fix #2814: return error instead of panic 2015-06-09 00:34:46 -04:00
David Norton 88a7774a80 fix #2814: remove unnecessary initialization 2015-06-09 00:34:46 -04:00
David Norton cef04db18f fix #2814: use toml.Duration where needed 2015-06-09 00:34:46 -04:00
David Norton 3b15a49f7c fix #2814: revert making batcher channels buffered 2015-06-09 00:34:46 -04:00
David Norton 2f03a07a32 fix #2814: move repetative test data to global var 2015-06-09 00:34:46 -04:00