Commit Graph

2105 Commits (585213e51f86fdde401402a902b2fecebd5424f7)

Author SHA1 Message Date
Edd Robinson 585213e51f refactor: return error for wrong group columns 2021-03-23 14:41:06 +00:00
Edd Robinson cadc92dac9 refactor: remove dead code 2021-03-22 20:47:48 +00:00
Edd Robinson 300ac2e411 refactor: simplify aggregate_columns 2021-03-22 20:47:48 +00:00
Edd Robinson dd0ab422d2 refactor: remove redundant type 2021-03-22 20:47:48 +00:00
Edd Robinson dea4f1c451 refactor: remove type from row_group 2021-03-22 20:47:48 +00:00
kodiakhq[bot] 9817dbef2f
Merge pull request #1017 from influxdata/cn/check-in-flatbuffers
chore: Upgrade flatbuffers and check in generated code
2021-03-22 19:23:48 +00:00
kodiakhq[bot] 778007a951
Merge branch 'main' into cn/check-in-flatbuffers 2021-03-22 19:10:17 +00:00
Edd Robinson dfd39cfce6 refactor: apply suggestions from code review
Co-authored-by: Andrew Lamb <alamb@influxdata.com>
2021-03-22 16:15:49 +00:00
Edd Robinson 3e9b2fff5c refactor: Update read_buffer/src/row_group.rs
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-22 16:15:49 +00:00
Edd Robinson ce55dd7ce3 refactor: update read_buffer/src/row_group.rs
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-22 16:15:49 +00:00
Edd Robinson b44dc7d9a1 refactor: update read_buffer/src/value.rs
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-22 16:15:49 +00:00
Edd Robinson 326016966f refactor: update read_buffer/src/row_group.rs
Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-22 16:15:49 +00:00
Edd Robinson ffa06e4f0e test: more test coverage 2021-03-22 16:15:49 +00:00
Edd Robinson e5f7cc143a refactor: use AggregateVec for results 2021-03-22 16:15:49 +00:00
Edd Robinson 3725161fc3 refactor: use AggregateVec on rle grouping 2021-03-22 16:15:49 +00:00
Edd Robinson fd7cdc4fa4 refactor: remove single column group_by 2021-03-22 16:15:49 +00:00
Edd Robinson 9c48cebf78 refactor: column-wise aggregates 2021-03-22 16:15:49 +00:00
Edd Robinson d88e20c7fe fix: fix bad expected cardinality 2021-03-22 16:15:49 +00:00
Marko Mikulicic 2242206b28 fix(ci): Pass debuginfo=1 to have line numbers in tracebacks 2021-03-22 13:58:57 +00:00
Carol (Nichols || Goulding) 13437c9d73 docs: Reference docs on generated flatbuffers in CONTRIBUTING.md 2021-03-22 09:46:39 -04:00
Carol (Nichols || Goulding) 5d497b77f3 feat: Mark the checked-in flatbuffers code as generated 2021-03-22 09:38:59 -04:00
Carol (Nichols || Goulding) 08727732cc fix: Remove more flatc 2021-03-22 09:38:59 -04:00
Carol (Nichols || Goulding) c47a252c15 feat: Check in generated WAL flatbuffers code 2021-03-22 09:38:59 -04:00
Carol (Nichols || Goulding) e463d7b8e2 fix: Update flatc used in the CI Docker image 2021-03-22 09:38:59 -04:00
Carol (Nichols || Goulding) 52e415ae1b fix: Verify flatbuffers when restoring from a file, and not after that 2021-03-22 09:38:59 -04:00
Carol (Nichols || Goulding) 7c6f543d35 fix: wb::ColumnValue is now a set of associated consts, not a real Rust enum 2021-03-22 09:38:58 -04:00
Carol (Nichols || Goulding) 24af745b23 chore: Upgrade to flatbuffers 0.8 2021-03-22 09:38:58 -04:00
Carol (Nichols || Goulding) aa6c21141b docs: Necessary to build flatc from source now 2021-03-22 09:38:58 -04:00
Raphael Taylor-Davies 13b97cc31d
chore: use lld on linux (#1022)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-22 10:13:43 +00:00
Raphael Taylor-Davies a19c1cd3d6
chore: install lld in CI image and remove musl (#1024)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-19 17:38:45 +00:00
Marko Mikulicic 7f9bb1dbc2 chore: Add debuginfo=0 to CI builds 2021-03-19 17:12:26 +00:00
Andrew Lamb 6e1795fda0
refactor: Move some types (not yet exposed to clients) into internal_types (#1015)
* refactor: Move some types (not yet exposed to clients) into internal_types

* docs: Add README.md explaining the rationale

* refactor: remove some stragglers

* fix: fix benches

* fix: Apply suggestions from code review

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>

* fix: add clippy lints

* fix: fmt

* docs: Apply suggestions from code review

fix typos

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-19 16:27:57 +00:00
Raphael Taylor-Davies 7e6c6d67b4
feat: graceful shutdown (#827) (#1018)
* feat: graceful shutdown (#827)

* chore: additional docs

* chore: further docs

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-19 15:36:49 +00:00
kodiakhq[bot] 33468698c9
Merge pull request #1021 from influxdata/alamb/fix_compiler_arm64
fix: remove unneeded cpu feature check
2021-03-19 14:50:35 +00:00
Andrew Lamb eca9ef7bdd fix: remove unneded cpu feature check 2021-03-19 09:40:39 -04:00
Andrew Lamb 0c383b27ac
chore: Improve use of logging macros in storage service (#1011) 2021-03-18 12:47:57 +00:00
Raphael Taylor-Davies dd94a33bc7
feat: retain limited tracker history (#1005) 2021-03-17 16:32:34 +00:00
Andrew Lamb 3a53923684
feat: Management API + CLI command to close a chunk and move to read buffer (#1002)
* feat: Management API + CLI command to close a  chunk and move to read buffer

* refactor: Less copy-pasta

* fix: track only once, use `let _` instead of `.ok()`

* docs: Apply suggestions from code review

fix comments ( 🤦‍♀️  for copy/pasta)

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>

* docs: Update server/src/lib.rs

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>

* refactor: Use DatabaseName rather than impl Into<String>

* fix: Fixup logical merge conflicts

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-17 15:25:27 +00:00
Raphael Taylor-Davies 1fee56274b
fix: prevent observing inconsistent tracker states (#994)
* fix: prevent observing inconsistent tracker states

* feat: further tracker docs

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-17 14:28:54 +00:00
Raphael Taylor-Davies 4b98d19d70
refactor: remove interior mutability from TrackerRegistry (#1004)
* refactor: remove interior mutability from TrackerRegistry

* fix: don't hold mutex across await point

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-17 12:58:27 +00:00
kodiakhq[bot] 580298e0b2
Merge pull request #1003 from influxdata/alamb/update_arrow
chore: update deps (including arrow)
2021-03-16 22:40:30 +00:00
Andrew Lamb 2f77090ecf fix: clippy/fmt 2021-03-16 18:16:48 -04:00
Andrew Lamb 72eff5eed5 chore: update deps (including arrow) 2021-03-16 18:15:44 -04:00
Andrew Lamb ef9c3f3d8f
feat: Management API + CLI command to list chunks in a partition (#995)
* feat: Management API + CLI command to list chunks in a partition

For ease of use

* refactor: remove unecessary Result
2021-03-16 20:10:55 +00:00
Raphael Taylor-Davies 3fe1b8c5b7
feat: add longrunning operations client (#981)
refactor: add separate format feature influxdb_iox_client

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-16 13:19:44 +00:00
Aakash Hemadri 9c112b9872
feat: Add support for ready API to influxdb_client (#999)
Get the readiness of an instance at startup

Signed-off-by: Aakash Hemadri <aakashhemadri123@gmail.com>

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-16 13:06:20 +00:00
Andrew Lamb 51304fd138
docs: Add README for influxdb_client (#996)
* docs: Add README for influxdb_client

* docs: Update influxdb2_client/README.md

Co-authored-by: Paul Dix <paul@influxdata.com>

* docs: Apply suggestions from code review

Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>

Co-authored-by: Paul Dix <paul@influxdata.com>
Co-authored-by: Raphael Taylor-Davies <1781103+tustvold@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-16 12:53:01 +00:00
Andrew Lamb a3c146a38e
docs: Update README.md to refer to the command and CLI help (#982)
* docs: Update README.md to refer to the command and CLI help

* docs: Apply suggestions from code review

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
2021-03-16 12:40:40 +00:00
Marko Mikulicic 58b01b4ad3 fix: Add ca-certificates to iox docker image 2021-03-15 16:53:42 +00:00
Andrew Lamb 4781317647
feat: Management API + CLI command to create a new chunk (rollover partition) (#990)
* feat: Management API + CLI command to create a new chunk (rollover partition)

* fix: Update tests/end_to_end_cases/management_api.rs

fix typo

* fix: logical merge conflict

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-03-15 16:41:18 +00:00