Commit Graph

6836 Commits (68b82f30301c8629094b36d50f47b9b6b5cf5c36)

Author SHA1 Message Date
Cory LaNou 05fde32c2f silence output when connecting 2015-08-06 10:24:00 -05:00
Cory LaNou 96aaad4ffe send failed import lines to stdout for users to redirect to another log/import file 2015-08-06 09:19:56 -05:00
Cory LaNou b29f9a4118 minor fix to help for influx 2015-08-06 09:19:56 -05:00
Cory LaNou 0682c2a7b0 update useragent string for importer 2015-08-06 09:19:56 -05:00
Cory LaNou 296f16d634 NewConfig should return a default config without needing params passed to it 2015-08-06 09:19:56 -05:00
Cory LaNou 76367d5161 refactoring based on feedback 2015-08-06 09:19:56 -05:00
Cory LaNou ea58609392 update changelog 2015-08-06 09:19:56 -05:00
Cory LaNou b0b229b1bd add godoc comments for v8 importer 2015-08-06 09:19:34 -05:00
Cory LaNou c2f90ed887 update client tests 2015-08-06 09:19:34 -05:00
Cory LaNou 05a8c106e8 add database/retention policy context switching. log failed imports 2015-08-06 09:19:34 -05:00
Cory LaNou 30a0ca0130 start of a v8 data importer via the cli 2015-08-06 09:19:34 -05:00
Jason Wilder 5aacb3485b Merge pull request from influxdb/jw-fuzz
Fix panics found via go-fuzz
2015-08-05 20:03:44 -06:00
Gunnar 4098de881b Merge pull request from plutov/patch-1
Add import net/url package to README example
2015-08-05 17:45:56 -07:00
Ben Johnson 4436036acd Merge pull request from benbjohnson/bz1
BZ1 Pt. II
2015-08-05 16:56:03 -06:00
Jason Wilder 2d604ac537 Fix panics found via go-fuzz
Fixes 
2015-08-05 16:41:59 -06:00
Jason Wilder 51212a58bc Merge pull request from influxdb/jw-host-rename
Host renaming
2015-08-05 15:50:09 -06:00
Jason Wilder 3b0b227d31 Wait for raft to close before meta store close returns
Fixes 
2015-08-05 15:41:39 -06:00
Jason Wilder e0b25c723d Code review fixes 2015-08-05 14:48:30 -06:00
Jason Wilder b5b8754904 Fix comments and whitespace issues 2015-08-05 14:17:26 -06:00
Jason Wilder 40c5cfbce5 Update changelog 2015-08-05 14:17:26 -06:00
Jason Wilder d521b625ed Update show servers output to should address, not url
The addresses listed from show servers are not http endpoints so just
show the address without http:// prefix.
2015-08-05 14:17:26 -06:00
Jason Wilder 13052e60f2 Sync hostname to metastore after startup
If the -hostname flag is passed, the node will startup and be accessible from
remote nodes using the specified hostname.  At startup, we attempt to update
the hostname if it's different.  For data-only nodes, this is pretty straight-forward.
For nodes part of the raft cluster, it is much more complicated as the the cluster
must be up and stable (with a leader) for a the update to take place.  The main
complication in this case is that the node starting up will have a different
hostname and will fail to take part of the raft cluster because each other node
does not have this new name in the it's raft peers list.  Since this is very problematic
and very easy to break a cluster, this PR just aborts startup and alerts the operator that
some manual actions must be taken to update the raft peer on all raft members before
the hostname can be fully updated.

