Commit Graph

10009 Commits (1b6ffa1d2de16d1ae54724404ba86b5512d9f814)

Author SHA1 Message Date
Jonathan A. Sternberg 1b6ffa1d2d Merge pull request #6363 from influxdata/js-6292-percentile-as-selector
Allow percentile to be used as a selector
2016-04-14 12:28:16 -04:00
Jonathan A. Sternberg 64dd2c8919 Merge pull request #6374 from influxdata/js-6296-rename-time-field
Allow the implicit time field to be renamed
2016-04-14 12:07:41 -04:00
Jonathan A. Sternberg 9d01f3aa56 Allow the implicit time field to be renamed
Fixes #6296.
2016-04-14 11:04:06 -04:00
Edd Robinson f029d80afb Merge pull request #6202 from chris-ramon/normalises-shard-duration
Improves existing RP checking when creating a DB.
2016-04-13 20:31:16 +01:00
Chris Ramón 93aa287d0a updates CHANGELOG 2016-04-13 13:10:40 -05:00
Chris Ramón a4dd61a2c7 adds shard duration normalization before comparing retention policies 2016-04-13 13:09:20 -05:00
Jonathan A. Sternberg 66a599825b Allow percentile to be used as a selector
Fixes #6292.
2016-04-13 13:29:14 -04:00
Todd Persen 36ca49c17b Merge branch 'simnv-opentsdb-log-less' 2016-04-12 16:09:42 -07:00
Todd Persen 00ed9ebaf3 Remove TSDB listener accept message 2016-04-12 16:09:31 -07:00
Gunnar cfa50bbd3d Merge pull request #6228 from influxdata/ga-multiple-inputs
Support multiple listeners per input
2016-04-12 15:31:38 -07:00
Jonathan A. Sternberg 50bd78433c Merge pull request #6291 from influxdata/js-6261-optimize-distinct
Optimize the distinct call
2016-04-12 17:09:10 -04:00
Nathaniel Cook 93a76eecb6 Merge pull request #6293 from influxdata/nc-percentile-selector
Update Percentile to preserve Aux fields since its a selector
2016-04-12 14:18:23 -06:00
Nathaniel Cook 6ae62e9644 update Percentile to preserve Aux fields since its a selector 2016-04-12 13:34:50 -06:00
Ben Johnson f7f35affd2
add distinct iterator benchmark 2016-04-12 13:22:03 -06:00
Edd Robinson f187f8995f Merge pull request #6288 from influxdata/er-fix-client
Ensure Client is safe for concurrent use
2016-04-12 18:17:55 +01:00
Jonathan A. Sternberg 60282cf52d Merge pull request #6284 from influxdata/js-3371-where-clause-compare-tags-and-fields
Enhance comparing tags and fields in the where clause
2016-04-12 11:45:54 -04:00
Edd Robinson 592d668e1b Ensure Client is safe for concurrent use
Fixes #6287.
2016-04-12 14:23:32 +01:00
Jonathan A. Sternberg a24f442b89 Merge pull request #6277 from PierreF/tsm1-filestore-deadlock
Fix deadlock in tsm1/file_store
2016-04-12 08:43:03 -04:00
Pierre Fersing d4668af4d7 Updated changelog 2016-04-12 09:39:27 +02:00
Pierre Fersing 29b19a2293 Fix deadlock in tsm1/file_store 2016-04-12 09:39:21 +02:00
Valeriy Simonov 1e6b76e0a6 Changelog update 2016-04-12 09:11:55 +05:00
Valeriy Simonov 57f0d8ffb8 Merge branch 'master' into opentsdb-log-less 2016-04-12 09:08:12 +05:00
Valeriy Simonov 9a4b73aa38 rebase 2016-04-12 08:23:51 +05:00
Jonathan A. Sternberg 6708d0c439 Optimize the distinct call
Change distinct so it uses a custom reducer that keeps internal state
instead of requiring all of the points to be kept as a slice in memory.

Fixes #6261.
2016-04-11 18:29:50 -04:00
Jonathan A. Sternberg ea6262b712 Enhance comparing tags and fields in the where clause
Now it is possible to compare tags and fields and it is also now
possible to compare tags and tags. Previously, it was only possible to
compare fields with fields and tags with a string or a regex.

Fixes #3371.
2016-04-11 18:10:08 -04:00
Edd Robinson 7c34b1b3f8 Merge pull request #6281 from influxdata/er-fix-admin-docs
Use 'latest' alias for links to documentation
2016-04-11 22:35:12 +01:00
Ben Johnson 7aa0c57ee9 Merge pull request #6270 from benbjohnson/bench
tsm1 query engine alloc reduction
2016-04-11 15:03:08 -06:00
Ben Johnson 525e22c92b
tsm1 query engine alloc reduction
This commit makes a number of performance improvements to
reduce allocations during query execution. Several objects
and buffers are now reused across the components to avoid
allocations.

