jl
034280e819
refactor: update window logic to use interval package
2021-02-05 12:15:53 -08:00
Daniel Moran
9aefa6f868
fix(tsdb): never use an inmem index ( #20313 )
...
And fix the logging setup for the TSDB storage engine
2020-12-23 07:46:57 -08:00
Ben Johnson
7dafc2cf34
feat(tsdb): Implement delete with predicate.
2020-12-02 14:55:02 -07:00
Stuart Carnie
bec12ab1b4
fix: Continue reading until itrs is empty, even for nil cursors
...
Closes #20035
2020-11-17 12:06:33 -05:00
Stuart Carnie
35227ca887
chore: Add unit test to replicate issue #20035
2020-11-17 12:06:33 -05:00
George MacRorie
16d916a952
refactor(kv): delete deprecated kv service code
...
This includes removal of a lot of kv.Service responsibilities. However,
it does not finish the re-wiring. It removes documents, telegrafs,
notification rules + endpoints, checks, orgs, users, buckets, passwords,
urms, labels and authorizations. There are some oustanding pieces that
are needed to get kv service compiling (dashboard service urm
dependency). Then all the call sites for kv service need updating and
the new implementations of telegraf and notification rules + endpoints
needed installing (along with any necessary migrations).
2020-11-16 12:41:26 +00:00
Daniel Moran
15b9531273
fix: correct various typos ( #19987 )
...
Co-authored-by: kumakichi <xyesan@gmail.com>
2020-11-11 13:54:21 -05:00
Ben Johnson
419b0cf76b
feat: Implement full restore
2020-11-05 10:05:01 -07:00
Ben Johnson
5f1968b331
fix: Skip deleted shard groups during backup
2020-11-05 10:05:01 -07:00
Ben Johnson
6e1097c625
feat: Minor updates to backup/restore
2020-11-05 10:05:01 -07:00
Ben Johnson
23679c2375
feat: Implement backup/restore CLI subcommands.
2020-11-05 10:05:01 -07:00
Stuart Carnie
a0958e6603
fix: Add Logger to constructor function to ensure it is initialized
2020-11-02 18:00:22 -07:00
jl
fbe85ef548
feat: enable window pushdowns
2020-10-30 18:09:38 -07:00
Christopher M. Wolff
5a60488729
fix: make tagKeys and tagValues work for edge cases involving _field ( #19856 )
2020-10-30 10:37:08 -07:00
Faith Chikwekwe
5e1cdda597
feat(storage): enable window agg mean pushdown
2020-10-27 12:53:54 -07:00
jl
b7ac9f07be
feat: aggregate array cursors
2020-10-23 15:13:28 -07:00
Faith Chikwekwe
8e0328af74
feat(storage/reads): add window agg result set
2020-10-13 13:32:13 -07:00
Faith Chikwekwe
2acb8b897a
feat(values): add window mean array cursor
2020-10-07 13:17:50 -07:00
Stuart Carnie
78d0262217
fix: Remove incorrect implementation of delete APIs and disable HTTP API
...
This commit removes incorrect implementations of the `DeleteBucket`
and `DeleteBucketRangePredicate` APIs from the storage package,
which remained after the transition to the tsdb 1.x storage engine.
Secondly, this PR utilizes the `ENotImplemented` error code to inform
users which call the `/api/v2/delete`
2020-09-24 11:11:46 -07:00
Roger Peppe
1bc54c7bfd
Merge pull request #19598 from influxdata/rogpeppe-005-storage-close-pointswriter
...
fix: storage: close PointsWriter when Engine is closed
2020-09-22 16:16:07 +01:00
Roger Peppe
3803bd8e26
fix: storage: close PointsWriter when Engine is closed
...
The PointsWriter has a Close method which seems like it should
be called when the Engine is shut down.
2020-09-22 15:42:50 +01:00
Stuart Carnie
a0ce7c38ef
fix: Use DeleteDatabase to guarantee all files are closed and removed
...
A bucket is represented as a single database and retention policy and
therefore `DeleteDatabase` is the appropriate API to remove a bucket
from TSDB.
Fixes #19600
2020-09-21 13:05:50 -07:00
Stuart Carnie
46db75d9a9
fix: ShardGroupDuration is updated for retention period updates
...
Fixes #19518
2020-09-18 07:31:48 -07:00
Christopher M. Wolff
e7cbbaa722
feat: upgrade Flux to v0.83.2 ( #19569 )
2020-09-16 17:59:15 -07:00
Stuart Carnie
8576d1df99
feat: Implement DELETE FROM and DROP MEASUREMENT
...
Closes #19416
2020-09-11 11:37:43 -07:00
Stuart Carnie
6f0cf049ca
feat: Port shard precreation service from InfluxDB 1.x
...
Provides new configuration parameters:
```
--storage-shard-precreator-advance-period
--storage-shard-precreator-check-interval
```
Closes #19520
2020-09-09 13:34:22 -07:00
Stuart Carnie
e265f60b55
fix: Improvements in response to PR feedback
...
* Pass context.Context to Service.Open
* Remove redundant comments
* Bind to retention.Config configuration to be consistent with 1.x
2020-09-09 10:32:06 -07:00
Stuart Carnie
7c2be6e780
feat: Port 1.x retention policy enforcement service
...
Configuration of the check interval is available via
```
--storage-retention-check-interval
```
Closes #19309
2020-09-09 10:32:06 -07:00
Stuart Carnie
b3138d2ead
fix: Ensure TemporaryEngine returns new inner TSDB store
2020-09-01 10:50:44 -07:00
Stuart Carnie
a607ac30b9
chore: Re-enable `TemporaryEngine` via `--e2e-testing`
2020-08-31 13:50:20 -07:00
Brett Buddin
b917d8d9b0
chore(influxdb): Placate the linter.
2020-08-27 15:46:32 -04:00
Stuart Carnie
dee8977d2c
chore: move v2/v1/tsdb → v2/tsdb
2020-08-26 10:46:47 -07:00
Stuart Carnie
06fac044e5
fix(storage): Implement SeriesCardinality, which is per-bucket
...
Fixed unit tests
2020-08-25 14:52:00 -07:00
Stuart Carnie
9bebacf92f
fix(reads): Fix query cursor read that caused cursor truncation.
...
Port of #17610
Closes #19310
2020-08-25 09:01:47 -07:00
Stuart Carnie
047ed7836a
fix(Makefile): Remove redundant make targets
...
Fixes #19407
2020-08-21 13:24:03 -07:00
Stuart Carnie
c01a62d5d4
chore(task): Remove unused code
2020-08-20 16:59:26 -07:00
Stuart Carnie
0a644dceed
fix(storage): BufferedPointsWriter is for a single org / bucket only
...
Fixes experimental.to tests
2020-08-03 15:15:00 -07:00
Stuart Carnie
d7434216e2
fix(storage): Use correct engine paths
...
Remove redundant repl.go after rebasing on 8dd8d1f79e
2020-08-03 09:21:04 -07:00
Stuart Carnie
21c3733464
fix(storage): meta.Client persists to kv and updates via BucketService
...
Includes initial migration to add metadata bucket
2020-08-03 09:21:02 -07:00
Stuart Carnie
89532f0c29
refactor: move v2/v1/models to v2/models
2020-08-03 09:20:51 -07:00
Stuart Carnie
a71b43ff17
refactor: remove redundant files
...
* retention will be enforced by the InfluxDB 1.x engine
* storage will be a shim for `tsdb`, so don't need tests here
2020-08-03 09:20:50 -07:00
Stuart Carnie
d32709ed16
chore: More cleanup
2020-08-03 09:20:50 -07:00
Stuart Carnie
7c225cb3ac
chore: More cleanup
2020-08-03 09:20:50 -07:00
Stuart Carnie
26c18ac0a5
chore: Converging on 1.x tsdb
2020-08-03 09:20:48 -07:00
Edd Robinson
2b175291be
refactor: WIP removing tsbd
2020-08-03 09:18:34 -07:00
Stuart Carnie
a97ec1f34e
feat: Initial commit with working reads
2020-08-03 09:18:34 -07:00
Edd Robinson
89efcb3d74
refactor: writes work
2020-08-03 09:18:34 -07:00
Stuart Carnie
e3060c291c
refactor: tsdb store builds an runs
2020-08-03 09:18:32 -07:00
Edd Robinson
5f426195bf
refactor: start inserting tsdb store into engine
2020-08-03 09:17:24 -07:00
Edd Robinson
8c4bb1d65f
refactor: strip contents of storage engine
2020-08-03 09:17:24 -07:00