Commit Graph

2339 Commits (31115742ecc2b6e23593024dc4fe9d9d45bd293e)

Author SHA1 Message Date
Andrew Lamb 03c446ed43
feat: add line protocol ingest metrics (#1119)
* feat: add line protocol ingest metrics

* fix: ensure tests pass correctly when run multi-threaded

* refactor: remove uneeded change

* fix: Add tags to metrics, improve test

* refactor: use global `Counter`

* refactor: move metrics to crate wide struct

* fix: fix test
2021-04-07 21:49:02 +00:00
kodiakhq[bot] d59c5de39a
Merge pull request #1093 from influxdata/cn/influxdb2-integration-tests
chore: Add integration tests for influxdb2_client against InfluxDB 2.0 OSS
2021-04-07 19:42:26 +00:00
Carol (Nichols || Goulding) 7789d776cb docs: Fix copypasta comment 2021-04-07 14:11:02 -04:00
Carol (Nichols || Goulding) 07ce5efcb8 chore: Set up CI for running integration tests against InfluxDB 2.0 OSS 2021-04-07 14:11:02 -04:00
Carol (Nichols || Goulding) 4f627e0560 fix: Onboarding returns 201, not 200 2021-04-07 14:11:02 -04:00
Carol (Nichols || Goulding) 27a45aa036 fix: Don't send auth header if token specified is empty string
Not all endpoints need authorization, sometimes we don't have it!
2021-04-07 14:11:00 -04:00
Carol (Nichols || Goulding) ebb6bbd13c test: start of integration tests of influxdb2 client against influxdb 2.0 OSS 2021-04-07 14:09:39 -04:00
Carol (Nichols || Goulding) 39c07829bd chore: Remove outdated documentation about testing iox client crate
Looks like the type of integration testing referenced in the docs
deleted here was removed in 51981c9.
2021-04-07 14:09:39 -04:00
kodiakhq[bot] 21f3775016
Merge pull request #1120 from influxdata/cn/no-more-test-results
fix: Don't return Result from test functions
2021-04-07 16:49:13 +00:00
kodiakhq[bot] 319e66706e
Merge branch 'main' into cn/no-more-test-results 2021-04-07 16:45:32 +00:00
Carol (Nichols || Goulding) 82588d5c72 fix: Don't return Result from test functions 2021-04-07 12:40:00 -04:00
Raphael Taylor-Davies c2355aca6d
feat: add basic memory tracking (#1125)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-04-07 15:38:24 +00:00
Marko Mikulicic bdbef87064 feat: Return newline delimited database names in database list
Rationale: it's easier to work with a newline separated list of names, rather than a comma separated one.
You can `head`, or `tail` or `| while read i; do ...`, or just copy paste it and manipulate it around more easily.
2021-04-07 14:01:37 +00:00
Edd Robinson 9e1068b7de refactor: db to return usize 2021-04-07 13:27:41 +00:00
Edd Robinson cab7d1d1fe refactor: chunk size to return usize 2021-04-07 13:27:41 +00:00
Edd Robinson 7dd5924059 refactor: table size to return usize 2021-04-07 13:27:41 +00:00
Edd Robinson b867599fce refactor: row group size to return usize 2021-04-07 13:27:41 +00:00
Edd Robinson 40abe24123 refactor: encoding size to return usize 2021-04-07 13:27:41 +00:00
David Norton 360057b504
chore: update tech talk links in README (#1138) 2021-04-07 12:09:43 +00:00
Edd Robinson 3769ad3d21 test: update test 2021-04-07 10:46:08 +00:00
Edd Robinson ea2c882635 refactor: tidy up 2021-04-07 10:46:08 +00:00
Edd Robinson b524b4411e test: move test for table_summaries into chunk 2021-04-07 10:46:08 +00:00
Edd Robinson a662d5e180 refactor: expose column_values at chunk level 2021-04-07 10:46:08 +00:00
Edd Robinson 7bee168752 refactor: chunk upsert does not need &mut 2021-04-07 10:46:08 +00:00
Edd Robinson e8ff86279f refactor: move column_names to chunk level 2021-04-07 10:46:08 +00:00
Edd Robinson 03b72cc80d feat: add chunk predicate check 2021-04-07 10:46:08 +00:00
Edd Robinson c2e0c80f8c refactor: expose read_filter at chunk level 2021-04-07 10:46:08 +00:00
Edd Robinson bc3560af8c test: add coverage for has_table 2021-04-07 10:46:08 +00:00
Edd Robinson 0c32cb48c7 feat: add read_filter schema method 2021-04-07 10:46:08 +00:00
Edd Robinson d39fe8abf8 refactor: add ability to upsert table 2021-04-07 10:46:08 +00:00
Edd Robinson 2129c2a725 refactor: make some methods crate-visible 2021-04-07 10:46:08 +00:00
Edd Robinson 5eea06c9b3 refactor: allow empty chunks 2021-04-07 10:46:08 +00:00
Marko Mikulicic 82ed5d1708 fix: Deep clone small results over flight
Workaround for #1133
2021-04-07 10:41:29 +00:00
kodiakhq[bot] ba2ac64f80
Merge pull request #1122 from influxdata/pd-lp-to-entry
feat: implement line protocol to flatbuffers
2021-04-06 22:57:17 +00:00
Paul Dix 531ffe7ab0 chore: fix fmt and add comment to entry.fbs 2021-04-06 18:53:22 -04:00
Paul Dix a7659addbe chore: cleanup entry.rs based on PR feedback and add better errors 2021-04-06 17:56:58 -04:00
Paul Dix 2a134a3ac1 feat: implment line protocol to flatbuffers
This implements a builder for converting line protocol to the Entry flatbuffers. It also contains wrapper structs to make working with the flatbuffers a little easier.

The flatbuffer needed an addition to keep track of how many bits in the null mask should be used.
2021-04-06 17:56:56 -04:00
Raphael Taylor-Davies d4c090cb84
refactor: extract OnceNonZeroU32 (#1134) 2021-04-06 21:38:04 +00:00
Andrew Lamb 864f9bcd35
fix: avoid spamming the logs with errors that are not errors (#1129)
* fix: avoid spamming the logs with errors that are not errors

* fix: make it compile

* fix: change to warning, add database name

* fix: include buffer_size and soft_limit as well

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-04-06 20:21:56 +00:00
Raphael Taylor-Davies ef2dc952e1
feat: write once writer id (#1131)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-04-06 17:51:57 +00:00
Raphael Taylor-Davies bef1bd2076
fix: disable minimum age by default (#1128) 2021-04-06 16:55:08 +00:00
Raphael Taylor-Davies 5cd1d6691d
refactor: use DatabaseName in DatabaseRules (#1127) 2021-04-06 13:26:30 +00:00
Andrew Lamb 7cc9f06e74
chore: Update arrow / datafusion deps again (#1126)
* chore: Update arrow dependencies

* test: add test for SHOW COLUMNS

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-04-06 12:41:41 +00:00
Raphael Taylor-Davies 9a2e636d8c
refactor: move tracking utilities into separate crate (#1124) 2021-04-06 11:43:11 +00:00
Aakash Hemadri fe19e3b3ae
fix: Misplaced annotations
fix: Unnecessary escaped characters in comments

Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>
2021-04-06 15:47:34 +05:30
kodiakhq[bot] 081c208ad3
Merge pull request #1112 from influxdata/ntran/write_parquet_3
feat: continue building foundation for writing RB chunks to parquet files
2021-04-05 20:46:18 +00:00
kodiakhq[bot] 872be9097c
Merge branch 'main' into ntran/write_parquet_3 2021-04-05 20:42:08 +00:00
Nga Tran 6e01fbc382 feat: ause TableSummary as metadata for parquet chunk's tables and read buffer's read_filter ot get data 2021-04-05 15:37:34 -04:00
Carol (Nichols || Goulding) 4e25147062
docs: Codify our preference for no return type in test functions (#1116)
* docs: Copy edit existing style guide

I can't help myself.

* docs: Codify our preference for no return type in test functions
2021-04-05 18:12:51 +00:00
kodiakhq[bot] 978d9066e3
Merge pull request #1115 from influxdata/cn/remove-gha
chore: Remove GitHub Actions config
2021-04-05 15:03:54 +00:00