Commit Graph

4824 Commits (a499f3ba4b4753064622b148e293afd502d03dca)

Author SHA1 Message Date
kodiakhq[bot] a499f3ba4b
Merge pull request #2523 from influxdata/jgm-perf-tracing
fix: emit traces to Jaeger in perf.py
2021-09-14 14:23:18 +00:00
kodiakhq[bot] 03d9a28933
Merge branch 'main' into jgm-perf-tracing 2021-09-14 14:13:38 +00:00
kodiakhq[bot] a98ea6fe5e
Merge pull request #2480 from influxdata/crepererum/issue1963
fix: order chunks correctly during query processing
2021-09-14 11:47:57 +00:00
kodiakhq[bot] 9ea61cd434
Merge branch 'main' into crepererum/issue1963 2021-09-14 11:38:59 +00:00
kodiakhq[bot] a109c3be71
Merge pull request #2526 from influxdata/crepererum/issue2493a
refactor: stricter delete predicate TS parsing
2021-09-14 11:37:47 +00:00
Marco Neumann 4795bd5c9c refactor: stricter delete predicate TS parsing
As a a nice side effect, the parser no longer depends on the line
protocol parser.
2021-09-14 13:14:19 +02:00
Marco Neumann 1d8edd4683 fix: metadata size increased 2021-09-14 13:03:26 +02:00
Marco Neumann 0dc5bd0921 fix: remove overstrict check for chunk orders in lifecycle policy 2021-09-14 13:00:55 +02:00
Marco Neumann 2591bcac13 test: ensure chunk IDs are as documented 2021-09-14 13:00:55 +02:00
Marco Neumann 8e360f0c5a refactor: inline `sort_chunks` since it is only used once 2021-09-14 13:00:55 +02:00
Marco Neumann aaeb67ae5d refactor: make chunk iterations sorted by `order, ID` 2021-09-14 13:00:55 +02:00
Marco Neumann 804790711b refactor: isolate `sort_chunks` 2021-09-14 13:00:55 +02:00
Marco Neumann 9a60af7fa3 docs: explain `ChunkOrder` query test scenario 2021-09-14 13:00:55 +02:00
Marco Neumann c28f38309a docs: improve chunk ordering docs 2021-09-14 13:00:55 +02:00
Marco Neumann 96618af6a2 fix: respect chunk order when invoking lifecycle actions 2021-09-14 13:00:55 +02:00
Marco Neumann 1b788732da fix: order chunks correctly during query processing
The query processing was implicitly relying on the order provided by the
catalog. This had two issues:

- this ordering was not defined in the API contract (neither via docs
  nor via typing)
- the order was based on chunk IDs which is not adequate in some cases
  (e.g. when chunks are created while a persistence operations is in
  progress)

Now we explicitly sort chunks by `(order, ID)`.

