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
William Baker
84776d7428
fix: manual task runs are scheduled asyncronously ( #22702 )
2021-10-20 09:12:57 -06:00
Jonathan A. Sternberg
05e6dc65c5
build(flux): update flux to v0.135.0 ( #22691 )
2021-10-18 15:53:41 -05:00
William Baker
d8430aa7dd
build: update script to run ui e2e tests ( #22670 )
...
* build: update script to run ui e2e tests
* chore: update comments for missing env var descriptions
2021-10-18 10:27:17 -06:00
Paul Hummer
2433e00e1c
build(flux): update flux to v0.134.0 ( #22671 )
2021-10-15 08:45:14 -06:00
Daniel Moran
a6d4dc250c
feat: list-bucket API supports pagination when filtering by org ( #22674 )
2021-10-14 15:09:28 -07:00
William Baker
42ac916253
feat: enable new dashboard autorefresh ( #22669 )
2021-10-13 16:17:03 -06:00
Russ Savage
1ba6581e74
feat: Add Bearer token auth ( #22498 )
...
* feat: add bearer token support
* fix: updating to use equalfold
2021-10-13 12:02:32 -07:00
Dane Strandboge
ca992e9fff
chore: use io/os over ioutil ( #22656 )
2021-10-12 16:55:07 -05:00
Daniel Moran
cac4b42898
build: bump to go1.17.2 ( #22652 )
2021-10-12 10:23:17 -07:00
Daniel Moran
401af4b3ae
feat(flux): enable writing to remote hosts via `to()` and `experimental.to()` ( #22634 )
2021-10-12 09:35:44 -07:00
Stuart Carnie
0700cc8582
chore: Add subquery tests for compatibility checks with Cloud 2 ( #22621 )
2021-10-12 10:49:01 +11:00
Daniel Moran
7b7d4f3856
fix(upgrade): don't drop shard-group durations when upgrading DBs ( #22650 )
...
Add KV migration to repair missing shard-group durations
2021-10-11 14:43:57 -07:00
Cody Shepherd
e75d023eba
build: the update-changelog script should not produce side-effects ( #22624 )
2021-10-11 09:31:30 -07:00
Sam Arnold
2ecbb68fc3
test: fix DiskSizeBytes flakiness ( #22639 )
2021-10-08 09:46:58 -04:00
Jonathan A. Sternberg
708e808d00
feat(query/stdlib): update window planner rules for location changes to support fixed offsets ( #22635 )
...
The pushdown does not support fixed offsets or non-UTC locations, but it
does now correctly compile and pushdown other windows.
2021-10-07 15:29:38 -05:00
Daniel Moran
e12e78aa69
fix: change session cookie name used by UI to avoid conflict with incompatible 2.0.x cookie ( #22632 )
2021-10-07 15:53:55 -04:00
Sam Arnold
a02782c63f
feat: return new operator token during backup overwrite ( #22629 )
...
* feat: return new operator token during backup overwrite
* chore: update swagger
* test: e2e restore test with new token
2021-10-07 09:07:09 -04:00
Daniel Moran
15a32a0860
refactor: consolidate session-handling code ( #22626 )
2021-10-06 22:37:02 -04:00
Sam Arnold
1542d2404f
feat: new recovery subcommand allows creating recovery user/token ( #22590 )
...
* feat: influxd recovery-cli allows creating recovery user/token
Closes #12051
* test: do not assert order of users or orgs in list
* fix: code review suggestions from dan
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
* fix: more fixes from dan's review
* chore: depend on tabwriter from influx-cli
* chore: revert onboarding refactor
Co-authored-by: Daniel Moran <danxmoran@gmail.com>
2021-10-06 12:37:36 -04:00