Commit Graph

14387 Commits (f1d26652e91e94e050c4904818d023fe5d6701c3)

Author SHA1 Message Date
tmgordeeva f1d26652e9
fix(storage): skip TSM files with block read errors (#15885)
* fix(storage): skip TSM files with block read errors

When we find a bad TSM file during compaction, propagate the error up and move
the bad file aside. The engine will disregard the file so the next compaction
will not hit the same error.
2019-12-13 15:05:39 -08:00
Jacob Marble 8f665ec2a7 fix(storage): simple8b passes checkptr (#15512)
* fix(simple8b): disable checkptr on batch decodes

* perf: improve performance of simple8b encoding

```
name                      old time/op    new time/op    delta
EncodeAll/1_bit-24          35.8µs ± 2%    35.8µs ± 2%     ~     (p=0.887 n=10+7)
EncodeAll/2_bits-24         35.7µs ± 4%    35.6µs ± 3%     ~     (p=0.684 n=10+10)
EncodeAll/3_bits-24         36.5µs ± 3%    36.4µs ± 4%     ~     (p=0.780 n=10+9)
EncodeAll/4_bits-24         36.4µs ± 3%    37.8µs ± 2%   +3.71%  (p=0.000 n=10+10)
EncodeAll/5_bits-24         38.0µs ± 3%    38.3µs ± 2%     ~     (p=0.280 n=10+10)
EncodeAll/6_bits-24         39.4µs ± 1%    38.5µs ± 2%   -2.43%  (p=0.001 n=10+9)
EncodeAll/7_bits-24         39.6µs ± 3%    38.9µs ± 3%   -1.83%  (p=0.029 n=10+10)
EncodeAll/8_bits-24         40.3µs ± 3%    40.5µs ± 4%     ~     (p=0.278 n=10+9)
EncodeAll/10_bits-24        42.6µs ± 3%    41.9µs ± 2%     ~     (p=0.075 n=10+10)
EncodeAll/12_bits-24        44.2µs ± 2%    42.8µs ± 2%   -3.11%  (p=0.000 n=10+10)
EncodeAll/15_bits-24        46.0µs ± 1%    46.1µs ± 3%     ~     (p=0.447 n=9+10)
EncodeAll/20_bits-24        51.4µs ± 2%    50.0µs ± 2%   -2.86%  (p=0.000 n=10+10)
EncodeAll/30_bits-24        60.6µs ± 1%    58.1µs ± 2%   -4.02%  (p=0.000 n=10+10)
EncodeAll/60_bits-24        90.2µs ± 2%    85.2µs ± 1%   -5.50%  (p=0.000 n=10+10)
EncodeAll/combination-24     782µs ± 3%     762µs ± 5%     ~     (p=0.063 n=10+10)
Encode-24                   3.08µs ± 2%    3.09µs ± 1%     ~     (p=0.656 n=9+8)
Encoder-24                  4.58µs ± 0%    4.40µs ± 1%   -4.04%  (p=0.000 n=8+8)

```
2019-11-22 07:39:44 -08:00
Edd Robinson fc2090aeb4
Merge pull request #15951 from influxdata/er-ignore-master-1.8
chore: ignore 2.0 build artefacts via gitignore
2019-11-19 10:21:10 +00:00
Edd Robinson 42b391457f chore: ignore 2.0 build artefacts 2019-11-17 13:31:12 +00:00
Edd Robinson 196e46982b
Merge pull request #15861 from influxdata/BP-1.8-er-tsi-not-equal
fix(tsi1): index defect with negated equality filters
2019-11-13 18:15:01 +00:00
Hercules Mango Churchill 915c021e5a Update changelog 2019-11-12 23:39:15 +00:00
David Norton edde221f55
Merge pull request #15878 from influxdata/dn-fix-digest-race
fix(tsm1): make digest safe for concurrent use
2019-11-12 18:38:54 -05:00
David Norton 102fcd671b fix(tsm1): make Digest() safe for concurrent use
This change adds a lock around digest creation so that it is safe for
concurrent calls. Prior to this change, calls from multiple goroutines
resulted in "Digest aborted, problem renaming tmp digest" errors.
2019-11-12 18:02:41 -05:00
Edd Robinson cac4c8956c fix(tsi1): index defect with negated equality filters
Fixes #15859

This commit fixes a defect in the TSI index where a filter using the
negated equality operator would result in no matching series being
returned for series stored within the `IndexFile` portions of the index.

The root cause of this was due to missing legacy-handling code in the
index for this particular iterator.
2019-11-12 15:10:42 +00:00
Jonathan A. Sternberg 904d3279cf
Merge pull request #15642 from influxdata/chore/upgrade-to-flux-v0.50.0
Update flux version to v0.50.2
2019-10-30 13:36:42 -07:00
Jonathan A. Sternberg 40a7a577fc
Update flux version to v0.50.2
This upgrades the flux version to v0.50.2.

The secret service, which is used for alerts, is not included. The
`to()` function is also still not included.
2019-10-29 16:19:14 -05:00
Mustafa d2a5aa87b1
Merge pull request #15608 from influxdata/elbehery-fix#14107
fix(storage): Renaming corrupt data files fails
2019-10-28 18:29:14 +01:00
elbehery a4bb1083f2 fix(storage): Renaming corrupt data files fails
fixes#14107
2019-10-28 17:32:58 +01:00
Nathaniel Cook 589d278b24 fix(http): honor insecure-skip-very even if custom tls config is specified 2019-10-10 16:33:09 -06:00
Jacob Marble 4f1c8ccf9a
chore(build): remove Godeps file (#15263) 2019-10-10 11:37:27 -07:00
Hercules Mango Churchill 0f187b6b53 Update changelog 2019-10-07 14:25:21 +00:00
Ben Johnson c92cd28ec5
Merge pull request #12568 from influxdata/debug-pprof-expose
Expose debug pprof port 6060
2019-10-07 07:24:57 -07:00
David Norton 50da682c21
Merge pull request #15253 from influxdata/dn-update-influxql
chore(influxdb): Update InfluxQL dependency
2019-09-24 13:38:51 -04:00
David Norton 65e0ceb4ad chore: update influxql dependency 2019-09-24 11:55:16 -04:00
Russ Savage dd3821c0e4
Revert "Revert "Fix documentation links (#14247)" (#15236)" (#15238)
This reverts commit 8a463e8b60.
2019-09-23 16:03:29 -07:00
Russ Savage 8a463e8b60
Revert "Fix documentation links (#14247)" (#15236)
This reverts commit 8a577120a4.
2019-09-23 15:46:16 -07:00
Ronan Souza 8a577120a4 Fix documentation links (#14247) 2019-09-23 15:43:10 -07:00
Gunnar 1618c25566
feat(httpd): Add option to authenticate debug/pprof and ping e… (#15222)
feat(httpd): Add option to authenticate debug/pprof and ping endpoints
2019-09-21 10:33:03 -07:00
Gunnar Aasen 0c4703aaa3 feat(httpd): Add option to authenticate debug/pprof and ping endpoints 2019-09-20 16:32:22 -07:00
Ben Johnson 046261eb97
fix(tsi1): replace TSI compaction wait group with counter (#15188)
fix(tsi1): replace TSI compaction wait group with counter
2019-09-18 12:34:29 -06:00
Ben Johnson 14d45c913c
fix(tsi1): replace TSI compaction wait group with counter 2019-09-18 11:47:37 -06:00
Jacob Marble f6e9ad40e2
fix(storage): guard against compaction burst throughput limit (#14985) 2019-09-05 15:15:19 -07:00
Hercules Mango Churchill 0c2c987891 Update changelog 2019-08-26 14:57:45 +00:00
Adam a86c5b5aa6
Merge pull request #14656 from influxdata/fix/1.8cumulative-sum-timerange
fix(query/compile.go): time range was exceeding min/max bounds under …
2019-08-26 10:57:25 -04:00
Adam ec32b3a4bb fix(query/compile.go): time range was exceeding min/max bounds under certain conditions
added test for missing lower bound
2019-08-14 09:59:17 -04:00
maxunt 021dd3114d
Merge pull request #14245 from influxdata/mu-tsm-clean-1.8-14058
Clean tmp tsm files when replace fails
2019-08-08 17:02:01 -07:00
kelseiv 5274a45a30
Update README.md 2019-08-01 17:32:51 -07:00
kelseiv fb99e61598
Update README.md 2019-08-01 17:30:52 -07:00
Hercules Mango Churchill 8ab8c0bc29 Update changelog 2019-08-01 15:21:01 +00:00
Edd Robinson 26ef54b5a3
Merge pull request #14444 from influxdata/ap-fix-exact-cardinality
fix(query): make show series exact cardinality count only distinct series
2019-08-01 12:18:00 +01:00
Jacob Marble b731cc5e60
feat(storage): Limit concurrent series partition compaction (#14240)
* feat(storage): Limit concurrent series partition snapshots

* feat: make concurrency configurable

* fix: integrate review feedback

* refactor: rename config value
2019-07-30 10:34:06 -07:00
Adam Perlin 7cdebbe422 fix(query): add additional unit tests for series cardinality query rewriting 2019-07-24 17:06:14 -07:00
Adam Perlin d6e34bb3e0 fix(query): make show series exact cardinality count only distinct series 2019-07-24 16:39:05 -07:00
Jonathan A. Sternberg e6b14b93da
Merge pull request #14421 from influxdata/fix/1.8-mislabeled-partial-series
Fix the http handler to not mislabel series as partial
2019-07-24 08:59:58 -05:00
Jonathan A. Sternberg c6764914a9
Fix the http handler to not mislabel series as partial
If a series was split by the encoder because of chunking and it was
reconstructed by the http handler, it would not reset the partial
indicator for the series to indicate if the series was still partial or
not. That meant that a result that returned more than the 10,000 values
in a single series with chunking disabled would say that the series was
partial, but it was not.

This fixes it so the handler now correctly sets the partial attribute of
the series to indicate if the series is still partial or not. This was
done when merging results, but was not done with series.
2019-07-23 11:52:16 -05:00
Jonathan A. Sternberg 171ea40c08
Merge pull request #14357 from influxdata/fix/reduce-sort-order
Subquery ordering with aggregates in descending mode was wrong
2019-07-19 16:24:28 -05:00
Jonathan A. Sternberg c381389f35
Subquery ordering with aggregates in descending mode was wrong
The sort order of points when performing aggregates never took into
account if they were ascending or descending so when multiple series
were aggregated, it would ensure they were sorted in the correct order.
But it wouldn't reverse this order when descending was used.

Additionally, it seems that the iterator template and the iterator file
itself became out of sync. It seems the template was not reverted
correctly from a previously incorrect change and only the float type was
changed to the correct version and the tests used the float version.
2019-07-17 09:55:38 -05:00
Gunnar be719e49a2
Update Go version to 1.12 (#14315)
Update Go version to 1.12
2019-07-15 14:09:50 -07:00
Gunnar Aasen 7be7d3b736 Bump Appveyor to Go 1.12 2019-07-15 11:29:31 -07:00
Gershon Shif 27f870f917 removed mkdir cache dir;set ENV GOCACHE in Dockerfile 2019-07-12 11:33:12 -07:00
Gershon Shif 8a83953356 set GOCACHE=/tmp 2019-07-12 11:01:56 -07:00
Gunnar Aasen 707d5ed3ca Another try 2019-07-12 09:08:40 -07:00
Gunnar Aasen 80af94b047 Another try at the Jenkinsfile syntax 2019-07-12 08:59:12 -07:00
Gunnar Aasen 893bede37c Add GOCACHE env to Jenkinsfile 2019-07-12 00:42:13 -07:00
Gunnar Aasen 86f78523cc feat(go): Update Go version to 1.12 2019-07-11 12:52:36 -07:00