Fixes 
2015-08-05 14:17:26 -06:00
Jason Wilder 2b76dac479 Don't resolve hostname when creating node
Hostnames were always being resolved to an IP address and the IP
address was used as the host address and raft peer address.  There
was no way to use an actual hostname instead of an IP address.
2015-08-05 14:17:26 -06:00
Jason Wilder ce26a3097a Add UpdateNode raft command 2015-08-05 14:17:26 -06:00
Jason Wilder 47f08352a8 Merge pull request from influxdb/jw-3511
Fix panic parsing measurement with large number of tags
2015-08-05 14:11:08 -06:00
Daniel Morsing d4c0bab2d4 Merge pull request from DanielMorsing/quoteidents
be more strict about identifier printing
2015-08-05 20:22:20 +01:00
Jason Wilder 56d962261e Fix panic parsing measurement with large number of tags
Defaults to handling measurements with up to 100 tags and will
now grow the slice if there are more instead of panicing.

Fixes 
2015-08-05 12:45:55 -06:00
Daniel Morsing 38b70b2cfd add test for evil identifiers that stress the parser 2015-08-05 19:41:00 +01:00
Jason Wilder 4f7df336f2 Fix go vet 2015-08-05 12:16:17 -06:00
Daniel Morsing fc4246d7f5 be more strict about identifier printing
When stringifying a query, we would print the identifier bare most
of the time. This caused issues when stringifying an identifier
that contained elements of syntax. For example, querying for the
value "in-bytes" would fail because the mapper would serialize it to
in-bytes and would parse it as an expression. Same problem occured
when using keywords as identifier names, such as select or in.

Fixes 
2015-08-05 17:40:42 +01:00
Ben Johnson f7111e037b add bz1 testing/quick coverage 2015-08-04 18:36:14 -06:00
Paul Dix affd0b1ca2 Merge pull request from DanielMorsing/validateFields
check if fields are valid during parse.
2015-08-04 11:03:33 -04:00
Daniel Morsing 6797270403 check if fields are valid during parse.
Binary expressions that yield a boolean are invalid and we can catch
these at parse time.

Fixes 
2015-08-04 16:02:35 +01:00
dgnorton 4af2272269 Merge pull request from influxdb/statement_rewrite3
Shard Mappers perform query re-writing
2015-08-04 09:52:14 -04:00
David Norton d661bf1a06 fix : shard mappers perform query re-writing 2015-08-04 09:49:50 -04:00
dgnorton d810682019 Merge pull request from influxdb/mas-optimize-key
Query performance optimization
2015-08-03 17:32:54 -04:00
Ben Johnson 4077148245 refactor bz1 to integrate with WAL 2015-08-03 14:32:17 -06:00
Ben Johnson 6be31e7f15 2015-08-03 14:32:17 -06:00
Ben Johnson de09c02874 add benchmarks 2015-08-03 14:32:17 -06:00
Ben Johnson 1ada790de7 add bz1 storage engine 2015-08-03 14:32:17 -06:00
Paul Dix dc1d3a491c Update CHANGELOG.md 2015-07-31 19:11:31 -04:00
Paul Dix 4749c84399 Merge pull request from nathanielc/master
Add TLS support to the OpenTSDB plugin
2015-07-31 19:10:12 -04:00
Nathaniel Cook 2fac5471ce add TLS support to the OpenTSDB plugin 2015-07-31 12:00:22 -06:00
Paul Dix e2ba3e051a Merge pull request from influxdb/pd-contributing-profiling
Update CONTRIBUTING.md with profiling info
2015-07-31 13:44:44 -04:00
Cory LaNou 42c4034c82 Merge pull request from influxdb/line-protocol-integer
Line protocol integer
2015-07-31 12:29:35 -05:00
David Norton b003522a18 use heap for tagSetCursor lookahead 2015-07-31 13:28:46 -04:00
Cory LaNou b154e64d42 add point conversion test for 1.0i 2015-07-30 20:55:08 -05:00
Cory LaNou 0b5eb09181 integers in line protocol now have to end with `i` 2015-07-30 20:51:18 -05:00
Paul Dix a09c00653c Merge pull request from aviau/missing_bsd_license
Add missing BSD license file
2015-07-30 10:23:02 -04:00
aviau 838f5de5b6 Add missing BSD license file 2015-07-30 08:35:03 -04:00