Previously a simple `count(value)` query across 1M points
would require 26,000+ allocations. After the changes in
this commit that number has been reduced to 88.
2016-04-11 14:50:59 -06:00
Jonathan A. Sternberg 6db7db12b0 Merge pull request #6283 from influxdata/js-3773-treat-tags-as-empty-string
Support empty tags for all WHERE equality operations
2016-04-11 14:17:27 -04:00
Jonathan A. Sternberg 815c49aa5f Integration test to check for empty tag behavior 2016-04-11 14:00:08 -04:00
Jonathan A. Sternberg b2955bc44a Update README summary 2016-04-11 12:55:07 -04:00
Jonathan A. Sternberg f4d74bcb30 Merge pull request #6241 from influxdata/js-refresh-admin-assets
Refresh admin assets
2016-04-11 12:32:02 -04:00
Jonathan A. Sternberg 5bdd61bde7 Support empty tags for all WHERE equality operations
A missing tag on a point was sometimes treated as `""` and sometimes
treated as a separate `null` entity. This change modifies the equality
operations to always treat a missing tag as an empty string.

Empty tags are *not* indexed and do not have the same performance as a
tag that exists.

Fixes #3773.
2016-04-11 12:01:35 -04:00
Jonathan A. Sternberg ca534bf09f Fix the subset method on tags
If a point had no tags at all and was asked for the subset of tags with
at least one key, it would return a new set of tags that was completely
empty. In contrast, if the point had any tags at all, it would return a
set of tags with the tag value being an empty string. This lead to
a point with no tags being treated differently than a point with at
least one tag.

Fixing this so the tag value will always be an empty string for
consistency. A missing tag should always be empty.
2016-04-11 12:00:55 -04:00
gunnaraasen 915fc10591 Update CHANGELOG.md 2016-04-11 08:48:27 -07:00
gunnaraasen eec8cc94c7 Support multiple OpenTSDB inputs 2016-04-11 08:47:38 -07:00
gunnaraasen fccd0943a8 Support multiple collectd inputs 2016-04-11 08:47:38 -07:00
gunnaraasen 78086fa1f3 Remove init table attributes 2016-04-11 08:47:38 -07:00
Jonathan A. Sternberg 1c8922d25a Merge pull request #6269 from influxdata/js-fix-cluster-iterator-creator
Fix processCreateIteratorRequest panic
2016-04-11 11:06:20 -04:00
Edd Robinson 44911bc5d8 Use 'latest' alias for links to documentation
Includes a fix for #6280
2016-04-11 14:56:53 +01:00
Cameron Sparr 23e2c40923 Reduce UDP service per-packet allocation size
This will reduce memory pressure and number of GC cycles, my results
sending 100,000 UDP points were:

- udp-payload-size=0: 242 GC cycles
- udp-payload-size=1500: 142 GC cycles
- udp-payload-size=0 (with change): 114 GC cycles
- udp-payload-size=1500 (with change): 112 GC cycles
2016-04-08 13:29:47 -06:00
Jack Zampolin 94ceb736b6 Merge pull request #6264 from influxdata/jz-stress-readme
Move stress/README to stress/DESIGN and add a stress/README
2016-04-08 09:36:12 -07:00
Jonathan A. Sternberg aee06eebd0 Fix processCreateIteratorRequest panic
If a non-existant shard was requested as part of the iterator,
the influxd server would panic. Now it handles this situation by
skipping the offending shard and returning properly when none could be
found.
2016-04-08 12:34:19 -04:00
Jonathan A. Sternberg cea18536de Fixing aggregate queries with no GROUP BY to include the end time
Queries with a time constraint but no group by would not include the
final point from the underlying iterator.

Fixes #6229.
2016-04-08 16:26:22 +05:00
Jonathan A. Sternberg fefd88bd81 Move changelog lines erroneously added to 0.12.0 to 0.13.0 2016-04-08 16:26:22 +05:00
Cory LaNou 1b41bec282 CreateShardGroup was incrementing meta data index even when it was idempotent 2016-04-08 16:26:22 +05:00
Jonathan A. Sternberg 4400847d6b Throw an error when an invalid expression is used with aux iterators
The following query was fixed previously:

    SELECT 'value' FROM cpu

This ended up hitting the `buildExprIterator()` code path and was
handled properly. But this query:

    SELECT 'value', value FROM cpu

This took a different code path that would trigger a panic because it
triggered a panic instead of an error condition. This code path has now
been modified to trigger an error instead of a panic.

Fixes #6248.
2016-04-08 16:26:22 +05:00
mvadu 4aeea21b79 Add AppVeyor ci config to enable ci tests on Windows
Influxdb uses gdm for the dependency management. For gdm to work on Windows, it needs go 1.6. Influx still uses go 1.4.3. So go 1.6 will be sed for the pre-build stages, and go 1.4.3 to run the tests.
This arrangements is working in AppVeyor now.
2016-04-08 16:26:22 +05:00
aviau a1256ab57a include missing license for equal.go 2016-04-08 16:26:22 +05:00
Jonathan A. Sternberg b026c95192 Update changelog for issue #6206 2016-04-08 16:26:22 +05:00