Commit Graph

34737 Commits (c665c749fe0aeb858ca2f059991826c923348949)

Author SHA1 Message Date
Dane Strandboge c665c749fe
feat: Port influxd inspect verify-seriesfile (#21635)
* feat: Port influxd inspect verify-seriesfile

* chore: clean up logic, use zaptest logger

* chore: better error handling

* chore: generic error return statement

* chore: collapse nil check into if-block

Co-authored-by: Daniel Moran <danxmoran@gmail.com>

* chore: update changelog

Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2021-06-08 15:19:21 -05:00
pierwill e59b8ea078
fix: verify rustup checksum in CI (#21637)
* chore: bump rust in CI to 1.52.1
2021-06-08 13:32:13 -05:00
William Baker b1ef9f668c
feat(annotations): annotations service definition (#21629)
* feat(annotations): annotations service definition

* feat: generate mock for annotations service

* fix: use utf8.RuneCountInString; nowFunc as a parameter
2021-06-08 12:56:33 -04:00
Daniel Moran a187292632
chore: update CHANGELOG to reflect 2.0.7 release (#21632) 2021-06-08 10:47:36 -04:00
Jonathan A. Sternberg 7e126811aa
build(flux): update flux to v0.117.3 (#21623) 2021-06-07 14:16:16 -05:00
Nathaniel Cook 8496ada3cc
feat(fluxtest): add ability to wait between test runs (#21626)
This change adds a flag to the flux-test-harness cmd that makes the test
harness wait between test runs leaving the InfluxDB instance running for
inspection. The credentials for connecting to the test instance are also
added to the local influx cli configs.
2021-06-07 11:44:58 -06:00
davidby-influx d10a727157
fix: avoid rewriting fields.idx unnecessarily (#21592) (#21610)
Under heavy write load creating new fields and measurements
the rewrite of the fields.idx file is a bottleneck. This
enhancement combines multiple writes into a single one and
shares any error return value with all of the combined
invocations. MeasurementFieldSet and the new
MeasurementFieldSetWriter must both now be explicitly
closed.

Closes #21577

(cherry picked from commit f64be286be)

Closes https://github.com/influxdata/influxdb/issues/21598
2021-06-04 13:17:53 -07:00
William Baker 04d7742b26
feat: enable the notebooks backend (#21613)
* feat: remove feature flag from notebooks backend
2021-06-04 15:56:34 -04:00
Nathaniel Cook 67f366d9cb
fix(query): do not hide errors from first pass of flux acceptance tests (#21602) 2021-06-04 13:24:51 -06:00
Daniel Moran 2e2552f75f
test: move InfluxQL compatibility suites so they're covered by linting & `go test` (#21611)
* Move InfluxQL tests so they're included in normal `go test`
* Fix `staticcheck` errors
* No parallel runs for influxql
2021-06-04 14:40:42 -04:00
Yun Zhao c22fe2f0d7
fix(coordinator): avoid unnecessary copy of FieldDimensions result data (#21390) 2021-06-04 13:09:42 -04:00
Daniel Moran fd9a08862e
build: speed up CI runtime (#21608)
* Stop using GOCACHE, it only ever grows in size and the upload/download ends up dominating job runtime
* Use RAMdisks in build/test steps where we expect it'll help runtime
2021-06-04 12:31:58 -04:00
Yun Zhao 2116332950
fix(tsm1): fix calculation of tsmFullCompactionQueue statistic (#20897)
Co-authored-by: zhaoyun.248 <zhaoyun.248@bytedance.com>
2021-06-04 10:26:37 -04:00
William Baker 34a4a8e60e
feat: metadata backup returns bucket manifests (#21601)
* fix: properly omit empty time.Time that are optional

* fix: optimize slice creation in manifest fns
2021-06-04 09:26:17 -04:00
Yun Zhao ce536037dc
fix(tsm1): limit concurrent WAL encodings to reduce memory pressure under heavy write load (#20814)
Co-authored-by: zhaoyun.248 <zhaoyun.248@bytedance.com>
2021-06-03 16:11:36 -04:00
Sunil Kartikey cd546e9eb8
fix: report error when a flux acceptance test doesn't have a package statement (#21594) 2021-06-03 16:36:57 +01:00
William Baker b0ea3b6675
feat: backup and restore sqlite database (#21584)
* feat: new metadata backup endpoint

* feat: added restore/sql API endpoint

* fix: content-type is multipart/mixed, part names are kv and sql

* fix: changed multipart manifest to buckets and made it .json

* feat: added lock for backing up sqlite and bolt dbs

* fix: use read lock instead of write lock on kv during backup

* fix: use filepath.Join for temp dirs
2021-06-02 19:07:53 -04:00
Dane Strandboge c88fc07451
docs: Update build-from-source docs to favor make commands (#21590)
* docs: add link to Homebrew install for OSX

* docs: remove go command info in favor of make

* docs: update OSX make command installation
2021-06-02 16:33:40 -05:00
William Baker b928d3bda4
fix: empty notebooks list returns empty array (#21588) 2021-06-02 14:33:37 -04:00
Sean Brickley 75594094f5
build(flux): update flux to v0.117.1 (#21583) 2021-06-01 14:34:06 -04:00
Stuart Carnie d165d76fc3
feat: influx CLI Packager support for explicit schema buckets (#21465)
This commit adds the minimal requirements to process specs containing
explicit schema buckets, so they may be exported and applied from
Cloud 2.
2021-05-31 10:01:29 +10:00
William Baker ed629bfebe
feat(notebooks): notebooks database implementation (#21573) 2021-05-28 09:29:00 -04:00
William Baker c267b31232
chore: move notebook service interface to root (#21570) 2021-05-26 12:27:56 -04:00
Jill R. Pelavin 46fe0ee9d1
chore: adding rangeAnnotations feature flag (#21556) 2021-05-25 15:25:05 -04:00
Timmy Luong b0d62f0c72
feat: add legendHide for the tooltip (#21547) 2021-05-25 10:31:50 -07:00
William Baker 19b0470ed7
feat: integrated sqlite db for metadata (#21543) 2021-05-25 12:12:07 -04:00
Daniel Moran 0099897c35
chore: add missed lines to CHANGELOG (#21550) 2021-05-25 09:57:35 -04:00
Daniel Moran 00420fb54c
fix(influxql): make meta queries respect query timeout (#21545)
Co-authored-by: davidby-influx <dbyrne@influxdata.com>
2021-05-24 21:10:53 -04:00
Daniel Moran b1e1125376
fix(cmd/influxd): Add logging work-around for absolute file paths on Windows (#21540) 2021-05-24 16:52:58 -04:00
Christopher M. Wolff 251f43a477
build(flux): update flux to v0.117.0 (#21539) 2021-05-24 12:29:28 -07:00
Timmy Luong 3f3670fa1c
feat: remove ui feature flags for permanent features (#21531) 2021-05-21 16:40:35 -07:00
William Baker fee3c46023
fix: add telemetry slug for additional file exts (#21522)
* fix: add telemetry slug for more exts

* chore: update CHANGELOG
2021-05-20 08:58:18 -04:00
Jonathan A. Sternberg ce48262c31
feat(storage/flux): support table.fill() within aggregate window pushdown (#21519) 2021-05-19 20:22:56 -05:00
William Baker 35ce6e6946
build: static image for e2e tests (#21506) 2021-05-19 11:02:07 -04:00
Paul Hummer c301cf6e44
feat: add support for testing.load in fluxtest (#21492)
This patch adds support for using `testing.load` in flux acceptance
tests.
2021-05-18 09:49:28 -06:00
Sam Arnold a40e2920b4
fix: flux to function name conflict (#21496) 2021-05-18 10:40:06 -04:00
William Baker 40897b9a98
feat(notebooks): authorization for notebooks (#21490)
* feat(notebooks): auth changes to top-level authz

* feat(notebooks): added authorization

* chore(notebooks): added tests for authz
2021-05-17 19:01:27 -04:00
Paul Hummer 5a9a28151b
build(flux): update flux to v0.116.0 (#21488) 2021-05-17 14:34:18 -06:00
davidby-influx 5ef6b837b0
chore: remove erroneous dependency on istio (#21486)
Use same logging functions as the rest of the points code.
2021-05-17 12:06:06 -07:00
Daniel Moran fc3beb7d0a
fix: last-modified of empty shard directory shouldn't be Unix epoch. (#21481)
Co-authored-by: davidby-influx <72418212+davidby-influx@users.noreply.github.com>
2021-05-17 13:36:36 -04:00
William Baker cc4ebe231d
feat: notebooks api handlers & fake store (#21480)
* feat(notebooks): demo store functionality

* feat: demo store with context and middleware

* refactor: without context

* fix: update endpoint and status code for delete

* chore: changed name

* chore: added some tests

* fix: address review comments
2021-05-17 12:07:48 -04:00
Daniel Moran 6bdcbaa141
fix(cmd/influx): accept `--input` flag in `restore` command (#21477)
* feat(cmd/influx): accept --input flag in `restore` command.
* fix(restore): make it an error if no backup manifests are found
2021-05-14 15:07:58 -04:00
Sam Arnold d89b9cbaca
refactor: last cursor optimization function name (#21353)
Closes: #21330
2021-05-13 14:44:00 -04:00
Jakub Bednář 4becb6d01a
feat(users): list users via the API now supports `offset`, `limit` or `after` parameter (#21367) 2021-05-12 14:09:52 +02:00
Paul Hummer e77481fe52
build(flux): update flux to v0.115.0 (#21460) 2021-05-11 11:48:40 -06:00
William Baker 4975266e18
build: update circle config to exit from forks on build step (#21458)
* build: update circle config to exit from forks on build step

* build: skip e2e step entirely for forks
2021-05-11 12:31:43 -04:00
William Baker 0e02166ed0
chore: remove dead source code from UI folder (#21446)
* build: updated makefile

* docs: update contributing and readme docs

* chore: delete all the ui files
2021-05-11 10:11:07 -04:00
Jill R. Pelavin 879feba5f9
chore: remove type ahead flag (#21335) 2021-05-10 12:33:16 -04:00
William Baker dc72dc3f0c
build: replace local e2e tests with e2e-monitor-ci (#21387)
* feat: update e2e to use monitor-ci

* build: local copy of test script

* build: use stable docker image for e2e

* fix: use a working image for e2e ci job
2021-05-07 14:47:56 -04:00
William Baker 883241eadb
feat: update notebooks api (#21386)
* feat: update notebooks endpoints

* feat: better error messages
2021-05-07 11:00:01 -04:00