Commit Graph

4273 Commits (b7b584b6f8912406e916d5bbf84ad26c570b4021)

Author SHA1 Message Date
Edd Robinson b7b584b6f8 test: ignore test_summaries test on aarch64 2021-08-12 12:12:54 +01:00
Edd Robinson 54d7b8cb98 test: ignore persistence window test on aarch64 2021-08-12 12:00:41 +01:00
Edd Robinson f82646e7f8 test: ignore failing tests on aarch64 2021-08-12 11:46:23 +01:00
kodiakhq[bot] 59f6b5f431
Merge pull request #2266 from influxdata/crepererum/improve_write_buffer_mocking
feat: ability to inject mocked write buffers into server/database
2021-08-12 10:07:33 +00:00
kodiakhq[bot] 7956729ffa
Merge branch 'main' into crepererum/improve_write_buffer_mocking 2021-08-12 10:00:19 +00:00
Marco Neumann 1eb6e1f7f2 refactor: write buffer mocking is only required for tests 2021-08-12 11:46:24 +02:00
Marco Neumann a72bacae67 test: use proper ignore instead of commenting out 2021-08-12 11:38:02 +02:00
kodiakhq[bot] a8322c0026
Merge pull request #2259 from influxdata/crepererum/database_creation_code_move
refactor: move database creation code around
2021-08-12 09:38:00 +00:00
kodiakhq[bot] c46c2a35fa
Merge branch 'main' into crepererum/database_creation_code_move 2021-08-12 09:30:33 +00:00
Andrew Lamb 34a1c1674f
chore: remove unused dependency (#2247)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-12 08:57:12 +00:00
Marco Neumann a5c74f2798 feat: ability to inject mocked write buffers into server/database 2021-08-12 10:46:16 +02:00
Marco Neumann 55f68f0401 feat: add `type_name` to write buffer interface 2021-08-12 10:46:16 +02:00
Marco Neumann 32a5c8ca3a feat: add ability to clear messages from mocked write buffers 2021-08-12 10:46:16 +02:00
kodiakhq[bot] 506c81eb57
Merge pull request #2265 from influxdata/crepererum/fix_doc_warnings
docs: fix warnings
2021-08-12 08:36:09 +00:00
Marco Neumann 7d105e9229 docs: fix warnings 2021-08-12 09:30:54 +02:00
Dom 3de6b44e23
build: use new rustdoc lint name (#2261)
* fix: nocache feature code rot

The MBChunk::snapshot code when using the "nocache" option no longer
compiles - this commit updates it to match the not(nocache) code.

* build: use updated broken_intra_doc_links name

The broken_intra_doc_links lint was renamed
rustdoc::broken_intra_doc_links

https://doc.rust-lang.org/rustdoc/lints.html
2021-08-11 19:48:51 +00:00
Marco Neumann 794a9c039d refactor: move database creation code around
Now all the code that is required to create a new database lives under
`server::database`, so it can easily be used for tests that don't
involve a server.
2021-08-11 18:44:55 +02:00
Andrew Lamb 98a19b5ca6
fix(mutable_buffer): Statistics incorrect when subset of columns is inserted (#2249)
* fix(mutable_buffer): Statistics incorrect when subset of columns is inserted

* docs: remove wild newline

* fix: clippy

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-11 13:00:14 +00:00
kodiakhq[bot] 38f94a3095
Merge pull request #2255 from influxdata/er/refactor/logs
refactor: remove logging
2021-08-11 08:43:20 +00:00
kodiakhq[bot] e11d4dd728
Merge branch 'main' into er/refactor/logs 2021-08-11 08:36:10 +00:00
kodiakhq[bot] 5d2c0f7fee
Merge pull request #2229 from influxdata/crepererum/issue2215
fix: always remember max seen sequ. numbers during replay
2021-08-11 08:35:07 +00:00
Marco Neumann 65b1ca2071 fix: also seed persistence windows when skipping replay 2021-08-11 10:27:52 +02:00
Marco Neumann 2082042626 test: do not wipe-on-error during tests 2021-08-11 10:27:51 +02:00
Marco Neumann 2eaf486eac fix: always remember max seen sequ. numbers during replay
Do not forget max seen sequence numbers for partition-sequencer
combinations that can be skipped during replay.

Fixes #2215.
2021-08-11 10:26:12 +02:00
kodiakhq[bot] 304901bf40
Merge branch 'main' into er/refactor/logs 2021-08-10 21:31:49 +00:00
Andrew Lamb 8626e9980b
docs: Add/update doccomments in the read_buffer (#2245)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-10 21:26:02 +00:00
Edd Robinson 289b511a5a
Merge branch 'main' into er/refactor/logs 2021-08-10 22:18:39 +01:00
Edd Robinson 5d5ed7d0db refactor: remove logging 2021-08-10 22:16:01 +01:00
Edd Robinson f8870968b9 refactor: reduce logging when creating RUB chunk 2021-08-10 22:11:10 +01:00
Andrew Lamb 0c300a4abb
fix: Handle all null columns in ColumnSummary::update_from (#2251) 2021-08-10 20:37:00 +00:00
kodiakhq[bot] 7504a16dbb
Merge pull request #2222 from influxdata/ntran/metrics_doc
docs: document Metrics
2021-08-10 19:38:46 +00:00
kodiakhq[bot] 28ba4cbe98
Merge branch 'main' into ntran/metrics_doc 2021-08-10 19:31:28 +00:00
Nga Tran 0a79afc8c0 docs: metrics 2021-08-10 15:30:17 -04:00
Andrew Lamb 126598a2e8
fix(read_buffer): Improve statistics update to handle nulls and prevent `panic`s (#2246)
* fix(read_buffer): Improve statistics update to handle nulls

* fix: clippy

* refactor: only compile test helpers with cfg(test)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-10 16:58:20 +00:00
Raphael Taylor-Davies 2344c28f4e
feat: drain database jobs on shutdown (#2239)
* feat: drain database jobs on shutdown

* chore: fmt

* chore: review feedback

* chore: use join() not member directly

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-10 16:47:37 +00:00
Luke Bond 5b9e1e3e74
Merge pull request #2244 from influxdata/chore/ci-build-update
chore: update image promotion script
2021-08-10 15:42:08 +01:00
Luke Bond 88e4bcd139
chore: update .circleci/get-deploy-tags.sh
Co-authored-by: Marko Mikulicic <mkm@influxdata.com>
2021-08-10 15:15:09 +01:00
Luke Bond 083423a629
chore: update image promotion script 2021-08-10 13:36:55 +01:00
Raphael Taylor-Davies 29ac62c6f8
fix: reduce flakiness of lock_tracker_metrics test (#2238)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-10 11:47:08 +00:00
kodiakhq[bot] b6364ec732
Merge pull request #2233 from influxdata/crepererum/issue2206
fix: incorrect speculation of post-persist sequence ranges
2021-08-10 09:50:07 +00:00
Marco Neumann 9bb0bbbe8f refactor: simplify new-min-time/flush-time handling in perstince windows a bit 2021-08-10 11:43:16 +02:00
Marco Neumann 0db3fdc05e docs: document `new_min_time_from_persistable` 2021-08-10 11:31:32 +02:00
Marco Neumann 4cf9244457 test: restore test assertions 2021-08-10 11:29:48 +02:00
Marco Neumann cd414f28ef fix: incorrect speculation of post-persist sequence ranges
This fixes an edge case where the speculated sequence ranges that can be
obtained from flush handles do not account for overlapping windows. The
symptom being that the resulting partition checkpoint marked sequence
numbers as unpersisted that where already persisted.

Fixes #2206.
2021-08-10 11:29:48 +02:00
Raphael Taylor-Davies cd5f4e1755
feat: background worker panic handling (#2091) (#2234)
* feat: worker panic handling (#2091)

* chore: add test comments

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-10 09:17:56 +00:00
Ning Sun 4c4bb1a93e
feat: add fmt::Display implementation for path data structs (#2223)
Signed-off-by: Ning Sun <sunng@protonmail.com>

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-09 18:09:09 +00:00
Raphael Taylor-Davies 564819d24f
feat: Server own background worker (#2232)
* feat: Server own background worker

* chore: fix shutdown

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-09 18:01:48 +00:00
kodiakhq[bot] 3bb4c1ae03
Merge pull request #2231 from influxdata/crepererum/gate_replay_plan_building
refactor: do not construct replay plan when skipping replay
2021-08-09 13:31:10 +00:00
Marco Neumann 4dcee10d1e refactor: do not construct replay plan when skipping replay
Up until now we only skipped the execution of the replay plan, not its
construction. The replay plan construction has some bugs left, so let's
move this part behind the toggle as well.
2021-08-09 15:23:39 +02:00
Raphael Taylor-Davies c11eb25d4e
feat: remove create_database_lock (#2227)
* feat: remove create_database_lock

* chore: review feedback

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2021-08-09 13:22:11 +00:00