* feat(annotations): storage service
* feat: stickers are in db as array
* chore: fix some unintended diffs
* fix: fixes from review
* fix: specific table name for json_each
* fix: update primary keys and constraints
* fix: fix schema
* feat: stream name updates are reflected in annotations via FK
* chore: enable ingest performance tests (#21624)
* chore: add run script for performance tests
* chore: update circle config to run performance tests
* chore: adjustments to perf test config
* remove 1.8 branch here, as that branch is already configured for perf
tests
* remove extraneous comments in config and perftest script
* move perftest setup logic out of circle config and into a script
* use a specific ubuntu machine image for circle driver
* omit gzip/gunzip from perf test dataset manipulations
* chore: use r5.2xlarge instance type and put perf test dataset in ramdisk
* chore: fix query logic in nightly aws teardown (#21678)
It seems that go-bindata version 3.11.0 was changed and causes issues
when building from a clean Go env.
See :
verifying github.com/kevinburke/go-bindata@v3.11.0+incompatible: checksum mismatch
downloaded: h1:GiPs9jxaG2xY1B5Dt/d/yHUOMlTk14uS35VcmHrdo4I=
go.sum: h1:RcC+GJNmrBHbGaOpQ9MBD8z22rdzlIm0esDRDkyxd4s=
This change updates to the latest go-bindata release.
* feat(annotations): added authz service for annotations and streams
* fix: tests and adjustments
* chore: misc cleanup
* chore: update number in authz comment
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
* chore: update number in authz comment
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
* chore: update number in authz comment
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
* fix: address review comments
* feat: added post-list filter for fine-grained auth
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
* feat: port tsm-inspect command to dbv2
* test: add test code for tsm-verify
* chore: delete old tsm-verify code stubs
* docs: update changelog
* chore: test for broken checksums more thoroughly
* feat(annotations): annotations service definition
* feat: generate mock for annotations service
* fix: use utf8.RuneCountInString; nowFunc as a parameter
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.
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
* 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
* 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