davidby-influx
5b364b51c8
fix: avoid panic if shard group has no shards ( #25717 )
...
Avoid panicking when mapping points to a shard group
that has no shards. This does not address the root problem,
how the shard group ended up with no shards.
helps: https://github.com/influxdata/influxdb/issues/25715
2024-12-27 14:04:19 -08:00
Jeffrey Smith II
f74c69c5e4
chore: update to go 1.20 ( #24088 )
...
* build: upgrade to go 1.19
* chore: bump go.mod
* chore: `gofmt` changes for doc comments
https://tip.golang.org/doc/comment
* test: update tests for new sort order
* chore: make generate-sources
* chore: make generate-sources
* chore: go 1.20
* chore: handle rand.Seed deprecation
* chore: handle rand.Seed deprecation in tests
---------
Co-authored-by: DStrand1 <dstrandboge@influxdata.com>
2023-02-09 14:14:35 -05:00
davidby-influx
53580ead1d
fix: remember shards that fail Open(), avoid repeated attempts ( #23437 ) ( #23455 )
...
If a shard cannot be opened, store its ID and last error.
Prevent future attempts to open during this invocation of
influxDB. This information is not persisted.
closes https://github.com/influxdata/influxdb/issues/23428
closes https://github.com/influxdata/influxdb/issues/23426
(cherry picked from commit 54ac7e54ed
)
closes https://github.com/influxdata/influxdb/issues/23434
closes https://github.com/influxdata/influxdb/issues/23436
2022-06-14 13:01:11 -07: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
Daniel Moran
2795c600c1
feat: add `--storage-write-timeout` flag to set write request timeouts ( #22617 )
2021-10-04 15:38:09 -04:00
Daniel Moran
9d81f4a096
fix: prevent silently dropped writes with overlapping shards ( #21946 )
...
Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com>
2021-07-27 12:15:08 -04:00
Daniel Moran
d747e7ec4e
feat: add config parameters to toggle WAL concurrency and timeouts ( #21621 )
...
* feat: add context parameter to Take() method on fixed limiter
* refactor: plumb context through to uses of Take()
* test: update tests to pass context as needed
* feat: add config toggles for setting WAL write concurrency & timeout
2021-06-09 11:03:53 -04:00
Daniel Moran
5b29ef7060
fix(v1): optimize shard lookup in groups containing only one shard ( #20201 )
...
Co-authored-by: Yun Zhao <zhaoyun2316@gmail.com>
2020-11-30 15:16:03 -05:00
Daniel Moran
15b9531273
fix: correct various typos ( #19987 )
...
Co-authored-by: kumakichi <xyesan@gmail.com>
2020-11-11 13:54:21 -05:00
Stuart Carnie
dee8977d2c
chore: move v2/v1/tsdb → v2/tsdb
2020-08-26 10:46:47 -07:00
Stuart Carnie
8a7dcc21fb
feat(influxql): Initial implementation of InfluxQL query engine
...
* Some tests are broken or do not pass; follow up PRs will resolve that
2020-08-14 12:37:30 -07:00
Stuart Carnie
89532f0c29
refactor: move v2/v1/models to v2/models
2020-08-03 09:20:51 -07:00
Edd Robinson
89efcb3d74
refactor: writes work
2020-08-03 09:18:34 -07:00
Stuart Carnie
92efddbfbe
chore(tsdb): Initial commit of tsdb package
...
* pulls in 1.x tsdb, compiles and passes test
2020-08-03 09:17:23 -07:00