Hans Petter Bieker
fd21a0b326
Added changelog.
2018-11-20 16:28:26 +01:00
Hans Petter Bieker
1d5463e0a0
Do not rebuild series index on delete for series not overlapping in time.
2018-11-20 16:24:13 +01:00
Hercules Mango Churchill
f2cf118473
Update changelog
2018-11-19 19:05:18 +00:00
Jonathan A. Sternberg
ba1ee48f07
Merge pull request #10494 from influxdata/js-toml-apply-env-overrides-slices
...
Fix ApplyEnvOverrides when a type that implements Unmarshaler is in a slice
2018-11-19 13:05:00 -06:00
Jonathan A. Sternberg
e640104c9c
Fix ApplyEnvOverrides when a type that implements Unmarshaler is in a slice
...
Most parts of `ApplyEnvOverrides` will check if the value is empty
before attempting to apply the environment override. One exception is
that when a type implements Unmarshaler and it is within a slice, it
does not check that an empty value was passed.
This change fixes it so that we will not call `UnmarshalText` when the
environment variable is set to empty.
2018-11-18 10:49:04 -06:00
Stuart Carnie
c3d7f3de2b
fix: Allow compactor to make progress if v.MaxTime() != entry.MaxTime
2018-11-14 09:13:13 -07:00
Stuart Carnie
a4305ddb17
fix(simple8b): Fix incorrect encoding for a run of 119 or 239 1s
...
If 120th or 240th value is not a 1, k still passes the check in the
switch, causing the last value to be lost. If this value occurs at
the boundary of a block, the max time will be incorrect, resulting in
compaction failing to make forward progress.
2018-11-14 09:13:13 -07:00
Stuart Carnie
5d083887a5
chore: Compactor test which replicates issue #10465
...
Due to an encoding bug with simple8b, it is possible that the
MaxTime for a TSM index entry does not match the last encoded timestamp.
2018-11-14 09:13:13 -07:00
Stuart Carnie
b075de6c96
fix(storage): Fix go:generate line to refer to correct proto file
...
Closes #10473
2018-11-12 14:12:09 -08:00
Stuart Carnie
7e0be6fbaf
fix(flux): Fix empty results when using _value in filter expression
...
Closes #10471
2018-11-12 11:00:45 -08:00
Jonathan A. Sternberg
2e7d8d753f
Merge pull request #10458 from influxdata/js-flux-0.7.0
...
Update flux dep constraint to 0.7.0
2018-11-06 14:16:56 -06:00
Jonathan A. Sternberg
0eb2333506
Update flux dep constraint to 0.7.0
2018-11-06 13:05:08 -06:00
Stuart Carnie
3599bdb382
chore(deps): Update flux and platform dependencies
2018-11-05 17:50:15 -07:00
Stuart Carnie
6affa7c7f5
chore(flux): Remove Flux gRPC handler and update config.sample.toml
2018-11-05 14:26:37 -07:00
Stuart Carnie
317fd4982f
chore(flux): Document flux-enabled config option
2018-11-05 14:26:37 -07:00
Jonathan A. Sternberg
6f9cb822f2
Merge pull request #10455 from influxdata/js-changelog-update
...
Update changelog
2018-11-05 12:47:55 -06:00
Jonathan A. Sternberg
a16096cbc4
Merge pull request #9943 from michaelyou/hotfix-typo
...
Some typo and Wrong position of comment
2018-11-05 12:36:05 -06:00
Jonathan A. Sternberg
ebafd3714a
Update changelog
2018-11-05 12:28:50 -06:00
Jonathan A. Sternberg
f436046b31
Merge pull request #9509 from influxdata/js-http-logging-levels
...
Add an access log filter for the access log
2018-11-05 12:08:09 -06:00
Jonathan A. Sternberg
b3472a54ee
Add an access log filter for the access log
...
The access log filter allows the access log to be filtered by a status
code pattern. The pattern is a list of strings of the form `NXX`. At
least one number must be specified and up to 2 Xs can be used. That
means the filter can be an exact status code or it can be a range of
them. For example, `500` would only match the 500 http status code while
`5XX` would match any status code beginning with the number 5
(categorized as server errors). The pattern `50X` would also be
accepted. Both uppercase and lowercase Xs are allowed.
Multiple filters can be specified and the log line will be printed if
one of them matches. If there are no filters specified, all status codes
are printed.
2018-11-05 11:46:26 -06:00
Jonathan A. Sternberg
b3d42983b6
Merge pull request #10437 from seebs/seebs/errors
...
Don't use fmt.Errorf on random strings
2018-11-05 11:39:54 -06:00
Stuart Carnie
82c4be9657
chore(deps): Update Flux and Platform dependencies
...
Includes fix for distinct push down
2018-11-05 09:17:34 -07:00
tmgordeeva
9c0e1cf188
Merge pull request #10391 from influxdata/tg-measurements
...
Reduce allocations for high measurement writes
2018-11-05 00:48:41 -08:00
Tanya Gordeeva
8b8421049e
tsdb: benchmark for many fields
2018-11-02 18:49:28 -07:00
Tanya Gordeeva
7c9ff60413
tsdb/shard: reduce measurement field copying
...
Removes cloning measurement fields on writes, instead atomically swaps out
measurement field sets when fields are added (with new overhead of copying
existing fields whenever a new one is added).
2018-11-02 18:49:17 -07:00
Tanya Gordeeva
f13a1293f2
tsdb/shard_test: add comparitive benchmarks for measurement cardinalities
...
Reuses some existing benchmarks, but ensuring that we write equal numbers of
points for comparison.
2018-11-02 18:49:17 -07:00
Stuart Carnie
5bcb952b6f
chore(cli): Improve APIs to increase reuse in Enterprise
2018-11-02 09:16:42 -07:00
Stuart Carnie
2aa2768677
chore(cli): Remove flaky tests
...
The two deleted tests don't exercise any useful behavior or use cases.
2018-11-01 17:28:23 -07:00
Stuart Carnie
f31dd5a733
chore(deps): Update platform and flux
...
The platform update is required for influxdata/platform/pull/1262
2018-11-01 15:56:48 -07:00
Stuart Carnie
70f9fe7fa3
chore(deps): Update platform and flux
...
The platform update is required for influxdata/platform/pull/1249
2018-10-31 12:48:52 -07:00
Seebs
acdb9a6271
Don't use fmt.Errorf on random strings
...
In a few places, the client was assuming that an error
string would necessarily be safe to pass as a format string.
This seems unwise.
2018-10-30 19:05:37 -05:00
Stuart Carnie
7511e46b34
chore(httpd): Update unit tests to verify 403 status response
2018-10-30 13:14:59 -07:00
Stuart Carnie
5de5f09676
feat(cli/influx): Display detailed error messages when available
...
This commit will print any detailed error messages returned by
the server via the `/api/v2/query` API
2018-10-30 13:14:59 -07:00
Stuart Carnie
f6426f269d
feat(httpd): Return 403 Forbidden when Flux API is disabled
2018-10-30 13:14:59 -07:00
jlapacik
ff416805c5
add Flux output functions ( #10433 )
...
* add flux output functions
* update flux dependency
2018-10-30 10:06:02 -07:00
jlapacik
50b9a12441
update flux dependency after planner integration ( #10428 )
2018-10-30 08:03:01 -07:00
Jonathan A. Sternberg
6270a58b3f
Merge pull request #10258 from miya-masa/master
...
Fix #10257 add `QueryAsChunk`
2018-10-30 09:23:34 -05:00
miya-masa
c19788030d
Add the `QueryAsChunk` method to v2 client
2018-10-30 09:06:16 -05:00
Edd Robinson
7d9830ab24
Merge pull request #10431 from influxdata/er-tsm-maxtime
...
Fix TSM index maxtime modification
2018-10-29 18:47:25 +00:00
Edd Robinson
be662a5853
Fix TSM index maxtime modification
2018-10-29 15:44:31 +00:00
Edd Robinson
0f67d8f294
Merge pull request #10387 from influxdata/er-index-vars
...
Add shards' index types to /debug/vars
2018-10-29 10:12:05 +00:00
Hercules Mango Churchill
6a98bb8aa4
Update changelog
2018-10-26 18:11:29 +00:00
Edd Robinson
42827219f3
Merge pull request #10423 from influxdata/er-nil-shard
...
Fix panic in IndexSet
2018-10-26 19:05:08 +01:00
Jeff Wendling
5c2d36225d
fix(tsdb): copy measurement names when expression is provided
...
We already make copies when no expression is provided, because
the backing slices may go away if the shard they came from is
closed. This fixes the other spot where some backing slices
would be returned.
2018-10-26 11:25:25 -06:00
Edd Robinson
cade59e253
Fix panic in IndexSet
...
This commit fixes a panic where a concurrent removal of a shard and meta
query could cause a `nil` index to be added to the IndexSet`.
2018-10-26 18:23:54 +01:00
Stuart Carnie
04975c46ef
fix(storage): Fix when filtering by _value, which would exclude all data
...
* The `Value` function must return a `string`, however `SeriesTags#Get`
returns `[]byte`, resulting in the reduced expression always becoming
`false`.
* Also added a specific case for the `$` key, which refers to `_value`
in a Flux predicate. This will always return no value.
2018-10-25 15:57:05 -07:00
Stuart Carnie
448e8079ad
fix(storage): Update to latest flux and platform
...
* Due to a breaking API change, `BucketsDecoder` was updated to use
`NewString` vs `NewStringValue`
2018-10-25 15:57:05 -07:00
Stuart Carnie
82447f1afe
chore: Update changelog noting #10408
2018-10-25 11:32:33 -07:00
Stuart Carnie
c5ec3a3244
feat(influx): Add Flux support, enabled by specifying -type=flux
2018-10-25 11:12:14 -07:00
Stuart Carnie
9d1a8c97d8
feat(influx): Add `-type` switch and implement decision tree
...
* `-type` reports error for invalid values
* Implemented decision tree such that appropriate message is printed
when Flux version of command is executed
* all variations for invoking influx identified in #10407 work as
expected
2018-10-25 11:12:14 -07:00