Sam Arnold
feb459c785
feat: metrics for cache subsystem ( #22915 )
...
* fix: drop complicated cache metrics and document remaining
* feat: metrics for cache
2021-11-23 10:11:22 -05:00
Sam Arnold
a74e05177c
feat: disk size metrics per shard ( #22912 )
2021-11-22 16:53:55 -05:00
Sam Arnold
0a740856c7
feat: point write requests have metrics ( #22910 )
...
* fix: remove dead subscriptions code
* feat: storage_writer metrics
2021-11-22 12:58:17 -05:00
William Baker
3a81166812
feat: added metrics collection for replications ( #22906 )
...
* feat: added metrics collection for replications
* fix: fixed panic when restarting
* fix: fix panic pt2
* chore: self-review fixes
* chore: simplify test
2021-11-22 11:40:03 -06:00
Sam Arnold
dece95d1dd
feat: tsm compaction metrics via prometheus ( #22904 )
...
* feat: tsm compaction metrics via prometheus
* chore: fix formatting
* chore: make activeCompactions a pointer
2021-11-19 14:51:22 -05:00
Dane Strandboge
6ee472725f
refactor: use remote write func in NewDurableQueueManager ( #22888 )
2021-11-19 11:31:10 -06:00
William Baker
b9b86a19a3
chore: remove remote validation code ( #22901 )
...
* chore: remove remote validation code
* chore: remove unused function
* chore: add todo for updating swagger ref
* chore: update swagger ref
2021-11-18 15:17:11 -07:00
Sam Arnold
fea3037c6b
feat: configure perf tests with yaml ( #22887 )
2021-11-18 15:02:31 -05:00
William Baker
90baa802ed
chore: use tagged version of pkg-config ( #22898 )
2021-11-18 11:59:37 -07:00
Sam Arnold
9d8173c9f3
chore: delete dead pprof related code ( #22892 )
2021-11-18 08:28:17 -05:00
Daniel Moran
a5f6431321
build: pull SHA-specific image before tagging it as latest ( #22891 )
2021-11-17 10:26:27 -05:00
William Baker
ad52815e19
feat: add field for dropping data resulting in non-retryable errors to individual replications ( #22885 )
...
* feat: add field for dropping data resulting in non-retryable errors to individual replications
2021-11-16 13:41:54 -07:00
Daniel Moran
e7a77f0e24
build: follow-up fixes after CI refactor ( #22884 )
...
* Setup docker before trying to push image
* Fix perf-test script name
2021-11-16 15:41:43 -05:00
Daniel Moran
0572ae05d2
build: replace cross_build job with parallelized build matrix ( #22877 )
2021-11-16 14:38:30 -05:00
Dane Strandboge
40d9587ece
feat: add replications queue scanner ( #22873 )
...
Co-authored-by: “mcfarlm3” <“58636946+mcfarlm3@users.noreply.github.com”>
2021-11-16 10:30:52 -06:00
Sam Arnold
16e3b165ca
chore: refactor performance test to generate queries and data together ( #22861 )
2021-11-15 12:01:38 -05:00
Jakub Bednář
fa9ba8e86f
fix: duplicated X-version and X-Build headers for /ping endpoint ( #22862 )
...
* fix: duplicated X-version and X-Build headers for /ping endpoint
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
* chore: change branch to master
* chore: only http/handler.go is responsible for sets headers
Signed-off-by: Jakub Bednar <jakub.bednar@gmail.com>
2021-11-12 13:32:12 -07:00
William Baker
11f60520f9
build: better versioning and verification for releases ( #22866 )
2021-11-12 08:57:21 -07:00
Daniel Moran
0ecde93012
build: stop building & pushing images to quay.io ( #22864 )
2021-11-11 12:28:06 -05:00
CasMc
2bace7767d
fix: unhandled errors returned by Sketch.Merge ( #22858 )
2021-11-10 09:26:24 -05:00
Daniel Moran
6b56af3c3f
feat: mirror writes to registered replications ( #22833 )
2021-11-10 08:25:47 -05:00
William Baker
5a0051ad5b
build: Remove additional commit file ( #22853 )
2021-11-09 12:42:44 -07:00
mcfarlm3
cd0243d2b4
feat: added replications queue management to launcher tasks ( #22820 )
...
* feat: added replications queue management to launcher tasks
* refactor: separated sql logic into replications service rather than durable queue manager
* refactor: extended replications feature flag to launcher code and minor change to startup function param
* chore: added unit test coverage for replications server startup queue management
* refactor: made error messages reusable and factored out unecessary string from queue management tests
* refactor: changed queue management error names to pass linter check
2021-11-09 11:32:07 -08:00
Sean Brickley
f6568a7ff6
build(flux): update flux to v0.140.0 ( #22845 )
...
* build(flux): update flux to v0.140.0
* chore: Reformat scripts in generated flux tests
2021-11-09 13:35:51 -05:00
William Baker
36dcc20320
chore: don't look for non-existent changelog file in release job ( #22842 )
2021-11-08 10:22:59 -07:00
William Baker
4af68d06b7
build: updated changelog automation ( #22835 )
...
* build: updated changelog automation
* chore: update frozen changelog date
2021-11-05 20:55:37 -06:00
Daniel Moran
1aac92c5ee
refactor: remove replications.current_queue_size_bytes from sqlite ( #22832 )
...
Maintaining the current queue size in a SQL column would require
updating the DB on every queue operation. Avoid that contention by
instead looking up the current size on the in-memory durable queue
struct, which is already tracked & updated as data enters & leaves
the queue.
2021-11-05 14:35:12 -04:00
Dane Strandboge
a7f3b67092
chore: clean up protobuf loose ends ( #22823 )
...
- Remove `gogo/protobuf` and `golang/protobuf` deps
- Fix mistake in `CONTRIBUTING.md`
- Use Prometheus `MetricType` type over our own copy-paste version
2021-11-05 10:30:30 -05:00
Daniel Moran
21362910f2
build: add a CI job to test `influxd downgrade` ( #22821 )
2021-11-03 14:28:19 -04:00
Andrew Lamb
ca633cdfaf
chore: Remove outdated query readme ( #22608 )
2021-11-03 09:13:00 -04:00
Dane Strandboge
f4e9ae94ca
build: upgrade protobuf library ( #22654 )
2021-11-02 16:00:54 -05:00
William Baker
88d6487f4a
feat: extended downgrade command to include sql migrations ( #22813 )
...
* feat: extended downgrade command to include sql migrations
* feat: remove short forms in downgrade command
2021-11-02 10:42:02 -06:00
William Baker
f7573f43a7
feat: sql migrator can do down migrations ( #22806 )
...
* feat: sql down migrations
* refactor: different name for up migrations
* chore: update migrations ref in svc tests
* build: add lint step to verify sql migration names match
2021-11-01 14:30:18 -06:00
Paul Hummer
a4fd1caf8e
build(flux): update flux to v0.139.0 ( #22812 )
2021-11-01 14:04:18 -06:00
Daniel Moran
0fbda8397d
feat: recommend `influxd downgrade` after encountering unknown KV migration ( #22805 )
2021-11-01 11:07:54 -04:00
Jonathan A. Sternberg
b93f3a3222
build(flux): update flux to v0.137.0 ( #22792 )
2021-11-01 09:24:00 -05:00
Daniel Moran
eedd84671b
feat: initialize `influxd downgrade` command to run `Down()` migrations on metadata ( #22800 )
2021-10-29 16:34:01 -04:00
William Baker
b3b4dd6503
feat: sql migrator uses records of completed migrations ( #22797 )
...
* feat: sql migrator uses records of completed migrations
2021-10-29 09:29:10 -06:00
Daniel Moran
335b74b25f
feat: take a backup of KV/SQL metadata stores before applying migrations ( #22765 )
2021-10-28 16:02:15 -04:00
davidby-influx
88afa9229b
fix: detect misquoted tag values and return an error ( #22754 ) ( #22785 )
...
SHOW TAG KEYS FROM "foo" where bar="misquoted" is
erroneous, because the tag value must be enclosed
in single, not double, quotes. Although this
correctly returns no tag keys, it is very
inefficient and has cause out-of-memory failures
at a customer. This fix short-circuits the query.
closes https://github.com/influxdata/influxdb/issues/22755
(cherry picked from commit af9e89a4d4
)
closes https://github.com/influxdata/influxdb/issues/22757
2021-10-27 21:32:11 -07:00
mcfarlm3
8825cd5d50
feat: replication apis durable queue management ( #22719 )
...
* feat: added durable queue management to replications service
* refactor: improved mapping of replication streams to durable queues
* refactor: modified replication stream durable queues to use user-specified engine path
* chore: generated test mocks for replications DurableQueueManager
* chore: add test coverage for replications durable queue manager
* refactor: made changes based on code review, added mutex to durableQueueManager, improved error logging
* chore: ran make fmt
* refactor: further improvements to error logging
2021-10-26 12:14:29 -07:00
Nathaniel Cook
fba7fac534
build(flux): update flux to v0.136.0 ( #22751 )
2021-10-26 09:38:35 -06:00
Daniel Moran
58139c47b2
feat: add auth to remotes & replications APIs ( #22744 )
2021-10-26 11:32:35 -04:00
William Baker
ca6b99f9a2
build: use changelogger image for changelog generation ( #22748 )
...
* build: install a specific version of git-cliff for changelog job
* build: use pre-built image
* chore: correct image name
* chore: update deps
* chore: remove test job
2021-10-25 15:16:10 -06:00
Daniel Moran
8be2719e3a
chore: bump openapi sha for 2.1 release ( #22745 )
2021-10-25 15:23:42 -04:00
Daniel Moran
a1a725945b
chore: fix KV migration to add notebooks and annotations to all-access tokens ( #22738 )
2021-10-22 18:03:09 -04:00
Daniel Moran
7171e0752a
test: wait for time.Now to change before updating stack in pkger test ( #22735 )
...
Do this so comparisons between creation time and update time are realistic.
2021-10-22 16:20:17 -04:00
davidby-influx
5e6b0d539b
fix: extend snapshot copy to filesystems that cannot link ( #22703 ) ( #22732 )
...
If os.Link fails with syscall.ENOTSUP, then the file
system does not support links, and we must make copies
to snapshot files for backup. We also automatically make
copies instead of link on Windows, because although it
makes links, their semantics are different from Linux.
closes https://github.com/influxdata/influxdb/issues/16739
(cherry picked from commit d9b9e86db9
)
closes https://github.com/influxdata/influxdb/issues/22701
2021-10-22 08:59:41 -07:00
Daniel Moran
504f0e4413
feat: passing `type=basic` returns task metadata without query text ( #22728 )
2021-10-22 09:14:58 -04:00
Dane Strandboge
de7f052e5a
chore: fix `dump_tsi` deadlock ( #22705 )
2021-10-20 12:43:02 -05:00