Commit Graph

3040 Commits (bba387d6fff2aea0f4d929d428041158c15989bc)

Author SHA1 Message Date
Edd Robinson bba387d6ff refactor: fix benchmarks 2021-05-27 14:35:34 +01:00
Edd Robinson 7ab27c4468 refactor: get build 2021-05-27 14:35:34 +01:00
Edd Robinson 04513e737d refactor: define encodings wrt to scalar encoding trait 2021-05-27 14:35:34 +01:00
Edd Robinson 22f8a8a4a1 refactor: define scalar encoding in terms of trait 2021-05-27 14:35:34 +01:00
Edd Robinson c84d50447c feat: define a Transcoder trait 2021-05-27 14:35:34 +01:00
Edd Robinson a81ada6140 feat: add transcoder trait 2021-05-27 14:35:34 +01:00
Raphael Taylor-Davies 5d342d7779
feat: associate tracker with lifecycle action (#1099) (#1556)
* feat: associate tracker with lifecycle action (#1099)

* chore: docs

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-05-27 10:47:35 +00:00
kodiakhq[bot] d2806164b9
Merge pull request #1564 from influxdata/crepererum/extend_aws_support
feat: extend AWS configs for prod and test
2021-05-27 10:42:37 +00:00
kodiakhq[bot] 11b97a25b2
Merge branch 'main' into crepererum/extend_aws_support 2021-05-27 10:37:33 +00:00
Raphael Taylor-Davies 792bff07d1
feat: only store ChunkSnapshot in Closed state (#1560)
* feat: only store ChunkSnapshot in Closed state

* chore: review feedback

* feat: record MUB size as closed size

* chore: document column ordering assumption

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-05-27 10:36:47 +00:00
Raphael Taylor-Davies 4fcc04e6c9
chore: enable arrow prettyprint feature (#1566) 2021-05-27 10:28:14 +00:00
Marco Neumann 1cbe4031d3 feat: allow passing a session token to AWS stores 2021-05-27 11:53:12 +02:00
Marco Neumann d5df7c381a test: accept optional `AWS_ENDPOINT` for OS tests 2021-05-26 18:14:58 +02:00
kodiakhq[bot] 0c6277c2e9
Merge pull request #1554 from influxdata/crepererum/issue1313
feat: add background task to clean up OS
2021-05-26 14:51:29 +00:00
kodiakhq[bot] efe077da8f
Merge branch 'main' into crepererum/issue1313 2021-05-26 14:46:18 +00:00
Marco Neumann 9f451423d5 feat: log files that are deleted 2021-05-26 12:49:44 +02:00
Marco Neumann 24ec1a472e fix: do NOT delete parquet files that are reachable by time travel 2021-05-26 12:38:54 +02:00
Raphael Taylor-Davies c03b8a3963
refactor: remove tables from ChunkSnapshot (#1295) (#1558) 2021-05-26 10:37:40 +00:00
Marco Neumann 1fb6af2364 refactor: split DB background loop into lifecycle and cleanup
This should prevent one from blocking / stalling the other.
2021-05-26 11:09:30 +02:00
Marco Neumann 5983336366 refactor: rename `parquet_file::{utils => test_utils}` 2021-05-26 11:09:29 +02:00
Marco Neumann d7e3bc569e refactor: shorten time we hold the transaction lock during clean-up 2021-05-26 11:04:57 +02:00
Marco Neumann 18f5dd9ae1 test: ensure transaction lock exists during cleanup planning 2021-05-26 11:04:57 +02:00
Marco Neumann b55eae98da fix: do not delete non-parquet files during catalog-driven cleanup 2021-05-26 11:04:57 +02:00
Marco Neumann 5ed16ff294 refactor: improve error message in `parquet_file::cleanup` 2021-05-26 11:04:57 +02:00
Marco Neumann dd6bbeec42 feat: add background task to clean up OS
Closes #1313.
2021-05-26 11:04:56 +02:00
Marco Neumann 14fdf3b7c7 feat: implement object store cleanup core routine 2021-05-26 11:02:40 +02:00
Marco Neumann cc78b5317d feat: add method to get all parquet files from catalog state 2021-05-26 11:02:40 +02:00
Marco Neumann 953114af2e feat: add method to abort catalog transaction 2021-05-26 11:02:40 +02:00
Marco Neumann 92fcd7e940 feat: add a way to get OS, server ID and DB name from catalog 2021-05-26 11:02:40 +02:00
Marco Neumann 9daa4d00d6 test: re-organize `parquet_file` test utils a bit 2021-05-26 11:02:39 +02:00
Marco Neumann 38183928c8 refactor: extract path generator for data location 2021-05-26 10:59:40 +02:00
kodiakhq[bot] 4d808f9bdd
Merge pull request #1531 from influxdata/crepererum/in_file_metadata
feat: preserve transaction metadata in parquets
2021-05-26 07:44:54 +00:00
kodiakhq[bot] 166851d952
Merge branch 'main' into crepererum/in_file_metadata 2021-05-26 07:39:53 +00:00
Andrew Lamb 638d754e0f
chore: Update datafusion + other deps (#1557) 2021-05-25 22:32:14 +00:00
kodiakhq[bot] 4fa073af4c
Merge pull request #1555 from influxdata/simpler_routing_config
feat: Add simpler RoutingConfig
2021-05-25 19:56:21 +00:00
Marko Mikulicic bae5e5aee3
feat: Add simpler RoutingConfig 2021-05-25 21:51:54 +02:00
kodiakhq[bot] ba83ebe35c
Merge pull request #1542 from influxdata/serving_status
feat: Implement service readiness API
2021-05-25 14:14:24 +00:00
kodiakhq[bot] c01d3d44bf
Merge branch 'main' into serving_status 2021-05-25 14:08:46 +00:00
Raphael Taylor-Davies c2fd85209c
feat: wait for task shutdown on DedicatedExecutor (#1537) 2021-05-25 11:33:55 +00:00
kodiakhq[bot] 0a8ddc843d
Merge pull request #1551 from influxdata/fix-jemalloc-reporting
fix: Fix 'active' jemalloc stat misreporting
2021-05-25 08:42:56 +00:00
kodiakhq[bot] 7a475dc82a
Merge branch 'main' into fix-jemalloc-reporting 2021-05-25 08:38:37 +00:00
kodiakhq[bot] 7f4b181c67
Merge pull request #1552 from influxdata/jemalloc-config
feat: log jemalloc build conf
2021-05-25 08:38:09 +00:00
kodiakhq[bot] 3f8db50e04
Merge branch 'main' into jemalloc-config 2021-05-25 08:32:56 +00:00
kodiakhq[bot] 4a94963a4e
Merge pull request #1553 from influxdata/jemalloc-features
feat: Use jemalloc everywhere instead of malloc
2021-05-25 08:32:17 +00:00
Marco Neumann 19a2733d30 feat: preserve transaction metadata in parquets 2021-05-25 09:56:12 +02:00
Marco Neumann fe8e6301fe refactor: move `read_schema_from_parquet_metadata` back to `parquet_file::metadata`
Let us pool all metadata handling in a single module, which makes it
easier to review.
2021-05-25 09:37:53 +02:00
Marco Neumann ac83d99f66 feat: add a way to get current revision and UUID from transaction handle 2021-05-25 09:37:53 +02:00
Marco Neumann fdc553b257 refactor: replace unwrap with expect 2021-05-25 09:37:53 +02:00
Marko Mikulicic 0a37cb80f7
feat: Use jemalloc everywhere instead of malloc
There may be many reasons for the discrepancy in jemalloc reported allocations total sizes and RSS.
One of them is that our binary doesn't use jmalloc for all the allocations.

Turns out that jemallocator only sets the global rust allocator. Any call to `malloc` will still
go throught the system allocator. Presumably those calls come from linked C code,
but it's also not impossible that not all rust code honours the global allocator (I have no idea, but let's see)
2021-05-25 03:42:52 +02:00
Marko Mikulicic 7939d1f027
feat: log jemalloc build conf 2021-05-25 03:30:18 +02:00