Commit Graph

10306 Commits (274647b5b2c816c7de50f5acb7c82a1f2a9ef3ef)

Author SHA1 Message Date
Jonathan A. Sternberg 274647b5b2 Merge pull request #6616 from influxdata/js-6607-show-tag-values-with-negative-regex-in-where-clause
SHOW TAG VALUES accepts != and !~ in WHERE clause
2016-05-16 09:22:49 -04:00
Jonathan A. Sternberg a17f3d960a SHOW TAG VALUES accepts != and !~ in WHERE clause
Fixes #6607.
2016-05-16 08:51:09 -04:00
Jonathan A. Sternberg 2ce8fa5f06 Merge pull request #6631 from influxdata/js-6629-query-log-enabled
query-log-enabled not ignored in config anymore
2016-05-16 08:50:25 -04:00
Jonathan A. Sternberg ecacdb7d21 query-log-enabled not ignored in config anymore
Fixes #6629.
2016-05-15 22:36:18 -04:00
Jonathan A. Sternberg 2c9d0fcc04 Merge pull request #6628 from influxdata/js-add-docker-badge
Add docker pull badge to the README
2016-05-15 22:16:54 -04:00
Jonathan A. Sternberg a3b8b1adca Add docker pull badge to the README 2016-05-15 22:05:17 -04:00
Edd Robinson 6c3e76e0ce Merge pull request #6625 from xboston/patch-1
fix import block in example
2016-05-15 13:06:45 +01:00
Jason Wilder 1bfc832046 Merge pull request #6626 from influxdata/jw-shard-load
Limit concurrent shards loading to number of cores available
2016-05-13 15:55:49 -06:00
Jason Wilder 5b6f3afefa Limit concurrent shards loading to number of cores available 2016-05-13 15:41:32 -06:00
Nikolay Kirsh ad8b64dea8 fix import block in example
remove unused imports
2016-05-14 02:02:41 +05:00
Jason Wilder 11871958c6 Merge pull request #6618 from influxdata/jw-shard-load
Optimize shard index loading
2016-05-13 14:16:17 -06:00
Jason Wilder 9191474ac7 Merge pull request #6623 from influxdata/jw-drop-database
Speed up drop database
2016-05-13 14:16:02 -06:00
Ross McDonald 9f7ef02acc Merge pull request #6594 from influxdata/ross-build-updates
Minor fixes for build.py
2016-05-13 12:15:49 -05:00
Jason Wilder 9e54adc719 Speed up drop database
Drop database was closing and deleting each shard dir individually and
serially.  It would then delete the empty database dirs.

This changes drop database to close all shards in parallel and run
one os.RemoveAll to remove everything under the db dir which is more
efficient.

This also reworked the locking to avoid locking the tsdb.Store for
long periods of time.  That can cause queries and writes for other
databases to block as well.
2016-05-13 10:26:28 -06:00
Jonathan A. Sternberg 51b3f46970 Merge pull request #6601 from influxdata/js-6559-http-connection-limits
Teach the http service how to enforce connection limits
2016-05-12 16:51:46 -04:00
Jonathan A. Sternberg 4fab68b53b Teach the http service how to enforce connection limits
The http connection limit is for any HTTP operation and is independent
of the other connection limits. It should be set to a higher value than
the query limit. The difference between this and the query limit is it
will close out the connection immediately without any further
processing.

This is the equivalent of the `max_connections` option in PostgreSQL.

Also removes some unused config options from the cluster config.

Fixes #6559.
2016-05-12 16:25:16 -04:00
Jason Wilder 0dbd4893da Optimize shard index loading
On data sets with many series and potentially large series keys,
the cost of parsing the key and re-indexing can be high.

Loading the TSM keys into the index was being done repeatedly for
series that were already index by an earlier TSM file.  This was
wasted worked and slows down shard loading.

