Commit Graph

10896 Commits (07071279dc550ce7ed7fbd151b7d7385d00ee4c2)

Author SHA1 Message Date
Jack Zampolin 07071279dc Update README.md 2016-09-15 15:49:29 -07:00
Edd Robinson ec017863f7 Merge pull request #7311 from influxdata/er-perf
Pre-allocate map for performance
2016-09-15 20:01:03 +01:00
Edd Robinson ed41122ade Pre-allocate map for performance 2016-09-15 18:28:46 +01:00
Jonathan A. Sternberg 1a9de4c9b8 Merge pull request #7268 from influxdata/js-more-man-pages
More man pages for the other tools we package
2016-09-15 08:45:27 -05:00
Jonathan A. Sternberg edd32908fe More man pages for the other tools we package
Updating the package to compress the man pages fully and removes the
filename and timestamp from being stored in the man page. Lintian
complains that the packages aren't compressed using the best compression
method.

https://lintian.debian.org/tags/manpage-not-compressed.html
2016-09-15 08:35:05 -05:00
Jonathan A. Sternberg 635ce337f0 Merge pull request #7304 from influxdata/js-remove-substatement-method
Remove defunct `Substatement()` call
2016-09-15 08:32:40 -05:00
Jonathan A. Sternberg c11cbc5f05 Merge pull request #7309 from influxdata/js-go-vet-for-1.7
Update source files to pass vet checks for go 1.7
2016-09-15 08:32:30 -05:00
Jonathan A. Sternberg 477d6231db Update source files to pass vet checks for go 1.7
The vet checks for some files did not pass for go 1.7. As part of a
preliminary start to making go 1.7 work with this software, go vet
should pass.

Also updated the gogo/protobuf dependency which fixed the code generator
to work with go 1.7 too. Ran `go generate` on the entire repository to
ensure every file was up to date.
2016-09-14 15:01:22 -05:00
Cory LaNou a22c533cec Merge pull request #7296 from influxdata/cjl-2762
Return appropriate error if overflowing duration when parsing
2016-09-14 11:20:48 -05:00
Cory LaNou 71f0c7e1e9 return appropriate error if overflowing duration when parsing 2016-09-14 09:27:38 -05:00
Jonathan A. Sternberg 0974bfc1fb Merge pull request #7306 from influxdata/js-update-usage-client-dependency
Update usage-client dependency
2016-09-14 08:31:28 -05:00
Todd Persen 72b3ef32b9 Merge pull request #7307 from influxdata/tp-update-for-7286
Regenerate static assets and update CHANGELOG for PR #7286.
2016-09-14 00:20:50 -07:00
Todd Persen b8192d079e Regenerate static assets and update CHANGELOG for PR #7286. 2016-09-13 23:38:36 -07:00
Todd Persen 5df06432bb Merge pull request #7286 from dandv/patch-1
Proper password field in the Admin UI
2016-09-13 23:17:35 -07:00
Jonathan A. Sternberg 2a663eb394 Update usage-client dependency
The usage-client dependency tests used an invalid import path and that
would screw up any tools that recursively descended through
dependencies and tried to verify them. Updating this dependency.
2016-09-13 23:16:06 -05:00
Jonathan A. Sternberg a0dfd8ae5e Merge pull request #7294 from influxdata/js-7231-duplicate-parsing-in-alter-retention-policy
Duplicate parsing bug in ALTER RETENTION POLICY
2016-09-13 16:29:24 -05:00
Jonathan A. Sternberg dbb8c5570c Duplicate parsing bug in ALTER RETENTION POLICY
Return an error when we encounter the same option twice in ALTER
RETENTION POLICY and remove the `maxNumOptions` number from the parsing
loop. The `maxNumOptions` number would need to be modified if another
option was added to the parsing loop and it didn't correctly prevent
duplicate options from being reported as an error anyway.
2016-09-13 15:56:13 -05:00
Jonathan A. Sternberg 07e3ceb855 Merge pull request #7295 from influxdata/js-6962-specify-database-in-schema-exploration-queries
Support ON and use default database for SHOW commands
2016-09-13 15:56:01 -05:00
Jonathan A. Sternberg aae88fc3c3 Support ON and use default database for SHOW commands
Normalize all of the SHOW commands so they allow both using ON to
specify the database and using the default database. Some commands would
require one and some would require the other and it was confusing when
using the query language.

