davidby-influx
47007f6988
fix: for Windows, copy snapshot files being backed up ( #22551 ) ( #22562 )
...
On Windows, make copies of files for snapshots, because
Go does not support the FILE_SHARE_DELETE flag which
allows files (and links) to be deleted while open. This
causes temporary directories to be left behind after
backups.
closes https://github.com/influxdata/influxdb/issues/16289
(cherry picked from commit 3702fe8e76
)
closes https://github.com/influxdata/influxdb/issues/22557
2021-09-22 13:06:28 -07:00
Daniel Moran
e06e34aa56
test: sleep between 2nd and 3rd checks of engine last-modified time ( #22554 )
...
And rewrite the test to use testify
2021-09-22 14:14:46 -04:00
Daniel Moran
75b9398e1a
fix: suggest setting flux Content-Type when query fails to parse as JSON ( #22537 )
2021-09-22 09:35:06 -04:00
Sam Arnold
7dfd7de81f
feat: set X-Influxdb-Version and X-Influxdb-Build headers ( #22535 )
...
Closes #20224
Also a forward port of #22038 since I saw the same test failing on 2.x
2021-09-22 07:30:45 -04:00
Daniel Moran
233f277c07
test: check post-compaction series file sizes before reopening ( #22534 )
2021-09-21 16:48:44 -04:00
William Baker
59f0f13fe4
chore: clean up go.mod and go.sum ( #22532 )
2021-09-21 12:16:26 -06:00
Paul Hummer
13dc0f41e4
build(flux): update flux to v0.131.0 ( #22521 )
2021-09-20 12:40:01 -06:00
Timmy Luong
8657a48f6d
chore: add check for procstat ( #22511 )
2021-09-20 09:39:01 -07:00
Daniel Moran
02246a8c3e
test: wait until time.Now changes before checking timing stats in query controller tests ( #22479 )
...
This allows the tests to pass on Windows, where time.Now doesn't update as frequently as it does on other systems
2021-09-20 08:26:16 -04:00
Daniel Moran
1291b1a218
test: update various tests to pass on Windows ( #22484 )
...
* Generalize checks for no-such-file errors to pass on Windows
* Close temp tombstone file before trying to delete it in test
* Generalize upgrade tests to work on Windows
2021-09-20 08:25:11 -04:00
William Baker
0c59cd79e3
build: series cardinality perf test ( #22509 )
...
* build: series cardinality perf test
2021-09-17 15:14:41 -06:00
Cody Shepherd
c44931a06e
build: changelog job should use aws domain to avoid CDN caching ( #22502 )
2021-09-17 10:43:09 -07:00
William Baker
1f66b3110e
fix: upgrade influxql to latest version & fix predicate handling for show tag values metaqueries ( #22500 )
...
* feat: Add WITH KEY to show tag keys
* fix: add tests for multi measurement tag value queries
* chore: fix linter problems
* chore: revert influxql changes to keep WITH KEY disabled
* chore: add TODO for moving flux tests to flux repo
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-09-17 11:14:03 -06:00
William Baker
33afff378c
build: run perf test queries only on specific datasets ( #22480 )
...
* build: run perf test queries only on specific datasets
* fix: use new aliases to fix group window transpose
2021-09-16 09:41:06 -06:00
Sean Brickley
c66a059101
build(flux): update flux to v0.130.0 ( #22486 )
2021-09-15 11:47:38 -04:00
Timmy Luong
73043f94da
feat: allow new telegraf input plugins and update toml ( #22476 )
2021-09-14 14:43:59 -07:00
Daniel Moran
140148edfb
test: close temp sfile before running buildtsi compaction test ( #22481 )
2021-09-14 17:34:55 -04:00
Cody Shepherd
b8a3b4ca5c
chore: persist changelog artifacts to workspace for uploading ( #22478 )
2021-09-14 14:16:36 -07:00
Daniel Moran
e2948d875c
test: skip pkger URI test when running on Windows ( #22475 )
2021-09-14 10:58:35 -04:00
Daniel Moran
d307e0a2dc
chore: delete miscellaneous unused code ( #22465 )
...
* Delete unused `CreateFileWithReplacement` function
* Delete unused `http/server.go`
2021-09-13 15:48:17 -04:00
Daniel Moran
ccd96929c5
test: don't assume unix paths in reporttsi tests ( #22461 )
2021-09-13 15:24:10 -04:00
William Baker
ec7841b355
feat: support for flux cardinality query ( #22441 )
...
* feat: works with custom iterator
* feat: works with existing iterators
* chore: cleanup
* test: consistent assertions for tests
* fix: better log message if trying to filter on the value of a field key
* fix: comment for handling boolean literal; handle false boolean as well
* fix: make time range checking inclusive
2021-09-13 13:20:56 -06:00
Sam Arnold
5015297d40
fix: more expressive errors ( #22448 )
...
* fix: more expressive errors
Closes #22446
* fix: server only logging for untyped errors
* chore: fix formatting
2021-09-13 15:12:35 -04:00
William Baker
3e275a123d
feat: multi-measurement query optimization ( #22301 )
...
* feat: multi-measurement query optimization
2021-09-13 13:00:08 -06:00
Daniel Moran
6f39255fc8
fix: ensure files are closed before they are deleted or moved in `deletetsm` ( #22458 )
...
* Close files before deleting parent dir in tests
* Use platform-independent function to rename output
* Close source TSM file before overwriting it
2021-09-13 14:39:50 -04:00
Daniel Moran
3053af7719
test: skip signals test on Windows ( #22454 )
...
And use os.Kill instead of syscall.SIGTERM for portability
2021-09-13 12:49:25 -04:00
Daniel Moran
f36960d263
fix: detect noninteractive prompt when displaying warning in buildtsi ( #22442 )
2021-09-13 11:26:58 -04:00
Daniel Moran
6d4d32d6d0
build: embed tzinfo into Windows builds to avoid panics ( #22447 )
2021-09-13 11:11:24 -04:00
Daniel Moran
372c481278
chore: delete unused code that doesn't build on Windows ( #22443 )
2021-09-13 10:55:45 -04:00
Cody Shepherd
1e911cdba6
chore: fetch changelog files prior to updating ( #22439 )
2021-09-13 07:01:30 -07:00
Dane Strandboge
bd8a1e18f4
build: upgrade to go1.17.1 ( #22437 )
2021-09-10 14:34:58 -05:00
Cody Shepherd
26e35ed945
chore: omit VCS commands for changelog in favor of s3-only approach ( #22423 )
2021-09-10 08:38:40 -07:00
Daniel Moran
153a89dba0
feat: deleting a bucket also deletes all associated replications ( #22424 )
2021-09-09 15:22:36 -04:00
William Baker
1482bdfa38
feat: partial support for series cardinality flux query ( #22378 )
2021-09-09 12:37:11 -06:00
Daniel Moran
873051865a
build: try adding curl loop before grace-daily runs ( #22432 )
2021-09-09 13:08:33 -04:00
Daniel Moran
cc2a4fc73e
build: disable docker-layer-caching in machine executors ( #22434 )
2021-09-09 12:33:41 -04:00
Daniel Moran
eb5f5c3c5b
test: close test SQL store before deleting its tmp dir in tests ( #22421 )
2021-09-08 11:12:21 -04:00
Daniel Moran
a7cd53a732
build: bump machine executor image to version with upgraded docker ( #22402 )
2021-09-07 16:46:22 -04:00
Daniel Moran
1fa0ccf24a
refactor: move interfaces for remotes & replication services out of root package ( #22417 )
2021-09-07 16:21:29 -04:00
Daniel Moran
29ef6dc562
test: skip HoltWinters tests when GOARCH != amd64 ( #22414 )
2021-09-07 16:15:31 -04:00
Jonathan A. Sternberg
15fb8949f2
build(flux): update flux to v0.128.0 ( #22416 )
2021-09-07 13:56:11 -05:00
Cody Shepherd
fda02b15b1
chore: update PR template post-changelog automation ( #22407 )
2021-09-07 11:27:20 -07:00
Daniel Moran
ba4d2d4708
fix: use consistent path separator in permission string representation ( #22412 )
2021-09-07 13:02:07 -04:00
Daniel Moran
af12281358
chore: delete pointless test for mixed-index shards ( #22405 )
2021-09-07 12:25:07 -04:00
Daniel Moran
6418f693f7
refactor: use new flux function to format duration literals ( #22403 )
2021-09-07 11:12:25 -04:00
Cody Shepherd
824e76c18d
build: generate nightly changelog from commit history ( #22377 )
...
* build: generated nightly changelog from commit history
* build: update goreleaser version
2021-09-07 08:07:04 -07:00
davidby-influx
7ad612b0d7
fix: discard excessive errors ( #22379 ) ( #22391 )
...
The tsmBatchKeyIterator discards excessive errors to avoid
out-of-memory crashes when compacting very corrupt files.
Any error beyond DefaultMaxSavedErrors (100) will be
discarded instead of appended to the error slice.
closes https://github.com/influxdata/influxdb/issues/22328
(cherry picked from commit e53f75e06d
)
closes https://github.com/influxdata/influxdb/issues/22381
2021-09-03 14:57:36 -07:00
Cody Shepherd
e30eb3cc46
build: update goreleaser version pin ( #22393 )
2021-09-03 14:00:31 -07:00
William Baker
279c23a0c6
feat: add additional log to flux e2e tests ( #22366 )
2021-09-02 11:16:01 -06:00
Daniel Moran
66ae6165f3
fix: upgrade golang.org/x/sys to avoid panics on Macs ( #22367 )
2021-09-01 17:41:27 -04:00