Commit Graph

5367 Commits (45c2c261682785de339678c89c3c720c49d66479)

Author SHA1 Message Date
Marco Neumann e842733c5b refactor: `CatalogChunk::add_delete_predicate` cannot fail 2021-09-23 09:55:31 +02:00
Nga Tran 713c7f4820 chore: remove empty line 2021-09-22 17:11:09 -04:00
Nga Tran 332649a8ee refactor: another cleanup due to marco -> function and add a test that exposes bug 2021-09-22 17:09:20 -04:00
Nga Tran 10097766d3 refactor: changes to use function instead of marco after merging main 2021-09-22 16:53:51 -04:00
Nga Tran 2399a932fb chore: Merge branch 'main' into ntran/more_delete_tests 2021-09-22 16:47:15 -04:00
Nga Tran 3a00d9c70a refactor: cleanup 2021-09-22 16:42:46 -04:00
Nga Tran 400ec93498 test: more delete tests 2021-09-22 16:38:27 -04:00
Raphael Taylor-Davies b46541406a
chore: update itertools (#2615)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-22 18:25:35 +00:00
Raphael Taylor-Davies 92e6173f49
feat: implement jaeger-agent protocol directly (#2607)
* feat: implement jaeger-agent protocol directly

* chore: review feedback

* fix: remove jaeger feature flag
2021-09-22 17:30:37 +00:00
kodiakhq[bot] 011dba8f51
Merge pull request #2600 from influxdata/alamb/debug_header
feat: Add support to create new traces in IOx via JAEGER_DEBUG_HEADER
2021-09-22 17:06:49 +00:00
kodiakhq[bot] c605fa83ab
Merge branch 'main' into alamb/debug_header 2021-09-22 16:56:26 +00:00
Andrew Lamb e078e70eb5
docs: Update CONTRIBUTING.md 2021-09-22 12:55:45 -04:00
kodiakhq[bot] a2e331e3f2
Merge pull request #2606 from influxdata/crepererum/issue2518c
feat: teach `Db` to preserve delete predicates
2021-09-22 16:18:17 +00:00
kodiakhq[bot] b16e7ea91a
Merge branch 'main' into crepererum/issue2518c 2021-09-22 16:09:04 +00:00
kodiakhq[bot] 7820f9d17b
Merge pull request #2612 from influxdata/ntran/df_lit_timestamp
chore: update latest datafusion and use its lit_timestamp_nano
2021-09-22 15:41:06 +00:00
Nga Tran e80d8aa391 chore: update latest datafusion and use its lit_timestamp_nano 2021-09-22 11:30:42 -04:00
kodiakhq[bot] 61ccdbba93
Merge pull request #2609 from influxdata/crepererum/query_tests_speedup
refactor: convert macros in `query_tests` to functions
2021-09-22 12:53:07 +00:00
Andrew Lamb 675e0846bb feat: Add support to create new traces in IOx via JAEGER_DEBUG_HEADER 2021-09-22 08:43:42 -04:00
Marco Neumann 9a1a3f4de5 refactor: convert `run_tag_keys_test_case` to a function 2021-09-22 13:46:54 +02:00
Marco Neumann 8cc08d6bd9 refactor: convert `run_table_names_test_case` to a function 2021-09-22 13:46:54 +02:00
Marco Neumann 2408dea394 refactor: convert `run_read_window_aggregate_test_case` to a function 2021-09-22 13:46:54 +02:00
Marco Neumann cdfe49f041 refactor: convert `run_read_group_test_case` to a function 2021-09-22 13:46:54 +02:00
Marco Neumann 1db13ec437 refactor: convert `run_tag_values_test_case` to a function 2021-09-22 13:46:54 +02:00
Marco Neumann 20655d10b6 refactor: convert `run_read_window_aggregate_test_case` to a function 2021-09-22 13:46:54 +02:00
Marco Neumann b24be8d17d refactor: convert `run_field_columns_test_case` to a function 2021-09-22 13:46:54 +02:00
Marco Neumann 6ef8c11036 refactor: convert `run_table_schema_test_case` to a function 2021-09-22 13:46:54 +02:00
Marco Neumann 70a754a022 refactor: convert `run_sql_test_case` macro to a function
This generated less code and speeds up compilation a bit.
2021-09-22 13:46:53 +02:00
Andrew Lamb 4ed15976de
feat: Add support for custom tracing header name via JAEGER_TRACE_CONTEXT_HEADER_NAME (#2591)
* feat: Add support for custom tracing header name via JAEGER_TRACE_CONTEXT_HEADER_NAME

* test: end to end test

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-22 11:12:06 +00:00
Andrew Lamb d38648952c
chore: Update datafusion (#2602)
* chore: Update datafusion + other deps

* refactor: update query crate for new async interfaces

* refactor: update server crate for new async interface

* refactor: update query_tests crate for new async interfaces

* refactor: update ioxd and server to use new async interface

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-09-22 10:33:25 +00:00
kodiakhq[bot] 4c6c886015
Merge pull request #2608 from influxdata/crepererum/cleanup_deps
chore: clean up dependencies a bit
2021-09-22 10:14:50 +00:00
Marco Neumann 24c1563535 chore: remove unused `generated_types` => `futures` dep 2021-09-22 11:34:36 +02:00
Marco Neumann 26edaa4d42 chore: `generated_types` uses `num_cpus` only for tests 2021-09-22 11:31:22 +02:00
Marco Neumann 16a257e7b9 chore: remove unused `generated_types` => `serde_json` dep 2021-09-22 11:19:19 +02:00
Marco Neumann 9cdd4799c7 chore: `object_store` needs `reqwest` only for azure 2021-09-22 11:16:00 +02:00
Marco Neumann d7b697dfe9 chore: remove unused `object_store` => `tracker` dep 2021-09-22 11:13:40 +02:00
Marco Neumann 07a72a1daa chore: tell cargo-udeps that `dotenv` is needed for `write_buffer` 2021-09-22 11:09:39 +02:00
Marco Neumann 5a2ee5c385 chore: remove unused `internal_types` => `observability_deps` dep 2021-09-22 11:09:06 +02:00
Marco Neumann a9662b0edb chore: remove unused `mutable_buffer` => `influxdb_line_protocol` dep 2021-09-22 10:56:15 +02:00
Marco Neumann 0d7bb69dd3 feat: teach `Db` to preserve delete predicates 2021-09-22 09:43:37 +02:00
Marco Neumann 981ee0c6df refactor: accept unknown chunks in persisted delete predicates
Due to the timing of the "persist" lifecycle action and that delete
predicates might arrive at any time + the fact that we don't wanna hold
transaction locks for too long, we should accept delete predicates for
chunks that are currently "persisting" even though that lifecycle action
might fail.
2021-09-22 09:29:50 +02:00
Nga Tran ae40d93af4 test: more delete tests 2021-09-21 18:10:12 -04:00
kodiakhq[bot] cbb2f38b1f
Merge pull request #2605 from influxdata/ntran/optimize_scan_without_delete
feat: optimize scan for chunks without delete preidcates and without the need to sort output
2021-09-21 20:59:17 +00:00
Nga Tran 0fc2567161 refactor: address review comment 2021-09-21 16:50:29 -04:00
Nga Tran 4da6044fa6 test: more thorough en to end test 2021-09-21 16:42:53 -04:00
Nga Tran 788fda351f test: more thorough en to end test 2021-09-21 16:42:06 -04:00
Nga Tran a06afb3932 feat: optimize scan for chunks without delete preidcates and without the need to sort output 2021-09-21 15:56:19 -04:00
kodiakhq[bot] 6d38eaaad7
Merge pull request #2604 from influxdata/ntran/delete_tests_on
test: turn all delete tests on
2021-09-21 19:32:49 +00:00
Nga Tran b4b33c378e test: turn all delete tests on 2021-09-21 15:23:41 -04:00
kodiakhq[bot] 4b0d6a8b08
Merge pull request #2601 from influxdata/ntran/delete_more_tests
fix: All chunks now are applied delete predicates during scan
2021-09-21 18:57:10 +00:00
kodiakhq[bot] 91ce46576c
Merge branch 'main' into ntran/delete_more_tests 2021-09-21 18:47:37 +00:00