Affected commands:

* SHOW RETENTION POLICIES
* SHOW MEASUREMENTS
* SHOW SERIES
* SHOW TAG KEYS
* SHOW TAG VALUES
* SHOW FIELD KEYS
2016-09-13 15:36:59 -05:00
Jonathan A. Sternberg 0b0c752f5a Merge pull request #7298 from influxdata/js-7297-inconsistent-column-output
Use consistent column output from the CLI for column formatted responses
2016-09-13 15:35:25 -05:00
Jonathan A. Sternberg 35b7460ad3 Use consistent column output from the CLI for column formatted responses
There were three different outputs that could be output with columns
that were rather strange depending on if there was a name and if there
were tags with the response.

Normalized output now has the dashes always under the column names and
no dashes anywhere else for consistency.
2016-09-13 14:20:49 -05:00
Jonathan A. Sternberg 394c13870b Remove defunct `Substatement()` call 2016-09-13 14:17:31 -05:00
Jonathan A. Sternberg 8b07e9dd55 Merge pull request #7257 from influxdata/js-7013-dollar-sign-accepted-as-whitespace
Fix the dollar sign so it properly handles reserved keywords
2016-09-13 14:14:04 -05:00
Edd Robinson 28deff65ec Merge pull request #7289 from sdtsui/4098-cmd-influx_tsm
Lint influx_tsm; Relates to #4098
2016-09-13 18:18:21 +01:00
sdtsui 6471986eb1 Lint influx_tsm; Relates to #4098
- Single commit, PR follows conventions laid out by @Gouthamve in #5822
* main.go: struct field CpuFile should be CPUFile
* influx_inspect: loop equivalent to `for key := range...`
* adds comments to exported fields and consts
* fixes typo in `CHANGELOG.md`: text for #4702 now matches number
2016-09-12 18:35:14 -07:00
Dan Dascalescu 858060375e Proper password field 2016-09-09 22:30:17 -07:00
Jonathan A. Sternberg b1d074c019 Merge pull request #7279 from influxdata/js-7278-fix-engine-tags-in-stats
Fix engine tags in stats
2016-09-09 17:51:54 -05:00
Jonathan A. Sternberg 46508cb8c9 Fix engine tags in stats 2016-09-09 17:16:53 -05:00
Jason Wilder 0521c2a03e Merge pull request #7266 from influxdata/jw-merge-10
Merge 1.0 to master
2016-09-08 09:09:59 -06:00
Jason Wilder 95682faec2 Merge branch '1.0' into jw-merge-10 2016-09-08 09:00:51 -06:00
Paul Dix c02611f68b Update CHANGELOG for 1.0 release! 2016-09-08 10:36:27 -04:00
Jason Wilder 37992377a5 Merge pull request #7265 from influxdata/jw-changelog
Update 1.0.0 release date
2016-09-07 12:07:56 -06:00
Jason Wilder df61117848 Update 1.0.0 release date 2016-09-07 11:54:20 -06:00
Jason Wilder 867eb28db7 Merge pull request #7258 from influxdata/jw-full-compactions
Fix continuous full compactions
2016-09-06 11:08:33 -06:00
Edd Robinson be41e41cae Merge pull request #7254 from influxdata/er-field-error
Ensure ErrFieldTypeConflict value returned
2016-09-05 14:09:19 +01:00
Edd Robinson 5023419adc Ensure ErrFieldTypeConflict value returned 2016-09-05 13:34:35 +01:00
Jason Wilder 1a35c0a3fc Fix neverending full compactions
The full compaction planner could return a plan that only included
one generation.  If this happened, a full compaction would run on that
generation producing just one generation again.  The planner would then
repeat the plan.

This could happen if there were two generations that were both over
the max TSM file size and the second one happened to be in level 3 or
lower.

When this situation occurs, one cpu is pegged running a full compaction
continuously and the disks become very busy basically rewriting the
same files over and over again.  This can eventually cause disk and CPU
saturation if it occurs with more than one shard.

