Commit Graph

4161 Commits (0fe8eda89e66c849e20c04f0fb90e4d3e4879663)

Author SHA1 Message Date
Marco Neumann 0fe8eda89e refactor: move lifecycle policy into Db struct 2021-08-04 11:33:47 +02:00
Marco Neumann 6f163aba13 fix: remove unnecessary Copy requirement for Debug 2021-08-04 11:33:46 +02:00
Marco Neumann d1a4584dfc feat: easy way to suppress persitence from lifecycle policy 2021-08-04 11:33:46 +02:00
Jacob Marble 98d4c9fca1
feat: switch protobuf write service to canonical definition (#2182)
* feat: switch protobuf write service to canonical definition

The protobuf definition used for the proto write endpoint was a WIP. Now
that a canonical definition exists at
https://github.com/influxdata/influxdb-pb-data-protocol/ we can switch
to that.

* chore: lint etc

* chore: fix rustdoc nit in proto definition comment
2021-08-04 00:16:49 +00:00
kodiakhq[bot] e3e32ccbcc
Merge pull request #2178 from influxdata/crepererum/fix_yesno_flag
fix: fix skip replay env flag
2021-08-03 16:19:55 +00:00
Marco Neumann 12b8074d9d fix: doc link 2021-08-03 18:11:21 +02:00
Marco Neumann c91cb041e7 fix: env prefix 2021-08-03 17:34:59 +02:00
Marco Neumann 1276aa4d66 fix: fix skip replay env flag 2021-08-03 17:28:41 +02:00
Raphael Taylor-Davies ffb36cd50c
refactor: extract ApplicationState from Server (#2167)
* refactor: extract Application from Server

* chore: review feedback
2021-08-03 09:36:55 +00:00
kodiakhq[bot] e9bcc01d5c
Merge pull request #2171 from influxdata/crepererum/issue2169
feat: add flag to skip replay
2021-08-03 07:52:09 +00:00
kodiakhq[bot] fa67dd4886
Merge branch 'main' into crepererum/issue2169 2021-08-03 07:45:01 +00:00
Marco Neumann f504d6002a docs: error handling for `seek_to_end` 2021-08-03 09:40:40 +02:00
kodiakhq[bot] 24666e9bf2
Merge pull request #2173 from influxdata/cn/better-error
fix: Return a more helpful error message for no matching sharding rule
2021-08-02 21:04:05 +00:00
Carol (Nichols || Goulding) 9864c6b7f1 fix: Return a more helpful error message for no matching sharding rule
Fixes #2127.
2021-08-02 16:49:40 -04:00
Raphael Taylor-Davies ac67caf7a1
refactor: rename ReadLock to Freezable (#2145)
* refactor: rename ReadLock to Freezable and make exclusive

* chore: review feedback
2021-08-02 16:21:22 +00:00
Marco Neumann c912e91c95 feat: add flag to skip replay
Closes #2169.
2021-08-02 18:14:19 +02:00
Raphael Taylor-Davies 54af62b8b6
fix: server shutdown (#2165)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-02 16:10:36 +00:00
Andrew Lamb bb8021d9fd
fix: "Can not convert index to usize in dictionary of type creating group by value Int32" (#2151)
* test: add reproducer for index error

* chore: update datafusion
2021-08-02 12:20:41 +00:00
Andrew Lamb 1ccaa433e8
fix: Temporarily disable parquet predicate pushdown (#2164) 2021-07-30 20:24:30 +00:00
Andrew Lamb 096281bbc4
fix: set distinct count for all entirely null columns to 1 (#2160)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-30 17:17:10 +00:00
kodiakhq[bot] 81ef17b02e
Merge pull request #2161 from influxdata/cn/1.54
feat: Upgrade to Rust 1.54
2021-07-30 17:08:54 +00:00
kodiakhq[bot] 0297aae17e
Merge branch 'main' into cn/1.54 2021-07-30 17:01:37 +00:00
Jacob Marble 8f05569007
test: add Flight/handshake test (#2156) 2021-07-30 15:43:28 +00:00
Andrew Lamb 248ae08343
fix(read_buffer): Avoid panic when creating stats for entirely null columns (#2159) 2021-07-30 14:59:18 +00:00
Carol (Nichols || Goulding) 9d15798288 fix: Address or allow Clippy warnings new with Rust 1.54 2021-07-30 09:59:59 -04:00
Andrew Lamb 7ca31703a4
feat: Attempt to dump a stacktrace to stderr prior to process abort on SIGSEGV/SIGILL/SIGBUS (#2155)
* feat: Attempt to dump a stacktrace to stdout prior to process abort

* refactor: rewrite signal handling in terms of libc, remove sig dep

* refactor: print to stderr

* fix: Update src/main.rs

* docs: note provenance
2021-07-30 11:58:28 +00:00
Carol (Nichols || Goulding) edd2cea7a6 fix: Run rustfmt with Rust 1.54 2021-07-29 21:08:12 -04:00
Carol (Nichols || Goulding) 49a4dd0125 feat: Upgrade to Rust 1.54 2021-07-29 21:07:43 -04:00
Andrew Lamb 21270b7072
chore: update dependencies (#2152)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-29 18:17:39 +00:00
kodiakhq[bot] dcd235b9e3
Merge pull request #2141 from influxdata/ntran/sort_scan
feat: add sort option while building scan plan  to avoid extra sort during compaction
2021-07-29 17:54:09 +00:00
kodiakhq[bot] b5b999c0f8
Merge branch 'main' into ntran/sort_scan 2021-07-29 17:46:42 +00:00
Nga Tran e8828c22e4 refactor: address review comments 2021-07-29 13:38:42 -04:00
kodiakhq[bot] 6df855d98a
Merge pull request #2123 from influxdata/cn/cc-only
refactor: make CatalogChunk (almost) only place that cares about first/last write times
2021-07-29 17:25:02 +00:00
kodiakhq[bot] 545222303f
Merge branch 'main' into cn/cc-only 2021-07-29 17:18:16 +00:00
kodiakhq[bot] e51e04159b
Merge pull request #2148 from influxdata/snappy
feat(iox): Enable snappy compression in the producer
2021-07-29 14:48:36 +00:00
Marko Mikulicic 99b358d481
feat(iox): Enable snappy compression in the producer 2021-07-29 16:37:11 +02:00
Carol (Nichols || Goulding) 79a04f861f refactor: Take chunk and write time when creating a new MUB chunk
This makes it more consistent with the API of creating a new read buffer
chunk and a new object store chunk.
2021-07-29 10:11:50 -04:00
Raphael Taylor-Davies 431774c8b7
refactor: extract resolver from server::Config (#2143)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-29 13:14:58 +00:00
Raphael Taylor-Davies 336ff30484
refactor: make server fields private (#2144)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-29 13:06:05 +00:00
Raphael Taylor-Davies df3b162475
refactor: move connection manager to separate module (#2142)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-29 12:58:15 +00:00
Nga Tran 0d05ac3961 feat: add sort option while building scan plan to avoid extra sort during compaction 2021-07-28 17:32:01 -04:00
Andrew Lamb 4a44b14d4d
fix: use avx2 (#2140) 2021-07-28 20:58:38 +00:00
Edd Robinson 287d501aa2
chore: build with avx512 instructions (#2118)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-07-28 19:47:37 +00:00
Andrew Lamb e6cbd4d217
feat: Use statistics for count(*) queries (#2038)
* feat: Use statistics for count(*) queries

* docs: fix mangled comment

* refactor: rewrite to use fold

* refactor: use sort_by_cached_key

* fix: set null count properly

* fix: fmt + clippy
2021-07-28 19:39:41 +00:00
Carol (Nichols || Goulding) 8ee02bf5ce docs: Fix copypasta in doc comment 2021-07-28 15:27:23 -04:00
Carol (Nichols || Goulding) ad0a9549de fix: Avoid an unnecessary parsing of iox metadata
In one case where ParquetChunk::new was being called, the calling code
had just parsed the IoxMetadata too. In the other case, the calling code
had just *created* the IoxMetadata being parsed. In both cases, this
re-parsing wasn't actually needed; the two bits of info
ParquetChunk::new can be easily passed in.
2021-07-28 14:25:56 -04:00
Carol (Nichols || Goulding) a1e2ce77f0 refactor: Remove TableSummaryAndTimes type 2021-07-28 14:12:58 -04:00
Carol (Nichols || Goulding) af7866a638 refactor: Remove first/last write times from ParquetFile chunks 2021-07-28 14:12:36 -04:00
kodiakhq[bot] 23a331b133
Merge pull request #2136 from influxdata/crepererum/more_replay_tests
fix: add more replay tests and sequence number collection for DB checkpoint
2021-07-28 15:47:03 +00:00
kodiakhq[bot] 37ad49fe77
Merge branch 'main' into crepererum/more_replay_tests 2021-07-28 15:39:42 +00:00