Commit Graph

11294 Commits (a2f939834a4362f2db46480bad2e220e90d03335)

Author SHA1 Message Date
Edd Robinson 0ae775f230 Prevent influx from panicking on connect 2016-10-24 16:09:06 +01:00
Cory LaNou e35178870e Merge pull request #7493 from influxdata/cjl-7431-remove-cq-endpoint-httpd
Remove ProcessContinousQueries from httpd endpoint
2016-10-21 13:02:19 -05:00
Joe LeGasse aa9f832166 influx_inspect: make 'go vet' happy 2016-10-21 10:52:13 -04:00
Jonathan A. Sternberg 332de123bd Merge pull request #7496 from influxdata/js-filter-shards-without-series-key
Filter out series within shards that do not have data for that series
2016-10-21 09:49:01 -05:00
Joe LeGasse 5fe6edcc23 influx_inspect: update manpage text 2016-10-21 10:39:40 -04:00
Joe LeGasse 5be37c014d influx_inspect: Update usage doc for 'export' 2016-10-21 10:35:54 -04:00
Jonathan A. Sternberg 3681bc8a43 Filter out series within shards that do not have data for that series
Previously, we would return a full tag set for every shard and the tag
set would include all series that existed in the database index
including series that didn't physically exist within that shard. This
led to the tag sets returned being incredibly huge when we had high
cardinality but sparse data. Since the data was sparse, it was
unexpected that it would cause such a large strain on the system by most
people.

Now we filter out the series ids that are not assigned to the current
shard when computing a tag set for that shard. This lowers the memory
usage for high cardinality sparse data drastically and allows queries on
those to complete successfully.

This does not resolve issues for high cardinality data in every shard
that is also spread out over a long series of time. That situation isn't
nearly as common as the above situation though.
2016-10-20 14:15:34 -05:00
Cory LaNou 5b72b874d8
remove ProcessContinousQueries from httpd endpoint 2016-10-20 11:22:36 -05:00
Hung Nguyen Viet 2cb6c64787 Sections headers should be all capitals 2016-10-20 18:57:13 +07:00
Hung Nguyen Viet 1f26984181 Graphite 2016-10-20 18:57:13 +07:00
Hung Nguyen Viet cc7b61d385 fix grammar error 2016-10-20 18:57:13 +07:00
Hung Nguyen Viet 179f5b02cc TSM is the only engine now 2016-10-20 18:57:05 +07:00
Hung Nguyen Viet 1f31e8b707 clarify 2016-10-20 18:48:56 +07:00
Hung Nguyen Viet 4751ca1f43 use markdown 2016-10-20 18:47:54 +07:00
Hung Nguyen Viet dcb494ded5 use plural 2016-10-20 18:47:54 +07:00
Jason Wilder 6fd74a6a2a Merge pull request #7423 from mnuessler/usage-help
Fix help command usage string
2016-10-19 16:22:21 -06:00
Edd Robinson 3910c39424 Merge pull request #7484 from influxdata/er-sg
Fixes issue with point hitting wrong shard
2016-10-19 21:39:30 +01:00
Matthias Nüßler d2b987eac8 Fix help command usage string
The information in the usage string for the `help` command about
how to get more information about a specific command was incorrect:

"influxd help [command]" does not work, but "influxd [command] --help"
does.
2016-10-19 22:30:36 +02:00
Edd Robinson e88192b282 Fixes issue with point hitting wrong shard
If a point was written that was earlier than any existing shards
it would be written to the earliest existing shard that had an
end time later than the point's time.

This ensures that when a point is written and there are no shards that
the point will fit into exactly, a new shard group will be created.
2016-10-19 21:06:29 +01:00
Jason Wilder 9e5137e9c0 Merge pull request #7485 from influxdata/jw-7334
Fix panic in AppendSeriesKeyByID
2016-10-19 11:37:36 -06:00
Jason Wilder 2e473e9518 Fix panic in AppendSeriesKeyByID
Calling this function with a series ID that does not exist in
the measurement causes a panic.

Fixes #7334
2016-10-19 11:07:19 -06:00
Jason Wilder b50d9558cf Merge pull request #7479 from influxdata/jw-clean-err
Skip cleanup if dir does not exist
2016-10-18 15:49:09 -06:00
Jason Wilder f30b00c24f Skip cleanup if dir does not exist 2016-10-18 15:33:39 -06:00
Mark Rushakoff 987aaa7267 Merge pull request #7281 from influxdata/mr-compaction-stats
Add stats for active compactions
2016-10-18 14:30:16 -07:00
Mark Rushakoff 377c40f122 Add stats for active compactions
Unify logic around compaction execution to a single place.