Fixes #7074
2016-09-03 17:35:14 -06:00
Jonathan A. Sternberg 04c59b8941 Fix the dollar sign so it properly handles reserved keywords
The dollar sign would sometimes be accepted as whitespace if it was
immediately followed by a reserved keyword or an invalid character. It
now reads these properly as a bound parameter rather than ignoring the
dollar sign.
2016-09-02 15:32:46 -05:00
Jonathan A. Sternberg c6763fc0ae Merge pull request #7155 from influxdata/js-4461-todo-change-time-boundaries
Add TODO to change time boundaries for v2
2016-09-01 10:19:53 -05:00
Jonathan A. Sternberg 4ff0b10210 Merge pull request #7139 from influxdata/js-7137-show-tag-values-string-method
Properly output the SHOW TAG VALUES command so it can be reparsed
2016-09-01 10:19:19 -05:00
Jason Wilder a6f6fda415 Fix DeleteSeries when multiple fields exists
The logic for determining whether a series key was already in the
the set of TSM series was too restrictive.  It allowed only the first
field of a series to be added leaving all the remaing fields.
2016-08-31 20:53:10 -06:00
Jason Wilder c3fb8b8ef8 Merge pull request #7249 from influxdata/jw-engine-delete
Fix DeleteSeries when multiple fields exists
2016-08-31 20:48:14 -06:00
Jason Wilder 190537a557 Fix DeleteSeries when multiple fields exists
The logic for determining whether a series key was already in the
the set of TSM series was too restrictive.  It allowed only the first
field of a series to be added leaving all the remaing fields.
2016-08-31 20:35:35 -06:00
Jonathan A. Sternberg 7d243c31b3 Merge pull request #7248 from influxdata/js-merge-1.0-branch
Merge branch '1.0'
2016-08-31 21:32:50 -05:00
Jonathan A. Sternberg dc2527ce86 Merge branch '1.0' 2016-08-31 14:45:57 -05:00
Jonathan A. Sternberg 1187f53251 Merge pull request #7246 from influxdata/js-7243-optimize-queries-with-no-tag
Optimize queries that compare a tag value to an empty string
2016-08-31 14:34:12 -05:00
Jonathan A. Sternberg 5d899505dc Switch to `ioft/i386-ubuntu:14.04` image for 32bit testing
The `32bit/ubuntu:14.04` image seems to have been pulled by the owner. A
very recent commit to their repository recommends switching to
`ioft/i386-ubuntu:14.04` as the new 'official' image.
2016-08-31 14:03:44 -05:00
Jonathan A. Sternberg 964341eb20 Optimize queries that compare a tag value to an empty string
The behavior for querying tag values with an empty string was originally
fixed in #6283, but it also added a performance problem when the
cardinality of the tag was high. Since a call to `Union()` or `Reject()`
would happen for every series key and it would be called N times for N
cardinality, the comparisons against a blank string were unnecessarily
slow with large memory allocations.

This optimizes these queries so it doesn't use those methods anymore.
Those methods are still useful and used when combining AND and OR
clauses, but they aren't useful when finding the series ids for a single
clause. These methods were unnecessary anyway because the series ids for
the tags were unique anyway and didn't have to be merged as a set.
2016-08-31 14:03:23 -05:00
Jonathan A. Sternberg 05ddf85d24 Merge pull request #7245 from influxdata/js-backport-retention-policy-spec
Use defaults from `meta` package for `CREATE DATABASE`
2016-08-30 13:36:20 -05:00
Jonathan A. Sternberg 23f2d50ecb Use defaults from `meta` package for `CREATE DATABASE`
Instead of having the parser set the defaults, the command will set the
defaults so that the constants for that are actually used. This way we
can also identify which things the user provided and which ones we are
filling with default values.

This allows the meta client to be able to make smarter decisions when
determining if the user requested a conflict or if the requested
capabilities match with what is currently available. If you just say
`CREATE DATABASE WITH NAME myrp`, the user doesn't really care what the
duration of the retention policy is and just wants to use the default.
Now, we can use that information to determine if an existing retention
policy would conflict with what the user requested rather than returning
an error if a default value ever gets changed since the meta client
command can communicate intent more easily.
2016-08-30 13:23:49 -05:00