Fixes #1963.
2021-09-14 13:00:55 +02:00
Marco Neumann 8a531be05b feat: expose chunk order via API and in system table 2021-09-14 13:00:55 +02:00
Marco Neumann 45cb00d8c0 refactor: track chunk order in chunks 2021-09-14 13:00:55 +02:00
kodiakhq[bot] d9da764153
Merge pull request #2524 from influxdata/crepererum/prune_transactions
feat: prune old transactions from preserved catalog
2021-09-14 10:57:04 +00:00
Marco Neumann 3f2e46c397 feat: prune old transactions from preserved catalog 2021-09-14 12:08:17 +02:00
Marco Neumann 4769b67d14 feat: API-level code to prune old transaction from catalog 2021-09-14 10:26:38 +02:00
kodiakhq[bot] 59d7996a3e
Merge pull request #2517 from influxdata/crepererum/show_metadata_bytes_in_catalog_dump
feat: show number of stripped bytes in catalog dump
2021-09-14 07:52:14 +00:00
Marco Neumann f93984cd94 refactor: clarify wording
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-09-14 09:43:55 +02:00
Marco Neumann e7edb65b1d feat: show number of stripped bytes in catalog dump 2021-09-14 09:43:55 +02:00
Jacob Marble 6d762d2ba0 fix: emit traces to Jaeger in perf.py 2021-09-13 16:11:59 -07:00
kodiakhq[bot] 21d68ac2bf
Merge pull request #2499 from influxdata/pd/data-generator-values
feat: Add pre-generated values and tag sets to data generator
2021-09-13 21:57:34 +00:00
Paul Dix 6d3ac4db46 chore: pr cleanup on data generator 2021-09-13 17:45:53 -04:00
Paul Dix 32f2410597 feat: Add print to stdout to data generator (#2512)
This adds a flag to the data generator to print samples to standard out. It disables logging output so that only the line protocol is output.
2021-09-13 17:45:53 -04:00
Paul Dix 914c6e712b chore: remove rogue println in data generator 2021-09-13 17:45:53 -04:00
Paul Dix a94854d4d0 fix: build error in data generator bench 2021-09-13 17:45:53 -04:00
Paul Dix 5f0b3b336e refactor: optimizations to make tag set generation significantly faster 2021-09-13 17:45:53 -04:00
Paul Dix 7f915ba9d4 feat: Add pre-generated values and tag sets to data generator
This adds the ability to pre-generate values and tag sets in the data generator. This makes it easy to have tags that depend on other tag values (like buckets in an org) and have tag values that have one associated tag (like if something is in production or staging environment). Follow on work will add the actual generation to the agent spec. An added bonus of these pre-generated values is that generating samples won't require any sort of template evaluation for all of the tags in the tag sets. Only unique values (like trace_id or span_id) would need to be generated during sampling generation.
2021-09-13 17:45:53 -04:00
Andrew Lamb 5eef76c868
chore: Update dependencies (including datafusion) (#2521)
* chore: Update datafusion deps to pre-release

* refactor: Update IOx to use new datafusion Statistics

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-13 21:30:44 +00:00
Raphael Taylor-Davies 7e434d16d2
fix: MockBufferForReading waker registration (#2520)
* fix: MockBufferForReading waker registration

* chore: remove unnecessary sleep

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-13 21:21:21 +00:00
Raphael Taylor-Davies f3bcafcfea
feat: migrate http metrics to metric crate (#2508)
* feat: migrate http metrics

* chore: review feedback

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-13 18:56:20 +00:00
kodiakhq[bot] 525e99610e
Merge pull request #2465 from influxdata/jpg/delete-e2e-test
test: Ensure that a deleted and recreated database returns new data
2021-09-13 18:26:42 +00:00
kodiakhq[bot] c06943e355
Merge branch 'main' into jpg/delete-e2e-test 2021-09-13 18:17:52 +00:00
kodiakhq[bot] 08a3290659
Merge pull request #2511 from influxdata/ntran/delete_pred_chunks
feat: save delete predicates in chunks
2021-09-13 16:24:22 +00:00
kodiakhq[bot] e76d70ea36
Merge branch 'main' into ntran/delete_pred_chunks 2021-09-13 16:15:57 +00:00
Nga Tran 40499b222e chore: merge main to branch 2021-09-13 12:15:16 -04:00
kodiakhq[bot] 8d8cc291ea
Merge pull request #2467 from influxdata/jpg/one-true-error
fix: Return same error when querying deleted vs uncreated database
2021-09-13 16:06:12 +00:00
kodiakhq[bot] 9c6bb6c932
Merge branch 'main' into jpg/one-true-error 2021-09-13 15:57:42 +00:00
kodiakhq[bot] b2574aea41
Merge branch 'main' into jpg/delete-e2e-test 2021-09-13 15:53:35 +00:00
kodiakhq[bot] 64f6526988
Merge pull request #2466 from influxdata/jpg/run-server-docs
docs: update help text to show command to run the server
2021-09-13 15:53:08 +00:00
Nga Tran 8292c4d2e4 refactor: address review comments 2021-09-13 11:44:18 -04:00
Jake Goulding 0b6e577da5 fix: Return same error when querying deleted vs uncreated database
Closes #2446
2021-09-13 11:43:07 -04:00
Jake Goulding 88555388be test: Ensure that a deleted and recreated database returns new data
Closes #2454
2021-09-13 11:42:43 -04:00
Jake Goulding 064fd39ff3 docs: update help text to show command to run the server 2021-09-13 11:42:26 -04:00
Raphael Taylor-Davies 574149d644
feat: migrate remaining catalog metrics to new crate (#2490)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-13 14:42:14 +00:00
Raphael Taylor-Davies 20143e4f4e
feat: migrate chunk pruning metrics (#2516) 2021-09-13 13:13:47 +00:00