Also report on the error stats that we track. Previously they were not
emitted in the stats output.
2016-10-18 14:12:21 -07:00
Jason Wilder 1aafea2e07 Merge pull request #7428 from ch33hau/prevent-trim-auth
auth command with leading spaces will be written to history
2016-10-18 15:12:01 -06:00
Jason Wilder 8f3da43ebb Merge pull request #7165 from influxdata/jw-deletes
Allow snapshot compactions during deletes
2016-10-18 14:27:16 -06:00
Jonathan A. Sternberg d5a30eeb52 Merge pull request #7473 from influxdata/js-7427-align-binary-math-with-fill
Align binary math expression streams by time
2016-10-18 15:27:07 -05:00
Joe LeGasse de9c743004 TSM: update comments for disabling level compactions 2016-10-18 14:14:59 -06:00
Joe LeGasse eda8f70372 TSM: Handle concurrent deletes for compaction 2016-10-18 14:14:59 -06:00
Jason Wilder 80cc956fb6 Fix changelog 2016-10-18 14:14:58 -06:00
Jason Wilder 47b8049e48 Update comment 2016-10-18 14:14:53 -06:00
Jonathan A. Sternberg 19a61dbb44 Align binary math expression streams by time
Also fills in missing values using the fill expression for any binary
aggregation.
2016-10-18 13:31:13 -05:00
Jason Wilder ed7975874f Rename Enabled -> Enable 2016-10-18 12:22:00 -06:00
Jason Wilder f254b4f3ae Allow snapshot compactions during deletes
If a delete takes a long time to process while writes to the
shard are occuring, it was possible for the cache to fill up
and writes to be rejected.  This occurred because we disabled
all compactions while writing tombstone file to prevent deleted
data from re-appearing after a compaction completed.

Instead, we only disable the level compactions and allow snapshot
compactions to continue.  Snapshots already handle deleted data
with the cache and wal.

Fixes #7161
2016-10-18 12:14:51 -06:00
Edd Robinson 4776e8ffd5 Merge pull request #7477 from influxdata/er-service-create
Input plugins should retry database creation
2016-10-18 18:10:59 +01:00
Mark Rushakoff cea7690b72 Merge pull request #7472 from influxdata/mr-cleanup-gitignore-editors
Add note to use global .gitignore
2016-10-18 10:00:00 -07:00
Edd Robinson 168c91cc67 graphite service should retry database creation 2016-10-18 16:50:07 +01:00
Edd Robinson 73c267abc1 udp service should retry database creation 2016-10-18 16:50:07 +01:00
Edd Robinson 0470f38478 opentsdb should retry creating its database 2016-10-18 16:50:07 +01:00
Edd Robinson cc60647827 collectd should retry creating database 2016-10-18 16:50:07 +01:00
Edd Robinson d3f3e020a6 Merge pull request #7463 from influxdata/er-services
Ensure input services can be safely opened and closed
2016-10-18 16:49:20 +01:00
Edd Robinson 6c149b31ef Remove unused exported methods 2016-10-18 16:19:44 +01:00
Mark Rushakoff b385decc06 Merge pull request #7475 from influxdata/mr-derivative-arg-panic
Disallow derivative call with non-duration 2nd arg
2016-10-18 08:05:52 -07:00
Edd Robinson ad2d33f859 Ensure input services can be safely opened and closed 2016-10-18 10:35:38 +01:00
Mark Rushakoff 0ddb7ad842 Disallow derivative call with non-duration 2nd arg
Previously, calling derivative with a non-duration second argument was
allowed during parsing but would panic during execution due to a failed
type conversion. This change ensures the second argument is a duration
literal.
2016-10-17 16:20:53 -07:00
Jonathan A. Sternberg 40c75fcd44 Merge pull request #7440 from influxdata/js-6896-influx-client-from-file
Correctly read in input from a non-interactive stream for the CLI
2016-10-17 15:52:13 -05:00
Jonathan A. Sternberg 2f5f995782 Correctly read in input from a non-interactive stream for the CLI
If you pipe in a file to the `influx` CLI, it will not try to open the
interactive line reader, but instead just send the contents of the
entire file to the server.
2016-10-17 12:58:44 -05:00
Jonathan A. Sternberg bf0ac921f7 Merge pull request #7429 from influxdata/js-6894-influx-cli-env-password
Support INFLUX_USERNAME and INFLUX_PASSWORD for setting username/password in the CLI
2016-10-17 12:58:12 -05:00
Jonathan A. Sternberg e457cefb24 Support INFLUX_USERNAME and INFLUX_PASSWORD for setting username/password in the CLI 2016-10-17 12:26:39 -05:00