Parsing the key was also innefficient and allocated a new string
slice.  This was simplified to remove that allocation.
2016-05-12 14:02:42 -06:00
Jonathan A. Sternberg 9840d6fa30 Merge pull request #6606 from influxdata/js-fix-encode-tags
Fix decodeTags to decode tags correctly
2016-05-12 12:14:26 -04:00
Jonathan A. Sternberg f1a5ebe9c9 Merge tag 'v0.13.0' 2016-05-12 11:54:56 -04:00
Ben Johnson 7afb73aa99 Merge pull request #6598 from benbjohnson/parallelize-planning
Parallelize query planning
2016-05-12 09:00:58 -06:00
David Norton 06ec2ce41a Merge pull request #6609 from influxdata/dn-bearer-token
feat #4448: add support for JWT tokens
2016-05-12 08:58:49 -04:00
David Norton c0a772c068 update CHANGELOG.md 2016-05-12 08:20:07 -04:00
David Norton 2080cfb35d improve error message 2016-05-12 08:20:07 -04:00
David Norton d42f5f8062 require token expiration 2016-05-12 08:20:07 -04:00
David Norton 5842e206ae bump token expiration time up in test 2016-05-12 08:20:07 -04:00
David Norton efba07993a update Godeps: add jwt-go 2016-05-12 08:20:07 -04:00
David Norton 4e2605e98d feat #4448: add support for JWT tokens 2016-05-12 08:20:07 -04:00
Jason Wilder 590b3f9fc7 Merge pull request #6604 from influxdata/jw-cluster
Remove old cluster code
2016-05-11 16:57:06 -06:00
Edd Robinson e059c2324d Merge pull request #6602 from influxdata/er-mention
Filtering some authors from mention bot
2016-05-11 23:08:18 +01:00
Jonathan A. Sternberg fb7be8ce4e Fix decodeTags to decode tags correctly from encodeTags
encodeTags would encode the tags by outputting every key followed by
every value in alphabetical order. decodeTags would try to read this in
an old format that printed tags in key/value order.

This fix matches decodeTags to match the same format encodeTags outputs.
2016-05-11 16:21:39 -04:00
Jason Wilder e57fb88a05 Update 0.13.0 release date 2016-05-11 13:37:42 -06:00
Jason Wilder 9e590fc6a2 Update changelog 2016-05-11 13:06:05 -06:00
Jason Wilder a89a4d6b40 Add PointsWriter write timeout back
Was ignored for some reason.
2016-05-11 12:59:51 -06:00
Jason Wilder db7d58c867 Remove old cluster config options 2016-05-11 12:59:30 -06:00
Jason Wilder 75e89e35d8 Convert deprecated [cluster] config to [coordinator] 2016-05-11 12:35:19 -06:00
Jason Wilder 6cc1a34704 Rename cluster package to coordinator 2016-05-11 11:41:05 -06:00
Jason Wilder de04d0972d Remove old cluster code 2016-05-11 11:39:23 -06:00
Jonathan A. Sternberg 89346bb618 Merge pull request #6600 from influxdata/0.13
Merge 0.13 release candidate back to master
2016-05-11 13:04:26 -04:00
Edd Robinson fe8d3f6e85 Filtering some authors from mention bot 2016-05-11 17:43:52 +01:00
Ben Johnson 668bae57df
parallelize query planning
This commit changes the `tsm1.Engine` to create individual series
iterators in batches so that it can be parallelized. Iterators
are combined at the end so they can be redistributed to the
parallelized merge iterator.
2016-05-11 10:38:11 -06:00
Cory LaNou c32906a366 Merge pull request #6593 from influxdata/cjl-copyshard
create shard snapshot
2016-05-10 20:01:59 -05:00
Jonathan A. Sternberg 8353b0c20f Merge pull request #6592 from influxdata/js-3451-show-field-keys-with-field-type
Update SHOW FIELD KEYS to return the field type with the field key
2016-05-10 14:13:17 -04:00
Jason Wilder d8490f1170 Merge pull request #6587 from influxdata/jw-validate-fields
Fix for merge values
2016-05-10 11:56:07 -06:00
Jonathan A. Sternberg 733a17d9e9 Update SHOW FIELD KEYS to return the field type with the field key
Fixes #3451.
2016-05-10 13:16:57 -04:00
Cory LaNou f415cf89ad wip 2016-05-10 11:01:03 -05:00
Ross McDonald f01402b847 Minor fixes for build.py. 2016-05-10 10:31:32 -05:00
Jason Wilder 9b86bfea2a Merge pull request #6582 from eleme/fix_engine_cache_size
fix cache size of engine
2016-05-10 09:01:03 -06:00
Jason Wilder 8839cabd41 Add benchmark for Merge 2016-05-10 08:39:55 -06:00
Jonathan A. Sternberg 700431d6de Merge pull request #6548 from influxdata/js-remove-unused-reserved-keyword
Remove unused FORCE and INNER keywords
2016-05-10 10:14:14 -04:00
Cory LaNou 10db0aafeb Merge pull request #6591 from influxdata/cjl-issue-6590
intermittent test failing
2016-05-10 08:57:16 -05:00